native MEGA65 mode now runs with disabled hot registers (fixes IEC access)
This commit is contained in:
1 parent
25dec8848a
commit
b3096fbb17
5 files changed
+29
No files matched your search
@@ -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 !-
|
||||
Reference in new issue
Block a user