mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-21 23:30:58 +00:00
c64: new wasm, show badlines
This commit is contained in:
parent
9345fad794
commit
f33dc817f3
BIN
res/c64.wasm
BIN
res/c64.wasm
Binary file not shown.
@ -415,7 +415,7 @@ export abstract class ProbeViewBaseBase {
|
||||
case ProbeFlags.IO_WRITE: return 0xc00180;
|
||||
case ProbeFlags.VRAM_READ: return 0x808001;
|
||||
case ProbeFlags.VRAM_WRITE: return 0x4080c0;
|
||||
case ProbeFlags.INTERRUPT: return 0xcfcfcf;
|
||||
case ProbeFlags.INTERRUPT: return 0x3fbf3f;
|
||||
case ProbeFlags.ILLEGAL: return 0x3f3fff;
|
||||
default: return 0;
|
||||
}
|
||||
|
@ -138,6 +138,7 @@ class JSNESPlatform extends Base6502Platform implements Platform, Probeable {
|
||||
// insert debug hook
|
||||
this.nes.cpu._emulate = this.nes.cpu.emulate;
|
||||
this.nes.cpu.emulate = () => {
|
||||
if (this.nes.cpu.irqRequested) this.probe.logInterrupt(this.nes.cpu.irqType || 0);
|
||||
this.probe.logExecute(this.nes.cpu.REG_PC+1, this.nes.cpu.REG_SP);
|
||||
var cycles = this.nes.cpu._emulate();
|
||||
this.evalDebugCondition();
|
||||
|
Loading…
Reference in New Issue
Block a user