1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

Put EXE header and main chunk load header into a single file --

it makes no sense to be able to include/exclude them separately.
This commit is contained in:
Christian Groessler 2013-10-18 14:53:06 +02:00
parent b153ec8896
commit 9f44d00d17
8 changed files with 5 additions and 17 deletions

View File

@ -3,7 +3,6 @@ FEATURES {
}
SYMBOLS {
__EXEHDR__: type = import;
__MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STARTADDRESS__: type = export, value = %S;
}

View File

@ -4,7 +4,6 @@ FEATURES {
SYMBOLS {
__EXEHDR__: type = import;
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
__MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay

View File

@ -4,7 +4,6 @@ FEATURES {
SYMBOLS {
__EXEHDR__: type = import;
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
__MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__STARTADDRESS__: type = export, value = %S;

View File

@ -10,7 +10,6 @@ FEATURES {
SYMBOLS {
__EXEHDR__: type = import;
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
__MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__STARTADDRESS__: type = export, value = %S;

View File

@ -5,7 +5,6 @@ FEATURES {
SYMBOLS {
__EXEHDR__: type = import;
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
__MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay

View File

@ -5,7 +5,6 @@ FEATURES {
SYMBOLS {
__EXEHDR__: type = import;
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
__MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__STARTADDRESS__: type = export, value = %S;

View File

@ -1,8 +1,11 @@
; This file defines the EXE header for Atari executables
; This file defines the EXE header and main chunk load header for Atari executables
.export __EXEHDR__: absolute = 1
.import __RAM_START__, __BSS_LOAD__
.segment "EXEHDR"
.word $FFFF
.segment "MAINHDR"
.word __RAM_START__
.word __BSS_LOAD__ - 1

View File

@ -1,9 +0,0 @@
; This file defines the chunk header for the main program load chunk
.export __MAINCHNKHDR__: absolute = 1
.import __RAM_START__, __BSS_LOAD__
.segment "MAINHDR"
.word __RAM_START__
.word __BSS_LOAD__ - 1