improved tape support with Mega65 native mode
This commit is contained in:
1 parent
11aa1f114a
commit
ffdc67d5ca
8 files changed
+49
-50
No files matched your search
@@ -8,7 +8,7 @@ M65_MODE64:
|
||||
|
||||
sei
|
||||
|
||||
// XXX provide full implementation
|
||||
// XXX provide full implementation - switch back to normal text mode
|
||||
|
||||
// Set the magic string to mark legacy mode
|
||||
|
||||
@@ -17,6 +17,15 @@ M65_MODE64:
|
||||
sta M65_MAGICSTR+1
|
||||
sta M65_MAGICSTR+2
|
||||
|
||||
// Reenable badlines and slow interrupt emulation
|
||||
|
||||
lda #$03
|
||||
sta MISC_EMU
|
||||
|
||||
// Switch to VIC-II mode
|
||||
|
||||
sta VIC_KEY
|
||||
|
||||
// Reenable interrupts
|
||||
|
||||
cli
|
||||
|
||||
@@ -21,10 +21,19 @@ M65_MODE65:
|
||||
lda #$35 // '5'
|
||||
sta M65_MAGICSTR+2
|
||||
|
||||
// XXX find a better place for code below
|
||||
|
||||
// Switch VIC to VIC-IV mode
|
||||
|
||||
jsr viciv_unhide
|
||||
|
||||
// Disable badlines and slow interrupt emulation
|
||||
|
||||
lda #$00
|
||||
sta MISC_EMU
|
||||
|
||||
// XXX
|
||||
|
||||
// Set screen mode to 80x25
|
||||
|
||||
lda #$01
|
||||
|
||||
Reference in new issue
Block a user