even more startup tweaks

This commit is contained in:
FeralChild64 committed 2019-10-20 09:03:23 +02:00
1 parent 455ca2ee56
commit dc63912edd
8 files changed
+30 -16

No files matched your search

+13 -8
View File
@@ -56,18 +56,16 @@ cint_pal:
!:
sta TVSFLG
// Setup KEYLOG vector - XXX is it proper place?
cint_brk: // entry for BRK and STOP+RESTORE - XXX, where should it start?
// Setup KEYLOG vector
lda #<scnkey_set_keytab
sta KEYLOG+0
lda #>scnkey_set_keytab
sta KEYLOG+1
cint_brk: // entry for BRK and STOP+RESTORE - XXX, where should it start?
jsr setup_vicii
// Initialise cursor blink flags (Compute's Mapping the 64 p215)
// Initialise cursor blink flags (Compute's Mapping the 64 p215)
lda #$01
sta BLNCT
@@ -93,15 +91,18 @@ cint_brk: // entry for BRK and STOP+RESTORE - XXX, where should it start?
dex
bpl !-
sta BufferQuantity
#endif
// Set key repeat delay (Compute's Mapping the 64 p215)
// Making some numbers up here: Repeat every ~1/10th sec
// But require key to be held for ~1/3sec before
// repeating (Compute's Mapping the 64 p58)
// Not needed for default keyboard scanning code
ldx #22-2 // Fudge factor to match speed
stx DELAY
#endif
// Set current colour for text (Compute's Mapping the 64 p215)
ldx #$01 // default is light blue ($0E), but we use a different one
@@ -115,5 +116,9 @@ cint_brk: // entry for BRK and STOP+RESTORE - XXX, where should it start?
ldx #$00
stx MODE
// Setup video and I/O
jsr setup_vicii
// Fallthrough/jump to screen clear routine (Compute's Mapping the 64 p215)
jmp clear_screen