| MEMORY { |
| ZP: start = $82, size = $7E, type = rw, define = yes; |
| HEADER: start = $0000, size = $6, file = %O; |
| RAM: start = $10B0, size = $AB6F, file = %O; # $AB6F: matches upper bound $BC1F |
| } |
| SEGMENTS { |
| EXEHDR: load = HEADER, type = wprot; |
| CODE: load = RAM, type = wprot, define = yes; |
| RODATA: load = RAM, type = wprot; |
| DATA: load = RAM, type = rw; |
| BSS: load = RAM, type = bss, define = yes; |
| ZEROPAGE: load = ZP, type = zp; |
| AUTOSTRT: load = RAM, type = wprot; |
| } |
| FEATURES { |
| CONDES: segment = RODATA, |
| type = constructor, |
| label = __CONSTRUCTOR_TABLE__, |
| count = __CONSTRUCTOR_COUNT__; |
| CONDES: segment = RODATA, |
| type = destructor, |
| label = __DESTRUCTOR_TABLE__, |
| count = __DESTRUCTOR_COUNT__; |
| } |
| SYMBOLS { |
| __STACKSIZE__ = $800; # 2K stack |
| } |