From cea833208454a9667eebc2361df56cfd4184822c Mon Sep 17 00:00:00 2001 From: bauen1 Date: Thu, 4 Jan 2018 22:01:44 +0100 Subject: [PATCH] Fixed none.cfg --- cfg/none.cfg | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cfg/none.cfg b/cfg/none.cfg index f82e9707f..26f5379cd 100644 --- a/cfg/none.cfg +++ b/cfg/none.cfg @@ -1,9 +1,14 @@ +FEATURES { + STARTADDRESS: default = $1000; +} SYMBOLS { - __STACKSIZE__: type = weak, value = $0800; # 2k stack + __STACKSIZE__: type = weak, value = $0800; # 2k stack + __STACKSTART__: type = weak, value = $8000; + __ZPSTART__: type = weak, value = $0080; } MEMORY { - ZP: file = "", define = yes, start = $0000, size = $0001F; - MAIN: file = %O, define = yes, start = %S, size = $10000 - __STACKSIZE__; + ZP: file = "", define = yes, start = __ZPSTART__, size = $001F; + MAIN: file = %O, define = yes, start = %S, size = __STACKSTART__ - __STACKSIZE__; } SEGMENTS { ZEROPAGE: load = ZP, type = zp; -- 2.39.5