Fix for FFMQ

This commit is contained in:
zsknight
2001-07-03 22:28:54 +00:00
parent 9e283c7043
commit d3fc923826
6 changed files with 24 additions and 3 deletions

View File

@@ -1372,6 +1372,10 @@ COPemulmode
jae .upperlower jae .upperlower
mov [initaddrl],esi mov [initaddrl],esi
add esi,eax add esi,eax
cmp byte[esi],0CBh
jne .notwai
mov byte[intrset],2
.notwai
test dl,00010000b test dl,00010000b
jnz .setx jnz .setx
endloop endloop
@@ -1384,6 +1388,10 @@ COPemulmode
je .dma je .dma
mov [initaddrl],esi mov [initaddrl],esi
add esi,eax add esi,eax
cmp byte[esi],0CBh
jne .notwai2
mov byte[intrset],2
.notwai2
test dl,00010000b test dl,00010000b
jnz .setx jnz .setx
endloop endloop

View File

@@ -1363,6 +1363,10 @@ COPemulmode
mov esi,[snesmmap+ebx*4] mov esi,[snesmmap+ebx*4]
mov [initaddrl],esi mov [initaddrl],esi
add esi,eax add esi,eax
cmp byte[esi],0CBh
jne .notwai
mov byte[intrset],2
.notwai
test dl,00010000b test dl,00010000b
jnz .setx jnz .setx
endloop endloop
@@ -1372,6 +1376,10 @@ COPemulmode
jae .upperlower jae .upperlower
mov [initaddrl],esi mov [initaddrl],esi
add esi,eax add esi,eax
cmp byte[esi],0CBh
jne .notwai2
mov byte[intrset],2
.notwai2
test dl,00010000b test dl,00010000b
jnz .setx jnz .setx
endloop endloop

View File

@@ -1377,6 +1377,10 @@ COPemulmode
mov esi,[snesmmap+ebx*4] mov esi,[snesmmap+ebx*4]
mov [initaddrl],esi mov [initaddrl],esi
add esi,eax add esi,eax
cmp byte[esi],0CBh
jne .notwai
mov byte[intrset],2
.notwai
test dl,00010000b test dl,00010000b
jnz near .setx jnz near .setx
endloop endloop
@@ -1386,6 +1390,10 @@ COPemulmode
jae near .upperlower jae near .upperlower
mov [initaddrl],esi mov [initaddrl],esi
add esi,eax add esi,eax
cmp byte[esi],0CBh
jne .notwai2
mov byte[intrset],2
.notwai2
test dl,00010000b test dl,00010000b
jnz near .setx jnz near .setx
endloop endloop

View File

@@ -1319,7 +1319,6 @@ COp7Em16:; ROR a,x
endloop endloop
COp40: ; RTI s COp40: ; RTI s
mov byte[intrset],2
RTIMacro RTIMacro
COp6B: ; RTL s COp6B: ; RTL s
RTLMacro RTLMacro

View File

@@ -1312,7 +1312,6 @@ COp7Em16:; ROR a,x
endloop endloop
COp40: ; RTI s COp40: ; RTI s
mov byte[intrset],2
RTIMacro RTIMacro
COp6B: ; RTL s COp6B: ; RTL s
RTLMacro RTLMacro

View File

@@ -1312,7 +1312,6 @@ COp7Em16:; ROR a,x
endloop endloop
COp40: ; RTI s COp40: ; RTI s
mov byte[intrset],2
RTIMacro RTIMacro
COp6B: ; RTL s COp6B: ; RTL s
RTLMacro RTLMacro