replaced 'GO 64' hotfix with a (hopefully) proper solution
This commit is contained in:
1 parent
71f027cdfb
commit
3a2a59837c
4 files changed
+9
-15
No files matched your search
@@ -112,8 +112,3 @@
|
||||
; --- Other
|
||||
|
||||
;; #CONFIG# COMPRESSION_LVL_2 NO
|
||||
|
||||
|
||||
; --- Temporary hotfixes
|
||||
|
||||
;; #CONFIG# HOTFIX_CHARPTR YES ; workaround for https://github.com/MEGA65/mega65-core/issues/308
|
||||
@@ -17,9 +17,16 @@ viciv_shutdown:
|
||||
lda #$03
|
||||
sta MISC_EMU
|
||||
|
||||
; Set misc VIC-IV flags
|
||||
; Restore chargen location
|
||||
|
||||
lda #$10
|
||||
sta VIC_CHARPTR+1
|
||||
lda #$00
|
||||
sta VIC_CHARPTR+0
|
||||
sta VIC_CHARPTR+2
|
||||
|
||||
lda #%00000000
|
||||
; Set misc VIC-IV flags
|
||||
; .A is %00000000 here
|
||||
sta VIC_CTRLB ; disable extended resolution and attributes, disable 3.5 MHz mode
|
||||
jsr mega65_viciv_setctrl_AC ; enable C64 character set, initialize remaining CTRLA / CTRLC bits
|
||||
|
||||
|
||||
@@ -80,10 +80,8 @@ scnkey_toggle_if_needed: ; entry for SCNKEY (TWW/CTR version)
|
||||
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
|
||||
!ifndef HOTFIX_CHARPTR {
|
||||
jsr M65_MODEGET
|
||||
bcc @2
|
||||
}
|
||||
|
||||
; Toggling charsets for C64 mode
|
||||
|
||||
@@ -93,15 +91,12 @@ scnkey_toggle_if_needed: ; entry for SCNKEY (TWW/CTR version)
|
||||
@1:
|
||||
rts
|
||||
|
||||
!ifndef HOTFIX_CHARPTR {
|
||||
|
||||
; Toggling charsets for M65 mode
|
||||
@2:
|
||||
lda VIC_CHARPTR+1
|
||||
eor #%00001000
|
||||
sta VIC_CHARPTR+1
|
||||
rts
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
@@ -91,8 +91,6 @@ m65_scrmodeset_internal: ; entry point for M65_MODE65
|
||||
stx VIC_COLPTR+0
|
||||
stx VIC_COLPTR+1
|
||||
|
||||
!ifndef CONFIG_HOTFIX_CHARPTR {
|
||||
|
||||
; Set the following location:
|
||||
; - VIC_CHARPTR - for character generator location
|
||||
|
||||
@@ -102,7 +100,6 @@ m65_scrmodeset_internal: ; entry point for M65_MODE65
|
||||
sta VIC_CHARPTR+1
|
||||
lda #$01
|
||||
sta VIC_CHARPTR+2
|
||||
}
|
||||
|
||||
; Set the following locations:
|
||||
; - M65_SCRGUARD, M65_COLGUARD - guards for virtual screen end
|
||||
|
||||
Reference in new issue
Block a user