From: jede Date: Tue, 18 Sep 2018 19:52:37 +0000 (+0200) Subject: Remove BASHEAD segment which is not useful X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee7514fea2f5499087bcd11344caec0a13b634d6;p=cc65 Remove BASHEAD segment which is not useful --- 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