1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-23 09:29:34 +00:00

NMI friendly c64-hi

Don't clear all vectors, see #639.
This commit is contained in:
Stefan 2018-05-09 23:31:42 +00:00 committed by GitHub
parent 334e30c407
commit cdce753a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ VBASE := $E000 ; Video memory base address
;
INSTALL:
rts
; rts ; fall through
; ------------------------------------------------------------------------
@ -272,9 +272,12 @@ CLEAR: ldy #$00
sta VBASE+$1C00,y
sta VBASE+$1D00,y
sta VBASE+$1E00,y
sta VBASE+$1F00,y
iny
bne @L1
@L2: sta VBASE+$1F00,y
iny
cpy #$40
bne @L2
rts
; ------------------------------------------------------------------------
@ -285,7 +288,7 @@ CLEAR: ldy #$00
;
SETVIEWPAGE:
rts
; rts ; fall through
; ------------------------------------------------------------------------
; SETDRAWPAGE: Set the drawable page. Called with the new page in A (0..n).