aboutsummaryrefslogtreecommitdiff
path: root/src/exehdr.s
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-23 04:56:11 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-23 04:56:11 -0400
commit4a5f72a329f317d191eab143e92bfd492390c6db (patch)
tree5989c32c5ac643fa4437d58fb80fbf7f39b422a5 /src/exehdr.s
parent46d5295651afe341552327d049f10219dff46765 (diff)
downloadfujinet-chat-4a5f72a329f317d191eab143e92bfd492390c6db.tar.gz
Fix for recent cc65 git.
Diffstat (limited to 'src/exehdr.s')
-rw-r--r--src/exehdr.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/exehdr.s b/src/exehdr.s
new file mode 100644
index 0000000..7abb7c1
--- /dev/null
+++ b/src/exehdr.s
@@ -0,0 +1,11 @@
+; This file defines the EXE header and main chunk load header for Atari executables
+
+ .export __EXEHDR__: absolute = 1
+ .import __MAIN_START__, __BSS_LOAD__
+
+.segment "EXEHDR"
+ .word $FFFF
+
+.segment "MAINHDR"
+ .word __MAIN_START__
+ .word __BSS_LOAD__ - 1