]> git.sur5r.net Git - cc65/blob - cfg/apple2-asm.cfg
8e5abefc5466f25d067d0759c9913cb053692480
[cc65] / cfg / apple2-asm.cfg
1 # Configuration for assembler programs which don't need a special setup
2
3 FEATURES {
4     STARTADDRESS: default = $0803;
5 }
6 MEMORY {
7     ZP:     file = "",               start = $0000,         size = $00FF;
8     HEADER: file = %O,               start = %S - 4,        size = $0004;
9     MAIN:   file = %O, define = yes, start = %S,            size = $C000 - %S;
10     BSS:    file = "",               start = __MAIN_LAST__, size = $C000 - __MAIN_LAST__;
11 }
12 SEGMENTS {
13     ZEROPAGE: load = ZP,     type = zp,  optional = yes;
14     EXEHDR:   load = HEADER, type = ro,  optional = yes;
15     CODE:     load = MAIN,   type = rw;
16     RODATA:   load = MAIN,   type = ro,  optional = yes;
17     DATA:     load = MAIN,   type = rw,  optional = yes;
18     BSS:      load = BSS,    type = bss, optional = yes, define = yes;
19 }