atari-asm.cfg linker config file

This commit is contained in:
Christian Groessler
2013-10-18 03:07:01 +02:00
parent bf3a23c34c
commit b153ec8896
10 changed files with 80 additions and 26 deletions

View File

@@ -8,12 +8,11 @@
; Stefan Haubenthal
;
.export _exit
.export __STARTUP__ : absolute = 1 ; Mark as startup
.export _exit, start
.import initlib, donelib
.import callmain, zerobss
.import __STARTUP_LOAD__, __BSS_LOAD__
.import __RESERVED_MEMORY__
.import __RAM_START__, __RAM_SIZE__
.ifdef __ATARIXL__
@@ -28,19 +27,6 @@
.include "atari.inc"
; ------------------------------------------------------------------------
; EXE header
.segment "EXEHDR"
.word $FFFF
.segment "MAINHDR"
.word __STARTUP_LOAD__
.word __BSS_LOAD__ - 1
; ------------------------------------------------------------------------
; Actual code
.segment "STARTUP"
@@ -212,9 +198,3 @@ LMARGN_save: .res 1
.ifndef __ATARIXL__
APPMHI_save: .res 2
.endif
.segment "AUTOSTRT"
.word RUNAD ; defined in atari.inc
.word RUNAD+1
.word start