From: cpg Date: Thu, 31 Mar 2005 21:53:12 +0000 (+0000) Subject: startup code now resides in LOWCODE segment X-Git-Tag: V2.12.0~395 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0093a8f388503a26305faea4e021b93674a75083;p=cc65 startup code now resides in LOWCODE segment git-svn-id: svn://svn.cc65.org/cc65/trunk@3444 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/crt0.s b/libsrc/atari/crt0.s index 502cae621..83b493341 100644 --- a/libsrc/atari/crt0.s +++ b/libsrc/atari/crt0.s @@ -15,7 +15,7 @@ .import initlib, donelib, callmain .import zerobss, pushax .import _main, __filetab, getfd - .import __CODE_LOAD__, __BSS_LOAD__ + .import __LOWCODE_LOAD__, __BSS_LOAD__ .ifdef DYNAMIC_DD .import __getdefdev .endif @@ -29,13 +29,13 @@ .segment "EXEHDR" .word $FFFF - .word __CODE_LOAD__ + .word __LOWCODE_LOAD__ .word __BSS_LOAD__ - 1 ; ------------------------------------------------------------------------ ; Actual code -.code + .segment "LOWCODE" rts ; fix for SpartaDOS / OS/A+ ; they first call the entry point from AUTOSTRT and @@ -184,4 +184,4 @@ old_lmargin: .res 1 .segment "AUTOSTRT" .word $02E0 .word $02E1 - .word __CODE_LOAD__ + 1 + .word __LOWCODE_LOAD__ + 1