Fixed a slew of SRAM problems.
This commit is contained in:
@@ -94,7 +94,7 @@ EXTSYM SRAMDir,SRAMDrive,cfgloadsdir,fnamest,statefileloc
|
||||
EXTSYM ForcePal,ForceROMTiming,ForceHiLoROM,InitDir,InitDrive,enterpress,frameskip
|
||||
EXTSYM maxromspace,curromspace,infoloc, patchfile
|
||||
EXTSYM gotoroot,headdata,printnum,romispal
|
||||
EXTSYM InitFxTables,SFXBATT,SfxR1,SfxR2,SfxSCMR,SfxSFR,finterleave
|
||||
EXTSYM InitFxTables,SfxR1,SfxR2,SfxSCMR,SfxSFR,finterleave
|
||||
EXTSYM initregr,initregw,memtabler16,DSP1Read16b3F,memaccessbankr16
|
||||
EXTSYM memtabler8,DSP1Read8b3F,memaccessbankr8,memtablew16,DSP1Write16b
|
||||
EXTSYM memaccessbankw16,memtablew8,DSP1Write8b,memaccessbankw8,DSP1Write16b3F
|
||||
@@ -4134,7 +4134,6 @@ NEWSYM CheckROMType
|
||||
mov byte[RTCEnable],0
|
||||
mov byte[SA1Enable],0
|
||||
mov byte[SDD1Enable],0
|
||||
mov byte[SFXBATT],0
|
||||
mov byte[OBCEnable],0
|
||||
mov byte[CHIPBATT],0
|
||||
mov byte[SGBEnable],0
|
||||
@@ -4215,13 +4214,13 @@ NEWSYM CheckROMType
|
||||
cmp ax,01520h
|
||||
jne .notSFXC
|
||||
mov byte[SFXEnable],1
|
||||
mov byte[SFXBATT],1 ;Contains Battery
|
||||
mov byte[CHIPBATT],1 ;Contains Battery
|
||||
jmp .endchpdtct
|
||||
.notSFXC
|
||||
cmp ax,01A20h
|
||||
jne .notSFXD
|
||||
mov byte[SFXEnable],1
|
||||
mov byte[SFXBATT],1 ;Contains Battery
|
||||
mov byte[CHIPBATT],1 ;Contains Battery
|
||||
jmp .endchpdtct
|
||||
.notSFXD
|
||||
cmp ax,05535h
|
||||
|
||||
Reference in New Issue
Block a user