Added timer support to the PCx86 SerialPort component, so that we can honor the programmed baud rate now
This commit is contained in:
parent
6820d65c2d
commit
157319a355
9 changed files with 754 additions and 669 deletions
|
|
@ -416,7 +416,7 @@ class Video8080 extends Component {
|
|||
}
|
||||
|
||||
var video = this;
|
||||
this.timerUpdateNext = this.cpu.addTimer(function() {
|
||||
this.timerUpdateNext = this.cpu.addTimer(this.id, function() {
|
||||
video.updateScreen();
|
||||
});
|
||||
this.cpu.setTimer(this.timerUpdateNext, this.getRefreshTime());
|
||||
|
|
|
|||
Loading…
Reference in a new issue