<sect>Binary format<p>
The standard binary output format generated by the linker for the Atmos target
-is a machine language program with a 14 byte tape header. The standard load
-and autostart address is $500.
+is a machine language program with a 17 byte tape header including a cc65 tag.
+The standard load and autostart address is $500.
<sect>Memory layout<p>
.import initlib, donelib
.import callmain, zerobss
.import __RAM_START__, __RAM_SIZE__
- .import __BSS_LOAD__, __STACKSIZE__
+ .import __ZPSAVE_LOAD__, __STACKSIZE__
.include "zeropage.inc"
.include "atmos.inc"
.byte $00 ; $2AF
.byte $80 ; $2AE Machine code flag
.byte $C7 ; $2AD Autoload flag
- .dbyt __BSS_LOAD__ ; $2AB
+ .dbyt __ZPSAVE_LOAD__ ; $2AB
.dbyt __RAM_START__ ; $2A9
.byte $00 ; $2A8
.byte ((.VERSION >> 8) & $0F) + '0'
CODE: load = RAM, type = ro;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
+ ZPSAVE: load = RAM, type = bss, define = yes;
BSS: load = RAM, type = bss, define = yes;
- ZPSAVE: load = RAM, type = bss;
ZEROPAGE: load = ZP, type = zp;
}
FEATURES {