Add MX directives. Turn off shadowing on ROM3 GS.

This commit is contained in:
Bobbi Webber-Manners 2021-09-25 19:12:25 -04:00
parent 694e5fda51
commit 0efc302833
4 changed files with 7 additions and 4 deletions

Binary file not shown.

View File

@ -357,6 +357,7 @@ PRCHR4 JSR CHARADDR ; Find character address
CLC ; Enter 65816 native mode
XCE
SEP #$30 ; 8-bit M and X
MX %11 ; Tell Merlin about it
STA [VDUADDR],Y
SEC ; Return to emulation mode
XCE
@ -401,6 +402,7 @@ GETCHRC JSR CHARADDR ; Find character address
CLC ; Enter 65816 native mode
XCE
SEP #$30 ; 8-bit M and X
MX %11 ; Tell Merlin about it
LDA [VDUADDR],Y
SEC ; Enter emulation mode
XCE
@ -763,6 +765,7 @@ SCROLLGS LDX #1
:L5 CLC ; Enter 65816 native mode
XCE
SEP #$30 ; 8-bit M and X
MX %11 ; Tell Merlin about it
LDA [VDUADDR],Y
STA [VDUADDR2],Y
SEC ; Enter emulation mode

View File

@ -85,8 +85,8 @@ RESET TSX
LDA $C05A ; AN1 off
LDA $C05D ; AN2 on
LDA $C05F ; AN3 on
LDA #$20 ; PAGE2 shadow on ROM3 GS
TRB $C035
** LDA #$20 ; PAGE2 shadow on ROM3 GS
** TRB $C035
>>> XF2AUX,AUXMOS
RTS

View File

@ -12,8 +12,8 @@ START JSR CROUT
JSR SETPRFX
JSR DISCONN
LDA #$20 ; PAGE2 shadow on ROM3 GS
TRB $C035
** LDA #$20 ; PAGE2 shadow on ROM3 GS
** TRB $C035
JSR ROMMENU
LDA #>AUXADDR ; Address in aux