Captain America fixed

This commit is contained in:
zsknight
2001-05-20 11:00:00 +00:00
parent 983058e836
commit 04eeb7210c

View File

@@ -2560,7 +2560,6 @@ NEWSYM regaccessbankr8
.invaccess .invaccess
cmp ecx,6000h cmp ecx,6000h
jae .hiromsram jae .hiromsram
xor al,al
mov al,ch mov al,ch
ret ret
.hiromsram .hiromsram
@@ -2577,11 +2576,11 @@ NEWSYM regaccessbankr8
jb .dsp1 jb .dsp1
cmp bl,30h cmp bl,30h
jae .hiromsramok jae .hiromsramok
mov al,080h xor al,al
xor ebx,ebx xor ebx,ebx
ret ret
.dsp1 .dsp1
mov al,80h xor al,al
cmp byte[DSP1Type],2 cmp byte[DSP1Type],2
jne .nodsp1 jne .nodsp1
call DSP1Read8b call DSP1Read8b
@@ -2665,7 +2664,6 @@ NEWSYM regaccessbankr16
; jmp regexiter ; jmp regexiter
cmp ecx,6000h cmp ecx,6000h
jae .hiromsram jae .hiromsram
xor ax,ax
mov al,ch mov al,ch
mov ah,ch mov ah,ch
ret ret
@@ -2683,11 +2681,11 @@ NEWSYM regaccessbankr16
jb .dsp1 jb .dsp1
cmp bl,30h cmp bl,30h
jae .hiromsramok jae .hiromsramok
mov ax,08080h xor ax,ax
xor ebx,ebx xor ebx,ebx
ret ret
.dsp1 .dsp1
mov ax,8080h xor ax,ax
cmp byte[DSP1Type],2 cmp byte[DSP1Type],2
jne .nodsp1 jne .nodsp1
call DSP1Read16b call DSP1Read16b
@@ -3116,7 +3114,7 @@ NEWSYM membank0r8chip ; 6000-7FFF
je .sfxram je .sfxram
cmp byte[SA1Enable],1 cmp byte[SA1Enable],1
je .sa1ram je .sa1ram
mov al,80h xor al,al
cmp byte[DSP1Type],2 cmp byte[DSP1Type],2
jne .nodsp1 jne .nodsp1
call DSP1Read8b call DSP1Read8b
@@ -3183,6 +3181,7 @@ NEWSYM membank0r16inv ; 4800-5FFF
add ecx,ebx add ecx,ebx
mov al,ch mov al,ch
mov ah,ch mov ah,ch
mov ax,8080h
ret ret
NEWSYM membank0r16chip ; 6000-FFFF NEWSYM membank0r16chip ; 6000-FFFF
add ecx,ebx add ecx,ebx
@@ -3190,7 +3189,7 @@ NEWSYM membank0r16chip ; 6000-FFFF
je .sfxram je .sfxram
cmp byte[SA1Enable],1 cmp byte[SA1Enable],1
je .sa1ram je .sa1ram
mov ax,8080h xor ax,ax
cmp byte[DSP1Type],2 cmp byte[DSP1Type],2
jne .nodsp1 jne .nodsp1
call DSP1Read16b call DSP1Read16b
@@ -3360,12 +3359,12 @@ NEWSYM membank0r8
.invaccess .invaccess
cmp ecx,6000h cmp ecx,6000h
jae .dsp1 jae .dsp1
mov al,80h mov al,ch
ret ret
.dsp1 .dsp1
cmp byte[SFXEnable],1 cmp byte[SFXEnable],1
je .sfxram je .sfxram
mov al,80h xor al,al
cmp byte[DSP1Type],2 cmp byte[DSP1Type],2
jne .nodsp1 jne .nodsp1
call DSP1Read8b call DSP1Read8b
@@ -3419,12 +3418,12 @@ NEWSYM membank0r16
.invaccess .invaccess
cmp ecx,6000h cmp ecx,6000h
jae .dsp1 jae .dsp1
mov ax,8080h xor ax,ax
ret ret
.dsp1 .dsp1
cmp byte[SFXEnable],1 cmp byte[SFXEnable],1
je .sfxram je .sfxram
mov ax,8080h xor ax,ax
cmp byte[DSP1Type],2 cmp byte[DSP1Type],2
jne .nodsp1 jne .nodsp1
call DSP1Read16b call DSP1Read16b
@@ -4416,7 +4415,7 @@ NEWSYM SDD1EntryPtr, dd 0
NEWSYM LatestBank, dd 0FFFFh NEWSYM LatestBank, dd 0FFFFh
NEWSYM memaccessbankr8sdd1 NEWSYM memaccessbankr8sdd1
; TestSDD1 ; TestSDD1
jmp debugdecompress ; jmp debugdecompress
; call FillArray ; call FillArray
mov byte[.found4],0 mov byte[.found4],0