gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit c2a4e9c4ee95b69bd906997a0fc30c1834695985 parent 1c706590c15088a4ec61b64ab6980336f9ab99f5 Author: Toxa <untoxa@mail.ru> Date: Sun, 7 Sep 2025 01:36:49 +0300 GB: align __current_bank by the 0xff90 address for compatibility reasons Diffstat:
| M | gbdk-lib/libc/targets/sm83/ap/crt0.s | 3 | +++ |
| M | gbdk-lib/libc/targets/sm83/duck/crt0.s | 3 | +++ |
| M | gbdk-lib/libc/targets/sm83/gb/crt0.s | 3 | +++ |
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/libc/targets/sm83/ap/crt0.s b/gbdk-lib/libc/targets/sm83/ap/crt0.s @@ -425,6 +425,9 @@ _sys_time:: .ds (.start_refresh_OAM_DMA - .start_refresh_OAM) .refresh_OAM_DMA: .ds (.end_refresh_OAM - .start_refresh_OAM_DMA) + + .bndry 0x10 + __current_bank:: .ds 0x01 ; Current bank .vbl_done: diff --git a/gbdk-lib/libc/targets/sm83/duck/crt0.s b/gbdk-lib/libc/targets/sm83/duck/crt0.s @@ -367,6 +367,9 @@ _sys_time:: .ds (.start_refresh_OAM_DMA - .start_refresh_OAM) .refresh_OAM_DMA: .ds (.end_refresh_OAM - .start_refresh_OAM_DMA) + + .bndry 0x10 + __current_bank:: .ds 0x01 ; Current bank .vbl_done: diff --git a/gbdk-lib/libc/targets/sm83/gb/crt0.s b/gbdk-lib/libc/targets/sm83/gb/crt0.s @@ -435,6 +435,9 @@ _sys_time:: .ds (.start_refresh_OAM_DMA - .start_refresh_OAM) .refresh_OAM_DMA: .ds (.end_refresh_OAM - .start_refresh_OAM_DMA) + + .bndry 0x10 + __current_bank:: .ds 0x01 ; Current bank .vbl_done:
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.