]> git.sur5r.net Git - cc65/commitdiff
startup code now resides in LOWCODE segment
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 31 Mar 2005 21:53:12 +0000 (21:53 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 31 Mar 2005 21:53:12 +0000 (21:53 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3444 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/crt0.s

index 502cae621ca10291a6d5d7b89e4a0a43347d6f8e..83b49334169f27a91267b66227c8ddd0106dcce0 100644 (file)
@@ -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
 
        .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