]> git.sur5r.net Git - cc65/blob - cfg/apple2-asm.cfg
Fixed _textcolor definition.
[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 SYMBOLS {
7     __FILETYPE__: type = weak, value = $0006; # ProDOS file type
8 }
9 MEMORY {
10     ZP:     file = "",               start = $0000,         size = $00FF;
11     HEADER: file = %O,               start = %S - $003A,    size = $003A;
12     MAIN:   file = %O, define = yes, start = %S,            size = $C000 - %S;
13     BSS:    file = "",               start = __MAIN_LAST__, size = $C000 - __MAIN_LAST__;
14 }
15 SEGMENTS {
16     ZEROPAGE: load = ZP,     type = zp,  optional = yes;
17     EXEHDR:   load = HEADER, type = ro,  optional = yes;
18     CODE:     load = MAIN,   type = rw;
19     RODATA:   load = MAIN,   type = ro,  optional = yes;
20     DATA:     load = MAIN,   type = rw,  optional = yes;
21     BSS:      load = BSS,    type = bss, optional = yes, define = yes;
22 }