From ee7514fea2f5499087bcd11344caec0a13b634d6 Mon Sep 17 00:00:00 2001 From: jede Date: Tue, 18 Sep 2018 21:52:37 +0200 Subject: [PATCH] Remove BASHEAD segment which is not useful --- cfg/telestrat.cfg | 4 ++-- libsrc/telestrat/orixhdr.s | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cfg/telestrat.cfg b/cfg/telestrat.cfg index 42e8d2cb5..400958f86 100644 --- a/cfg/telestrat.cfg +++ b/cfg/telestrat.cfg @@ -6,8 +6,8 @@ SYMBOLS { MEMORY { ZP: file = "", define = yes, start = $00B0, size = $003A; ORIXHDR: file = %O, type = ro, start = $0000, size = $001F; - BASHEAD: file = %O, define = yes, start = $0801, size = $000D; - MAIN: file = %O, define = yes, start = __BASHEAD_LAST__, size = __RAMEND__ - __MAIN_START__; +# BASHEAD: file = %O, define = yes, start = $0801, size = $000D; + MAIN: file = %O, define = yes, start = $0800, size = __RAMEND__ - __MAIN_START__; BSS: file = "", start = __ONCE_RUN__, size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__; } SEGMENTS { diff --git a/libsrc/telestrat/orixhdr.s b/libsrc/telestrat/orixhdr.s index 6fe2fca73..0046bb79c 100644 --- a/libsrc/telestrat/orixhdr.s +++ b/libsrc/telestrat/orixhdr.s @@ -9,7 +9,7 @@ ; These symbols, also, come from the configuration file. .import __AUTORUN__, __PROGFLAG__ - .import __BASHEAD_START__, __MAIN_LAST__ + .import __MAIN_START__, __MAIN_LAST__ ; ------------------------------------------------------------------------ @@ -29,7 +29,7 @@ .byte $00 ; reserved .byte $00 ; auto or not - .word __BASHEAD_START__ ; Address of start of file + .word __MAIN_START__ ; Address of start of file .word __MAIN_LAST__ - 1 ; Address of end of file - .word __BASHEAD_START__ ; Address of start of file + .word __MAIN_START__ ; Address of start of file