2012-06-14 20:59:08 +00:00
|
|
|
# Configuration for assembler programs which don't need a special setup
|
|
|
|
|
|
|
|
FEATURES {
|
|
|
|
STARTADDRESS: default = $0803;
|
|
|
|
}
|
2018-03-07 22:04:33 +00:00
|
|
|
SYMBOLS {
|
|
|
|
__FILETYPE__: type = weak, value = $0006; # ProDOS file type
|
|
|
|
}
|
2012-06-14 20:59:08 +00:00
|
|
|
MEMORY {
|
2016-03-17 20:07:19 +00:00
|
|
|
ZP: file = "", start = $0000, size = $00FF;
|
2018-03-07 22:04:33 +00:00
|
|
|
HEADER: file = %O, start = %S - $003A, size = $003A;
|
2016-03-17 20:07:19 +00:00
|
|
|
MAIN: file = %O, define = yes, start = %S, size = $C000 - %S;
|
|
|
|
BSS: file = "", start = __MAIN_LAST__, size = $C000 - __MAIN_LAST__;
|
2012-06-14 20:59:08 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
2016-03-17 20:07:19 +00:00
|
|
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
|
|
|
EXEHDR: load = HEADER, type = ro, optional = yes;
|
2016-03-17 20:51:20 +00:00
|
|
|
CODE: load = MAIN, type = rw;
|
2016-03-17 20:07:19 +00:00
|
|
|
RODATA: load = MAIN, type = ro, optional = yes;
|
|
|
|
DATA: load = MAIN, type = rw, optional = yes;
|
|
|
|
BSS: load = BSS, type = bss, optional = yes, define = yes;
|
2012-06-14 20:59:08 +00:00
|
|
|
}
|