This graphic takes up too much space. Instead if the check fails just do a STP and don't include any of the ZSNES graphics. If we want to add some other message here later we can, but it's more of a nice to have than a necessity.
17 lines
374 B
NASM
17 lines
374 B
NASM
;--------------------------------------------------------------------------------
|
|
CheckZSNES:
|
|
SEP #$28
|
|
LDA #$FF
|
|
CLC
|
|
ADC #$FF
|
|
CMP #$64
|
|
CLD
|
|
BEQ .zsnes
|
|
REP #$20
|
|
LDA #$01FF : TCS ; thing we wrote over - initialize stack
|
|
JML.l ReturnCheckZSNES
|
|
.zsnes
|
|
|
|
STP ; !
|
|
;--------------------------------------------------------------------------------
|