gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 10cc14645a3830df30a19f52f58e4446972c6248 parent b421dac3e265fffee2405c32a1c0abe940db5ef0 Author: Michel Iwaniec <46843052+michel-iwaniec@users.noreply.github.com> Date: Sat, 26 Apr 2025 13:24:24 +0100 NES: Fix bug in ISR removal (#767) NES: Fix bug in ISR removal (#767) - Replace incorrect code copying jmp address's opcodes with the actual address Diffstat:
| M | gbdk-lib/libc/targets/mos6502/nes/lcd.s | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gbdk-lib/libc/targets/mos6502/nes/lcd.s b/gbdk-lib/libc/targets/mos6502/nes/lcd.s @@ -61,9 +61,9 @@ _remove_VBL:: .remove_common: ; Replace handler address with dummy address pointing to RTS instruction jsr .irq_call_disable - lda .rts_instruction + lda #<.rts_instruction sta .jmp_to_xyz_isr+1,y - lda .rts_instruction+1 + lda #>.rts_instruction sta .jmp_to_xyz_isr+2,y jsr .irq_call_restore .return_instruction:
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.