Made battery for SFX more meaningful, fixed SRAM not being cleared.

This commit is contained in:
n-a-c-h
2004-10-12 18:56:55 +00:00
parent 59e59453a8
commit cd7798dd8d
4 changed files with 15 additions and 21 deletions

View File

@@ -1394,17 +1394,17 @@ NEWSYM endprog
call Write_File
call Close_File
.nosram
cmp byte[SFXSRAM],0
je .nosfxsram
cmp byte[SFXBATT],0
je .nosfxbatt
mov edx,fnames+1
call Create_File
jc .nosfxsram
jc .nosfxbatt
mov bx,ax
mov ecx,65536
mov edx,[sfxramdata]
call Write_File
call Close_File
.nosfxsram
.nosfxbatt
cmp byte[SETAEnable],0
je .nosetasram
@@ -1521,7 +1521,7 @@ NEWSYM initaddrl, dd 0 ; initial address location
NEWSYM NetSent, dd 0
NEWSYM nextframe, dd 0 ; tick count for timer
NEWSYM curfps, db 0 ; frame/sec for current screen
NEWSYM SFXSRAM, db 0
NEWSYM SFXBATT, db 0
NEWSYM newgfxerror, db 'NEED MEMORY FOR GFX ENGINE',0
NEWSYM newgfxerror2, db 'NEED 320x240 FOR NEW GFX 16B',0
;newgfxerror db 'NEW GFX IN 16BIT IS N/A',0