1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-29 13:31:59 +00:00

Remove BASHEAD segment which is not useful

This commit is contained in:
jede 2018-09-18 21:52:37 +02:00 committed by Oliver Schmidt
parent f73aa2af71
commit ee7514fea2
2 changed files with 5 additions and 5 deletions

View File

@ -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 {

View File

@ -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