]> git.sur5r.net Git - cc65/blob - cfg/atari-xex.cfg
Adds documentation and a sample config file for the ATARI format.
[cc65] / cfg / atari-xex.cfg
1 FEATURES {
2     STARTADDRESS: default = $2E00;
3 }
4 SYMBOLS {
5     __STARTADDRESS__: type = export, value = %S;
6 }
7 MEMORY {
8     ZP:      file = "", define = yes, start = $0082, size = $007E;
9     MAIN:    file = %O, define = yes, start = %S,    size = $BC20 - %S;
10 }
11 FILES {
12     %O: format = atari;
13 }
14 FORMATS {
15     atari: runad = start;
16 }
17 SEGMENTS {
18     ZEROPAGE: load = ZP,      type = zp,  optional = yes;
19     EXTZP:    load = ZP,      type = zp,  optional = yes; # to enable modules to be able to link to C and assembler programs
20     CODE:     load = MAIN,    type = rw,                  define = yes;
21     RODATA:   load = MAIN,    type = ro   optional = yes;
22     DATA:     load = MAIN,    type = rw   optional = yes;
23     BSS:      load = MAIN,    type = bss, optional = yes, define = yes;
24 }