gb: added more vars to crt0

This commit is contained in:
Steven Hugg committed 2026-09-12 10:36:55 +02:00
1 parent a90b520dd0
commit c6b103d2ae
2 files changed
+6 -3

No files matched your search

+3 -3
View File
@@ -157,15 +157,15 @@ _refresh_OAM::
;; Cartridge type is ROM only
.org 0x147
.byte 0
.byte GB_MAPPER
;; ROM size is 32kB
.org 0x148
.byte 0
.byte GB_ROM_SIZE
;; RAM size is 0kB
.org 0x149
.byte 0
.byte GB_RAM_SIZE
;; Maker ID
.org 0x14A
+3
View File
@@ -395,6 +395,9 @@ export var PLATFORM_PARAMS = {
'-g', '_shadow_OAM=0xC000',
'-g', '.STACK=0xE000',
'-g', '.refresh_OAM=0xFF80',
'-g', 'GB_MAPPER=0x0',
'-g', 'GB_ROM_SIZE=0x0',
'-g', 'GB_RAM_SIZE=0x0',
'-g', 'GB_CGB_FLAGS=0x0',
],
wiz_sys_type: 'gb',