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:
@@ -3,7 +3,6 @@ FEATURES {
|
|||||||
}
|
}
|
||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__EXEHDR__: type = import;
|
__EXEHDR__: type = import;
|
||||||
__MAINCHNKHDR__: type = import;
|
|
||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ FEATURES {
|
|||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__EXEHDR__: type = import;
|
__EXEHDR__: type = import;
|
||||||
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
||||||
__MAINCHNKHDR__: type = import;
|
|
||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ FEATURES {
|
|||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__EXEHDR__: type = import;
|
__EXEHDR__: type = import;
|
||||||
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
||||||
__MAINCHNKHDR__: type = import;
|
|
||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ FEATURES {
|
|||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__EXEHDR__: type = import;
|
__EXEHDR__: type = import;
|
||||||
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
||||||
__MAINCHNKHDR__: type = import;
|
|
||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ FEATURES {
|
|||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__EXEHDR__: type = import;
|
__EXEHDR__: type = import;
|
||||||
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
||||||
__MAINCHNKHDR__: type = import;
|
|
||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ FEATURES {
|
|||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__EXEHDR__: type = import;
|
__EXEHDR__: type = import;
|
||||||
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
__SYSTEM_CHECK__: type = import; # force inclusion of "system check" load chunk
|
||||||
__MAINCHNKHDR__: type = import;
|
|
||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
|
|||||||
@@ -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
|
.export __EXEHDR__: absolute = 1
|
||||||
|
.import __RAM_START__, __BSS_LOAD__
|
||||||
|
|
||||||
.segment "EXEHDR"
|
.segment "EXEHDR"
|
||||||
|
|
||||||
.word $FFFF
|
.word $FFFF
|
||||||
|
|
||||||
|
.segment "MAINHDR"
|
||||||
|
.word __RAM_START__
|
||||||
|
.word __BSS_LOAD__ - 1
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user