SYMBOLS {
__ORIXHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2K stack
- __RAMEND__: type = weak, value = $9800;
+ __GRAB__: type = weak, value = 0; # 0=don't grab graphics RAM, 1=grab graphics RAM
+ __RAMEND__: type = weak, value = $9800 + $1C00 * __GRAB__;
}
MEMORY {
ZP: file = "", define = yes, start = $00B0, size = $003A;
ORIXHDR: file = %O, type = ro, start = $0000, size = $001F;
- BASHEAD: file = %O, define = yes, start = $0801, size = $000D;
- MAIN: file = %O, define = yes, start = __BASHEAD_LAST__, size = __RAMEND__ - __MAIN_START__;
+ MAIN: file = %O, define = yes, start = $0800, size = __RAMEND__ - __MAIN_START__;
BSS: file = "", start = __ONCE_RUN__, size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__;
}
SEGMENTS {
count = __INTERRUPTOR_COUNT__,
segment = RODATA,
import = __CALLIRQ__;
-}
\ No newline at end of file
+}