]> git.sur5r.net Git - cc65/blob - cfg/osic1p-asm.cfg
Incorporated feedback for initial pull request.
[cc65] / cfg / osic1p-asm.cfg
1 FEATURES {
2     STARTADDRESS: default = $0200;
3 }
4 SYMBOLS {
5     __STACKSIZE__: type = weak, value = $0400; # 1 kB stack
6     __HIMEM__:     type = weak, value = $8000; # 32 kB RAM
7 }
8 MEMORY {
9     # for size of ZP see runtime/zeropage.s and c1p/extzp.s
10     ZP:       file = "", define = yes, start = $0002, size = $001A + $0006;
11     RAM:      file = %O, define = yes, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
12 }
13 SEGMENTS {
14     INIT:     load = RAM, type = ro,  define = yes, optional = yes;
15     CODE:     load = RAM, type = rw;
16     RODATA:   load = RAM, type = rw;
17     DATA:     load = RAM, type = rw;
18     BSS:      load = RAM, type = bss, define = yes;
19     ZEROPAGE: load = ZP,  type = zp;
20 }