Another small fix to IRQ/BRK handler.

This commit is contained in:
Bobbi Webber-Manners 2021-09-29 18:38:00 -04:00
parent e991df2fad
commit 1d33898a1f
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -398,10 +398,12 @@ IRQBRKHDLR PHA
AND #$10 AND #$10
BEQ :IRQ ; IRQ BEQ :IRQ ; IRQ
SEC SEC
LDA $0101,X INX
LDA $0100,X
SBC #$01 SBC #$01
STA FAULT STA FAULT
LDA $0102,X INX
LDA $0100,X
SBC #$00 SBC #$00
STA FAULT+1 STA FAULT+1
PLA PLA