move all VIC-II initialisation from IOINIT to CINT. Issue #20

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-05 15:06:09 +09:30
1 parent 8f09d4e8e1
commit 933351943f
2 files changed
+11 -11

No files matched your search

+11
View File
@@ -7,6 +7,17 @@ cint:
lda #$c8 ; 40 column etc
sta $d016
;; Compute's Mapping the 64, p156
;; We use a different colour scheme of white text on all blue
lda #$06
sta $D020
sta $D021
;; Turn off sprites
;; (observed hanging around after running programs and resetting)
lda #$00
sta $D015
;; Initialise cursor blink flags (Compute's Mapping the 64 p215)
lda #$00
sta cursor_blink_disable
-11
View File
@@ -9,17 +9,6 @@ ioinit:
LDA #$27
STA $01
;; Compute's Mapping the 64, p156
;; We use a different colour scheme of white text on all blue
lda #$06
sta $D020
sta $D021
;; Turn off sprites
;; (observed hanging around after running programs and resetting)
lda #$00
sta $D015
;; Enable CIA1 IRQ and ~50Hz timer
;; (https://csdb.dk/forums/?roomid=11&topicid=69037)
lda #$7f