mirror of
https://github.com/cc65/cc65.git
synced 2024-08-30 16:29:06 +00:00
The name RAM doesn't make much sense in general for a memeory area because i.e. the zero page is for sure RAM but is not part of the memory area named RAM. For disk based targets it makes sense to put the disk file more into focus and here MAIN means the main part of the file - in contrast to some header. Only for ROM based targets the name RAM is kept as it makes sense to focus on the difference between RAM and ROM.
12 lines
326 B
ArmAsm
12 lines
326 B
ArmAsm
; 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
|