native MEGA65 mode now runs with disabled hot registers (fixes IEC access)

This commit is contained in:
FeralChild64 committed 2020-09-02 21:39:32 +02:00
1 parent 25dec8848a
commit b3096fbb17
5 files changed
+29

No files matched your search

+17
View File
@@ -22,4 +22,21 @@ viciv_init:
lda #%01000000 // enable C65 character set
sta VIC_CTRLA
// Disable hot registers
// FALLTROUGH
viciv_hotregs_off:
lda VIC_SRH
and #$7F
!:
sta VIC_SRH
rts
viciv_hotregs_on:
lda VIC_SRH
ora #$80
bra !-