-
Notifications
You must be signed in to change notification settings - Fork 7
/
a2_f8rom.cfg
26 lines (26 loc) · 872 Bytes
/
a2_f8rom.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FEATURES {
STARTADDRESS: default = $F800;
}
SYMBOLS {
__ZPSTART__: type = weak, value = $0000;
}
MEMORY {
ZP: file = "", define = yes, start = __ZPSTART__, size = $FF - __ZPSTART__;
RAM: file = "", define = yes, start = $0100, size = $C000;
ROM: file = %O, type = ro, start = %S, size = $0800, fillval = $FF;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
STARTUP: load = ROM, type = ro, optional = yes;
LOWCODE: load = ROM, type = ro, optional = yes;
ONCE: load = ROM, type = ro, optional = yes;
CODE: load = ROM, type = ro;
RODATA: load = ROM, type = ro;
DATA: load = ROM, type = ro;
MESSAGES: load = ROM, type = ro, define = yes, optional = yes;
BSS: load = RAM, type = bss, define = yes;
VECTORS: load = ROM, type = overwrite, start = $FFFA;
}
FILES {
%O: format = bin;
}