From 590de7566d3986f9813e7bf743e16b85c9d8389c Mon Sep 17 00:00:00 2001 From: jede Date: Sat, 25 Jun 2022 00:19:21 +0200 Subject: [PATCH 1/2] Telestrat : change default start address --- cfg/telestrat.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cfg/telestrat.cfg b/cfg/telestrat.cfg index db897133e..3567fa8bf 100644 --- a/cfg/telestrat.cfg +++ b/cfg/telestrat.cfg @@ -1,3 +1,7 @@ +FEATURES { + STARTADDRESS: default = $1000; +} + SYMBOLS { __ORIXHDR__: type = import; __STACKSIZE__: type = weak, value = $0800; # 2K stack @@ -7,7 +11,7 @@ SYMBOLS { MEMORY { ZP: file = "", define = yes, start = $00B0, size = $003A; ORIXHDR: file = %O, type = ro, start = $0000, size = $001F; - MAIN: file = %O, define = yes, start = $0800, size = __RAMEND__ - __MAIN_START__; + MAIN: file = %O, define = yes, start = %S, size = __RAMEND__ - __MAIN_START__; BSS: file = "", start = __ONCE_RUN__, size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__; } SEGMENTS { From e0718314b3d67de064a86db5140477060bd26a29 Mon Sep 17 00:00:00 2001 From: jede Date: Sat, 25 Jun 2022 00:21:19 +0200 Subject: [PATCH 2/2] Telestrat cfg : fix space --- cfg/telestrat.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/telestrat.cfg b/cfg/telestrat.cfg index 3567fa8bf..bd720fb8d 100644 --- a/cfg/telestrat.cfg +++ b/cfg/telestrat.cfg @@ -11,7 +11,7 @@ SYMBOLS { MEMORY { ZP: file = "", define = yes, start = $00B0, size = $003A; ORIXHDR: file = %O, type = ro, start = $0000, size = $001F; - MAIN: file = %O, define = yes, start = %S, size = __RAMEND__ - __MAIN_START__; + MAIN: file = %O, define = yes, start = %S, size = __RAMEND__ - __MAIN_START__; BSS: file = "", start = __ONCE_RUN__, size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__; } SEGMENTS {