DylanSpeiser / Java-6502-Emulator

An emulator for Ben Eater's 65C02 computer written in Java.
47 stars 14 forks source link

interrupt request broken? (fixed) #15

Closed lythd closed 8 months ago

lythd commented 8 months ago

stepping through the clock nothing appears to be happening, i have irq and nmi point to the same place so it shouldn't even matter which gets triggered, and i tried both with clearing and with setting the irq-disable flag, nothing seems to be triggering. i tried both with keyboard mode to trigger and by pressing 'I'.

any ideas? (on latest version)

lythd commented 8 months ago

to add onto this, im not seeing any interrupt in verbose mode, and when using keyboard mode i dont see anything in 0x3ffff in ram

checked out the code and realised its modelled after the next episode where the interrupt goes through the chip, so i fixed it just had to write to the IER to enable it