diff options
Diffstat (limited to 'cartbank3.cfg')
-rw-r--r-- | cartbank3.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cartbank3.cfg b/cartbank3.cfg index e50d755..1e6e5cc 100644 --- a/cartbank3.cfg +++ b/cartbank3.cfg @@ -28,8 +28,9 @@ MEMORY { RAM: file = %O, define = yes, start = %S, size = $BC20 - __STACKSIZE__ - __RESERVED_MEMORY__ - %S; TRAILER: file = %O, start = $0000, size = $0006; -# read-only data goes in a cart bank +# read-only data (and some code) goes in a cart bank HIGHDATA: file = "rodata.8000" start = $8000, size = $2000; + } SEGMENTS { EXEHDR: load = HEADER, type = ro; @@ -42,6 +43,7 @@ SEGMENTS { INIT: load = RAM, type = ro, optional = yes; CODE: load = RAM, type = ro, define = yes; RODATA: load = HIGHDATA, type = ro; + HIGHCODE: load = HIGHDATA, type = ro; DATA: load = RAM, type = rw; INITBSS: load = RAM, type = bss, optional = yes; BSS: load = RAM, type = bss, define = yes; |