aboutsummaryrefslogtreecommitdiff
path: root/config/exehdr.s
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-14 06:45:36 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-14 06:45:36 -0400
commitbe048d3184d451c76cf56dd706be8d087c477d77 (patch)
tree921450c1b11e6fea5232cb8e5e176a53e7a3958e /config/exehdr.s
parent66219401006e845f1a176e6a78c4682bd9de8785 (diff)
downloadfujinet-chat-be048d3184d451c76cf56dd706be8d087c477d77.tar.gz
The Great Migration: move all the screen memory to the $4000-$7FFF bank window, move code to $8000, move data/rodata/bss to $2000, move rx_buf and tx_buf, etc etc.
Diffstat (limited to 'config/exehdr.s')
-rw-r--r--config/exehdr.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/exehdr.s b/config/exehdr.s
new file mode 100644
index 0000000..7abb7c1
--- /dev/null
+++ b/config/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