Files
alttpr-baserom/zsnes.asm
Thomas Prescott 4ec6acfae7 Remove ZSNES graphic
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.
2021-10-05 14:11:55 -05:00

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