]> git.sur5r.net Git - cc65/commitdiff
Update c64-hi.s
authorStefan <stefan.haubenthal@gmail.com>
Wed, 9 May 2018 23:52:52 +0000 (23:52 +0000)
committerGitHub <noreply@github.com>
Wed, 9 May 2018 23:52:52 +0000 (23:52 +0000)
libsrc/c64/tgi/c64-hi.s

index fd7a25478e731ff15cc15324d56cb6f719ebaf17..ad453fd5aee4853b573fb8bfc927b20b1aba8bfc 100644 (file)
@@ -272,12 +272,9 @@ CLEAR:  ldy     #$00
         sta     VBASE+$1C00,y
         sta     VBASE+$1D00,y
         sta     VBASE+$1E00,y
+        sta     VBASE+$1F40,y   ; preserve vectors
         iny
         bne     @L1
-@L2:    sta     VBASE+$1F00,y
-        iny
-        cpy     #$40
-        bne     @L2
         rts
 
 ; ------------------------------------------------------------------------