]> git.sur5r.net Git - cc65/blobdiff - libsrc/atmos/crt0.s
fix comments
[cc65] / libsrc / atmos / crt0.s
index 4bbebbc74db1a7a3d1444d7eb0ed0fa36b2bc1cf..4fe9d5cbc1b913e61b01734d9390556d2ff2000a 100644 (file)
@@ -2,11 +2,10 @@
 ; Startup code for cc65 (Oric version)
 ;
 ; By Debrune Jérôme <jede@oric.org> and Ullrich von Bassewitz <uz@cc65.org>
-;
-; This must be the *first* file on the linker command line
 ;
 
        .export         _exit
+        .export         __STARTUP__ : absolute = 1      ; Mark as startup
        .import         initlib, donelib
        .import         callmain, zerobss
                .import         __RAM_START__, __RAM_SIZE__, __BSS_LOAD__
@@ -27,7 +26,7 @@
         .byte   $00                             ; $2AF
         .byte   $80                             ; $2AE Machine code flag
         .byte   $C7                             ; $2AD Autoload flag
-        .dbyt   __BSS_LOAD__                    ; $2AB           
+        .dbyt   __BSS_LOAD__                    ; $2AB
         .dbyt   __RAM_START__                   ; $2A9
         .byte   $00                             ; $2A8
         .byte   $00                             ; Zero terminated name
@@ -100,7 +99,7 @@ L2:  lda     zpsave,x
 ; ------------------------------------------------------------------------
 ; Data
 
-.data
+.segment        "ZPSAVE"
 
 zpsave:        .res    zpspace