We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56bb0e7 commit 440e71cCopy full SHA for 440e71c
js/System.js
@@ -6,7 +6,7 @@ export default class System {
6
const display = new Display(displaySource);
7
const audio = audioSource ? new Audio(audioSource) : null;
8
9
- this.clockRate = 250;
+ this.clockRate = 300;
10
this._pid = null;
11
this._cpu = new CPU(display, audio);
12
}
@@ -28,7 +28,7 @@ export default class System {
28
}, 1000/this.clockRate);
29
this._pid = window.setInterval(() => {
30
this._cpu.stepTimer();
31
- }, 1000/60);
+ }, 1000/60); // delay and sound timers run at fixed 60Hz
32
33
34
stop() {
0 commit comments