Modified sjp2 fix
This commit is contained in:
@@ -526,15 +526,14 @@ reg2102w:
|
|||||||
; OAM address register
|
; OAM address register
|
||||||
reg2103w:
|
reg2103w:
|
||||||
cmp byte[oamlow],1
|
cmp byte[oamlow],1
|
||||||
je .afteroamlow
|
jne .afteroamlow
|
||||||
ret
|
|
||||||
.afteroamlow
|
|
||||||
mov byte[oamlow],0
|
mov byte[oamlow],0
|
||||||
mov bl,al
|
mov bl,al
|
||||||
and bl,01h
|
and bl,01h
|
||||||
shr word[oamaddr],1
|
shr word[oamaddr],1
|
||||||
mov [oamaddr+1],bl
|
mov [oamaddr+1],bl
|
||||||
shl word[oamaddr],1
|
shl word[oamaddr],1
|
||||||
|
.afteroamlow
|
||||||
cmp word[poamaddrs],200h
|
cmp word[poamaddrs],200h
|
||||||
jbe .notinvptr
|
jbe .notinvptr
|
||||||
cmp word[oamaddr],200h
|
cmp word[oamaddr],200h
|
||||||
|
|||||||
Reference in New Issue
Block a user