Deleted several unused modules and some commented code Reorganized some routines to clean up modules Moved some memory into mirrored WRAM Refactored NMI hook aux routine Removed old fake flipper fix
16 lines
390 B
NASM
16 lines
390 B
NASM
;--------------------------------------------------------------------------------
|
|
CheckZSNES:
|
|
SEP #$28
|
|
LDA.b #$FF
|
|
CLC
|
|
ADC.b #$FF
|
|
CMP.b #$64
|
|
CLD
|
|
BEQ .zsnes
|
|
REP #$20
|
|
LDA.w #$01FF : TCS ; thing we wrote over - initialize stack
|
|
JML.l ReturnCheckZSNES
|
|
.zsnes
|
|
JML DontUseZSNES
|
|
;--------------------------------------------------------------------------------
|