22 lines
910 B
INI
22 lines
910 B
INI
|
SYMBOLS {
|
||
|
__LOADADDR__: type = import;
|
||
|
__DATAADDR__: type = import;
|
||
|
}
|
||
|
MEMORY {
|
||
|
# $ED-$F7 seems to be an unused area in the zero page according to the BASIC 2.0/4.0 memory map
|
||
|
ZP: file = "", define = yes, start = $00ED, size = $000A;
|
||
|
# we're loading at $7000, max code size $800 bytes
|
||
|
RAM: file = %O, start = __LOADADDR__, size = $0800;
|
||
|
# if we reside in ROM instead, we should have more space available
|
||
|
ROM: file = %O, start = $9000, size = $2000;
|
||
|
}
|
||
|
SEGMENTS {
|
||
|
ZEROPAGE: load = ZP, type = zp;
|
||
|
# change these two to "ROM" if you want to put them on a ROM chip
|
||
|
CODE: load = RAM, type = ro;
|
||
|
RODATA: load = RAM, type = ro;
|
||
|
# data and bss should come after the code if they all reside in RAM
|
||
|
DATA: load = RAM, type = rw;
|
||
|
BSS: load = RAM, type = bss, define = yes;
|
||
|
}
|