]> git.sur5r.net Git - cc65/blob - testcode/lib/atari/multi-xex.cfg
Merge pull request #834 from jedeoric/master
[cc65] / testcode / lib / atari / multi-xex.cfg
1 FEATURES {
2     STARTADDRESS: default = $2E00;
3 }
4 MEMORY {
5     ZP:      file = "", define = yes, start = $0082, size = $007E;
6     # First memory segment in file, load over COLOR registers:
7     COLOR:   file = %O, start = $2C4, size = 5;
8     # Second memory segment, load at page 6:
9     PAGE6:   file = %O, start = $600, size = 256;
10     # Third memory segment in file, load over SDLST register:
11     SDLST:   file = %O, start = $230, size = 2;
12     # Main segment, load at "STARTADDRESS"
13     MAIN:    file = %O, start = %S,   size = $BC20 - %S;
14 }
15 FILES {
16     %O: format = atari;
17 }
18 FORMATS {
19     atari: runad = start;
20 }
21 SEGMENTS {
22     ZEROPAGE: load = ZP,      type = zp,  optional = yes;
23     # Place segments in memory areas:
24     COLOR:    load = COLOR,   type = rw;
25     PAGE6:    load = PAGE6,   type = rw;
26     SDLST:    load = SDLST,   type = rw;
27     CODE:     load = MAIN,    type = rw;
28     RODATA:   load = MAIN,    type = ro   optional = yes;
29     DATA:     load = MAIN,    type = rw   optional = yes;
30     BSS:      load = MAIN,    type = bss, optional = yes, define = yes;
31 }