FF3 cursor bug fixes, sprite rendering fixes to support RTO properly, FF3 mode 7 DMA timing fixings

This commit is contained in:
pagefault
2006-02-18 08:28:09 +00:00
parent 0791bf126c
commit 8223043f2c

View File

@@ -1157,7 +1157,7 @@ SECTION .text
cmp bx,[curypos] cmp bx,[curypos]
jb .overflow jb .overflow
mov al,[sprlefttot+ebx] mov al,[sprlefttot+ebx]
cmp al,37 cmp al,45
ja near .overflow ja near .overflow
inc byte[sprlefttot+ebx] inc byte[sprlefttot+ebx]
add ebx,[addr2add] add ebx,[addr2add]
@@ -1198,7 +1198,7 @@ SECTION .text
cmp bx,[curypos] cmp bx,[curypos]
jb .overflow2 jb .overflow2
mov al,[sprlefttot+ebx] mov al,[sprlefttot+ebx]
cmp al,37 cmp al,45
ja near .overflow2 ja near .overflow2
inc byte[sprlefttot+ebx] inc byte[sprlefttot+ebx]
add ebx,[addr2add] add ebx,[addr2add]
@@ -1823,7 +1823,7 @@ SECTION .text
cmp bx,[curypos] cmp bx,[curypos]
jb .overflow jb .overflow
mov al,[sprlefttot+ebx] mov al,[sprlefttot+ebx]
cmp al,37 cmp al,45
ja near .overflow ja near .overflow
inc byte[sprlefttot+ebx] inc byte[sprlefttot+ebx]
mov edi,[.cpri] mov edi,[.cpri]
@@ -1865,7 +1865,7 @@ SECTION .text
cmp bx,[curypos] cmp bx,[curypos]
jb .overflow jb .overflow
mov al,[sprlefttot+ebx] mov al,[sprlefttot+ebx]
cmp al,37 cmp al,45
ja near .overflow2 ja near .overflow2
inc byte[sprlefttot+ebx] inc byte[sprlefttot+ebx]
mov edi,[.cpri] mov edi,[.cpri]