more Kernal reorganization

This commit is contained in:
FeralChild64 committed 2019-10-15 17:55:56 +02:00
1 parent 076a839f1a
commit 8829ec8090
20 files changed
+2

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
setup_vicii:
// XXX there is more to setup within this routine
// Set up default IO values (Compute's Mapping the 64 p215)
lda #$1B // Enable text mode
sta VIC_SCROLY
lda #$C8 // 40 column etc
sta VIC_SCROLX
// Compute's Mapping the 64, p156
// We use a different colour scheme of white text on all blue
lda #$06
sta VIC_EXTCOL
sta VIC_BGCOL0
// Turn off sprites (observed hanging around after running programs and resetting)
lda #$00
sta VIC_SPENA
rts