gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 107b499eeb0294380da8d52a0b32429ea9c8601c parent a92b1d4c991e4b475a5d3404cfc2a0b8227af0b4 Author: Toxa <untoxa@mail.ru> Date: Mon, 11 Jul 2022 11:37:58 +0300 fix interrupt chain vector lengths. so: VBL: 4 user handlers, LCD: 3 user handlers, SIO, TIM, JOY: 4 user handlers. Diffstat:
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/gbdk-lib/libc/targets/sm83/ap/crt0.s b/gbdk-lib/libc/targets/sm83/ap/crt0.s @@ -341,7 +341,7 @@ __is_GBA:: _sys_time:: .ds 0x02 ; System time in VBL units .int_0x40:: - .blkw 0x0A ; 4 interrupt handlers (built-in + user-defined) + .blkw 0x06 ; 5 interrupt handlers: 1 built-in + 4 user-defined .area _HRAM (ABS) diff --git a/gbdk-lib/libc/targets/sm83/duck/crt0.s b/gbdk-lib/libc/targets/sm83/duck/crt0.s @@ -280,7 +280,7 @@ __is_GBA:: _sys_time:: .ds 0x02 ; System time in VBL units .int_0x40:: - .blkw 0x0A ; 4 interrupt handlers (built-in + user-defined) + .blkw 0x06 ; 5 interrupt handlers: 1 built-in + 4 user-defined .area _HRAM (ABS) diff --git a/gbdk-lib/libc/targets/sm83/gb/crt0.s b/gbdk-lib/libc/targets/sm83/gb/crt0.s @@ -348,7 +348,7 @@ __is_GBA:: _sys_time:: .ds 0x02 ; System time in VBL units .int_0x40:: - .blkw 0x0A ; 4 interrupt handlers (built-in + user-defined) + .blkw 0x06 ; 5 interrupt handlers: 1 built-in + 4 user-defined .end_crt_globals: diff --git a/gbdk-lib/libc/targets/sm83/joy.s b/gbdk-lib/libc/targets/sm83/joy.s @@ -44,4 +44,4 @@ _remove_JOY:: .area _DATA .int_0x60:: - .blkw 0x08 + .blkw 0x05 diff --git a/gbdk-lib/libc/targets/sm83/lcd.s b/gbdk-lib/libc/targets/sm83/lcd.s @@ -78,4 +78,4 @@ _remove_LCD:: .area _DATA .int_0x48:: - .blkw 0x08 + .blkw 0x04 diff --git a/gbdk-lib/libc/targets/sm83/serial.s b/gbdk-lib/libc/targets/sm83/serial.s @@ -109,7 +109,7 @@ __io_in:: __io_status:: .ds 0x01 ; Status of serial IO .int_0x58:: - .blkw 0x08 + .blkw 0x05 .area _CODE diff --git a/gbdk-lib/libc/targets/sm83/tim_common.s b/gbdk-lib/libc/targets/sm83/tim_common.s @@ -25,4 +25,4 @@ _remove_TIM:: .area _DATA .int_0x50:: - .blkw 0x08 + .blkw 0x05
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.