diff --git a/src/ld65/cfg/c64.cfg b/src/ld65/cfg/c64.cfg index 1ccf4d10b..207268e15 100644 --- a/src/ld65/cfg/c64.cfg +++ b/src/ld65/cfg/c64.cfg @@ -1,11 +1,12 @@ -SYMBOLS { +SYMBOLS { __LOADADDR__: type = import; + __EXEHDR__: type = import; __STACKSIZE__: type = weak, value = $0800; # 2k stack } MEMORY { ZP: file = "", define = yes, start = $0002, size = $001A; LOADADDR: file = %O, start = $07FF, size = $0002; - HEADER: file = %O, start = $07FF, size = $000E; + HEADER: file = %O, start = $0801, size = $000E; RAM: file = %O, define = yes, start = $080D, size = $C7F3 - __STACKSIZE__; } SEGMENTS {