mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-28 00:30:45 +00:00
fix DHGR mode on IIgs
This commit is contained in:
parent
bac5980d0f
commit
79a6ecd479
@ -100,7 +100,7 @@ SHRArtworkCallback
|
||||
; IIgs-specific softswitches for graphics and memory modes.
|
||||
; NOTE: THIS ROUTINE WILL CRASH ON AN APPLE //C due to writing to $C029,
|
||||
; so it is imperative that the caller ensures the machine type.
|
||||
; Thanks to John Brooks for explaining all of this to me.
|
||||
; Thanks to John Brooks for explaining all of this to me. Twice.
|
||||
; out: text page clobbered (but screen holes preserved)
|
||||
; $2000..$9FFF/aux cleared
|
||||
;------------------------------------------------------------------------------
|
||||
|
@ -59,12 +59,9 @@ Home
|
||||
lda MachineStatus
|
||||
and #SUPPORTS_SHR
|
||||
beq @noSHR
|
||||
lda SHADOW
|
||||
ora #$08
|
||||
sta SHADOW ; turn off auxmem-to-bank-E1 shadowing
|
||||
lda NEWVIDEO
|
||||
and #$7F
|
||||
sta NEWVIDEO ; get out of SHR mode
|
||||
and #$3F
|
||||
sta NEWVIDEO ; get out of SHR mode and linear mode
|
||||
lda #$F0
|
||||
sta TBCOLOR ; white text on black background
|
||||
lda #$00
|
||||
|
Loading…
x
Reference in New Issue
Block a user