gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 494955f094b9bd051c7c95faf0dc4c4f33cacc8b parent 25b415a478df2833e4a640e5a88b7964f7642232 Author: Toxa <56631470+untoxa@users.noreply.github.com> Date: Thu, 3 Nov 2022 11:14:26 +0400 Merge pull request #442 from michel-iwaniec/nes_increase_rom_space NES: Increase total ROM space, as a work-around for lack of bank-switching Diffstat:
| M | gbdk-lib/libc/targets/mos6502/nes/crt0.s | 2 | +- |
| M | gbdk-support/lcc/targets.c | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gbdk-lib/libc/targets/mos6502/nes/crt0.s b/gbdk-lib/libc/targets/mos6502/nes/crt0.s @@ -129,7 +129,7 @@ _attribute_row_dirty:: .ds 1 .area _HEAP .area _HEAP_END -.area CODE +.area CODEFIXED .bndry 0x100 .identity:: diff --git a/gbdk-support/lcc/targets.c b/gbdk-support/lcc/targets.c @@ -35,9 +35,9 @@ arg_entry llist0_defaults_msxdos[] = { // NES arg_entry llist0_defaults_nes[] = { {.searchkey= "DATA=", .addflag= "-b",.addvalue= "DATA=0x300", .found = false}, - {.searchkey= "CODE=", .addflag= "-b",.addvalue= "CODE=0xC000", .found = false}, + {.searchkey= "CODE=", .addflag= "-b",.addvalue= "CODE=0x8000", .found = false}, + {.searchkey= "CODEFIXED=", .addflag= "-b",.addvalue= "CODEFIXED=0xE000", .found = false}, {.searchkey= "VECTORS=", .addflag= "-b",.addvalue= "VECTORS=0xFFFA", .found = false}, - {.searchkey= "_CODE_1=", .addflag= "-b",.addvalue= "_CODE_1=0x8000", .found = false}, {.searchkey= "ZP=", .addflag= "-b",.addvalue= "ZP=0x30", .found = false}, };
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.