Vortex now working again

This commit is contained in:
pagefault
2001-08-12 22:43:36 +00:00
parent 32b8f68074
commit 5e3ab02ba6
2 changed files with 15 additions and 2 deletions

View File

@@ -317,8 +317,8 @@ NEWSYM divres, dw 0 ; quotent of divc/divb
NEWSYM multres, dw 0 ; result of multa * multb/remainder of divc/divb NEWSYM multres, dw 0 ; result of multa * multb/remainder of divc/divb
NEWSYM latchx, dw 0 ; latched x value NEWSYM latchx, dw 0 ; latched x value
NEWSYM latchy, dw 0 ; latched y value NEWSYM latchy, dw 0 ; latched y value
NEWSYM latchxr, db 1 ; low or high byte read for x value NEWSYM latchxr, db 0 ; low or high byte read for x value
NEWSYM latchyr, db 1 ; low or high byte read for y value NEWSYM latchyr, db 0 ; low or high byte read for y value
NEWSYM frskipper, db 0 ; used to control frame skipping NEWSYM frskipper, db 0 ; used to control frame skipping
NEWSYM winl1, db 0 ; window 1 left position NEWSYM winl1, db 0 ; window 1 left position
NEWSYM winr1, db 0 ; window 1 right position NEWSYM winr1, db 0 ; window 1 right position

View File

@@ -1451,6 +1451,7 @@ NEWSYM headerhack
mov byte[ENVDisable],0 mov byte[ENVDisable],0
EXTSYM latchxr EXTSYM latchxr
EXTSYM latchyr
mov esi,[romdata] mov esi,[romdata]
add esi,07FC0h add esi,07FC0h
cmp dword[esi],'Supe' cmp dword[esi],'Supe'
@@ -1517,6 +1518,18 @@ NEWSYM headerhack
.marvelous .marvelous
.notrend .notrend
mov esi,[romdata]
add esi,07FC0h
cmp dword[esi],'Spin'
jne .notspindizzy
cmp dword[esi+4],' Diz'
jne .notspindizzy
cmp dword[esi+8],'zy W'
jne .notspindizzy
mov word[latchxr],1
mov word[latchyr],1
.notspindizzy
; Lamborgini Challenge - -p 110 ; Lamborgini Challenge - -p 110
mov esi,[romdata] mov esi,[romdata]
add esi,07FC0h add esi,07FC0h