VIC initialization fixes
This commit is contained in:
1 parent
5c5c14f76a
commit
4eb0923f9c
2 files changed
+7
-2
No files matched your search
@@ -23,6 +23,10 @@ viciv_shutdown:
|
||||
sta VIC_CTRLA ; enable C64 character set
|
||||
sta VIC_CTRLB ; disable extended resolution and attributes
|
||||
|
||||
lda VIC_CTRLC
|
||||
and #%00101000 ; disable fast mode and various VIC-IV extensions
|
||||
sta VIC_CTRLC
|
||||
|
||||
; Reenable hot registers
|
||||
|
||||
jsr viciv_hotregs_on
|
||||
|
||||
@@ -35,11 +35,12 @@ vicii_init:
|
||||
|
||||
; Disable C128 extra keys - just to be sure they will not interfere with anything
|
||||
|
||||
stx VIC_XSCAN
|
||||
stx VIC_XSCAN ; store $FF
|
||||
|
||||
; Disable the C128 2MHz mode, it prevents VIC-II display from working correctly
|
||||
|
||||
stx VIC_CLKRATE
|
||||
inx
|
||||
stx VIC_CLKRATE ; store $00
|
||||
} }
|
||||
|
||||
; Set up default IO values
|
||||
|
||||
Reference in new issue
Block a user