Added check for GS in SHRSETTCOL. Fixes crash on //e.

This commit is contained in:
Bobbi Webber-Manners 2022-12-28 03:59:52 -05:00
parent 299ca47246
commit 6301beda08
3 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -621,7 +621,10 @@ SHRCLEAR PHP ; Disable interrupts
* Set text colour
* A=txt colour
SHRSETTCOL PHA
SHRSETTCOL BIT VDUBANK ; Check it is a GS ..
BMI :GS ; .. easier to check here
RTS
:GS PHA
LDX VDUPIXELS ; Pixels per byte
CPX #$02 ; 2 is 320-mode (MODE 1)
BNE :MODE0

View File

@ -1,2 +1,2 @@
#mame -w apple2ee -debug -sl5 mouse -sl7 cffa2 -harddisk1 ~/Personal/Development/Applecorn/applecorn.po
mame -w apple2gs -debug -sl7 cffa2 -harddisk1 ~/Personal/Development/Applecorn/applecorn.po -harddisk2 tests/JGHMusic2.po
mame -w apple2ee -debug -sl5 mouse -sl7 cffa2 -harddisk1 ~/Personal/Development/Applecorn/applecorn.po
#mame -w apple2gs -debug -sl7 cffa2 -harddisk1 ~/Personal/Development/Applecorn/applecorn.po -harddisk2 tests/JGHMusic2.po