]> git.sur5r.net Git - cc65/commitdiff
Suppress call to copydata routine, which seems to
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Mon, 15 Jul 2013 20:45:09 +0000 (22:45 +0200)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Mon, 15 Jul 2013 20:45:09 +0000 (22:45 +0200)
be necessary only in very special cases that
are unclear at the moment.

libsrc/c1p/crt0.s

index f8005b6dda55a67f0c0a53f336b8e04f844e87c7..fcbb82e6442255d18c0e103898453bb754db0b15 100644 (file)
@@ -36,10 +36,11 @@ _init:    LDX     #$FF                 ; Initialize stack pointer to $01FF
 
 ; ---------------------------------------------------------------------------
 ; Initialize memory storage
+; copydata seems to be only necessary for special systems
 
-          JSR     zerobss              ; Clear BSS segment
-          ; JSR     copydata             ; Initialize DATA segment
-          JSR     initlib              ; Run constructors
+          JSR     zerobss              ; Clear BSS segment
+          ; JSR     copydata           ; Initialize DATA segment
+          JSR     initlib              ; Run constructors
 
 ; ---------------------------------------------------------------------------
 ; Call main()