fix DHGR mode on IIgs

This commit is contained in:
4am 2019-06-30 13:59:06 -04:00
parent bac5980d0f
commit 79a6ecd479
2 changed files with 3 additions and 6 deletions

View File

@ -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
;------------------------------------------------------------------------------

View File

@ -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