mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-25 00:02:16 +00:00
gb: added more vars to crt0
This commit is contained in:
1 parent
a90b520dd0
commit
c6b103d2ae
2 files changed
+6
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user