]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/devel/crt0.s
Redesigned GEOS VLIR linking:
[cc65] / libsrc / geos / devel / crt0.s
index fb0289a4c989d65eff2c470b738f41ec3b774e09..1e138e8e45c9a093a58c1ecc2cb0ae720364853b 100644 (file)
@@ -7,7 +7,7 @@
        .export         _exit
         .export         __STARTUP__ : absolute = 1      ; Mark as startup
 
-       .import         __RAM_START__, __RAM_SIZE__     ; Linker generated
+       .import         __VLIR0_START__, __VLIR0_SIZE__ ; Linker generated
        .import         __STACKSIZE__                   ; Linker generated
        .import         initlib, donelib
        .import         callmain
@@ -26,9 +26,9 @@
 
 ; Setup stack
 
-       lda     #<(__RAM_START__ + __RAM_SIZE__ + __STACKSIZE__)
+       lda     #<(__VLIR0_START__ + __VLIR0_SIZE__ + __STACKSIZE__)
        sta     sp
-       lda     #>(__RAM_START__ + __RAM_SIZE__ + __STACKSIZE__)
+       lda     #>(__VLIR0_START__ + __VLIR0_SIZE__ + __STACKSIZE__)
                sta     sp+1            ; Set argument stack ptr
 
 ; Call module constructors