1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-28 23:49:20 +00:00

updated c64/zx .wasm emulators

This commit is contained in:
Steven Hugg 2021-07-10 18:57:05 -05:00
parent 1b934eb32e
commit 58b49cb6f6
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -52,9 +52,9 @@ export class C64_WASMMachine extends BaseWASMMachine implements Machine, Probeab
var cmd = "SYS "+this.prgstart+"\r"; var cmd = "SYS "+this.prgstart+"\r";
for (var i=0; i<cmd.length; i++) { for (var i=0; i<cmd.length; i++) {
var key = cmd.charCodeAt(i); var key = cmd.charCodeAt(i);
this.exports.machine_exec(this.sys, 10000); this.exports.machine_exec(this.sys, 20000);
this.exports.machine_key_down(this.sys, key); this.exports.machine_key_down(this.sys, key);
this.exports.machine_exec(this.sys, 10000); this.exports.machine_exec(this.sys, 20000);
this.exports.machine_key_up(this.sys, key); this.exports.machine_key_up(this.sys, key);
} }
// advance clock until program starts // advance clock until program starts