-# linker config. to produce a NEC PC-Engine 8K, 16K, or 32K image (.bin)
+# Linker config. to produce a NEC PC-Engine 8K, 16K, or 32K image (.bin)
SYMBOLS {
__CARTSIZE__: type = weak, value = $2000; # $2000, $4000, or $8000
__STACKSIZE__: type = weak, value = $0300; # 3 pages stack
}
MEMORY {
- ZP: file = "", start = $0000, size = $0100, define = yes;
+ ZP: file = "", start = $0000, define = yes, size = $0100;
# RAM bank
- MAIN: file = "", start = $2200, size = $1E00 - __STACKSIZE__, define = yes;
+ MAIN: file = "", start = $2200, define = yes, size = $1E00 - __STACKSIZE__;
# ROM banks, before swapping, and after mapping
ROM: file = %O, start = $10000 - __CARTSIZE__, size = __CARTSIZE__, fill = yes, fillval = $FF;
}