]> git.sur5r.net Git - cc65/blob - cfg/osic1p-asm.cfg
correcting some return lines
[cc65] / cfg / osic1p-asm.cfg
1 FEATURES {
2     STARTADDRESS: default = $0200;
3 }
4 SYMBOLS {
5 # If you want ld65 to output a loadable-format file by default, then uncomment
6 # the next line. (Then, "-u __BOOT__" wouldn't be needed on the command line.)
7 #    __BOOT__:      type = import;
8     __STACKSIZE__: type = weak, value = $0400; # 1 kB stack
9     __HIMEM__:     type = weak, value = $8000; # 32 kB RAM
10 }
11 MEMORY {
12     # for size of ZP, see runtime/zeropage.s and c1p/extzp.s
13     ZP:   file = "", define = yes, start = $0002, size = $00FE;
14     HEAD: file = %O,               start = $0000, size = $00B6;
15     MAIN: file = %O, define = yes, start = %S,    size = __HIMEM__ - __STACKSIZE__ - %S;
16 }
17 SEGMENTS {
18     ZEROPAGE: load = ZP,   type = zp,  optional = yes;
19     BOOT:     load = HEAD, type = ro,  optional = yes;
20     CODE:     load = MAIN, type = rw;
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 }