Modified sjp2 fix

This commit is contained in:
z_demo_z
2001-09-04 20:37:07 +00:00
parent 6d742a5e5b
commit 5f9186f92b

View File

@@ -526,15 +526,14 @@ reg2102w:
; OAM address register
reg2103w:
cmp byte[oamlow],1
je .afteroamlow
ret
.afteroamlow
jne .afteroamlow
mov byte[oamlow],0
mov bl,al
and bl,01h
shr word[oamaddr],1
mov [oamaddr+1],bl
shl word[oamaddr],1
.afteroamlow
cmp word[poamaddrs],200h
jbe .notinvptr
cmp word[oamaddr],200h