it makes no sense to be able to include/exclude them separately.
}
SYMBOLS {
__EXEHDR__: type = import;
- __MAINCHNKHDR__: type = import;
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STARTADDRESS__: type = export, value = %S;
}
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
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;
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;
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
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;
-; 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
+++ /dev/null
-; 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