Files
Persona2-PSX-asm-sources/EP_4bitPattern.asm
sShemet 8e506a6912 init
2025-10-04 11:53:04 +05:00

49 lines
1.2 KiB
NASM

;4bit table pattern
lui v0,0x8001
lui t9,0x1f80
ori t9,t9,0x2e0 ;Pattern addr 1f8002e0
addiu t8,v0,0x5fc ;r15 = 800105fc
lwl t5,0x3(t8)
lwr t5,0x0(t8)
lwl t7,0x7(t8)
lwr t7,0x4(t8)
swl t5,0x3(t9)
swr t5,0x0(t9)
swl t7,0x7(t9)
swr t7,0x4(t9)
lwl t5,0xb(t8)
lwr t5,0x8(t8)
lwl t7,0xf(t8)
lwr t7,0xc(t8)
swl t5,0xb(t9)
swr t5,0x8(t9)
swl t7,0xf(t9)
swr t7,0xc(t9)
lwl t5,0x13(t8)
lwr t5,0x10(t8)
lwl t7,0x17(t8)
lwr t7,0x14(t8)
swl t5,0x13(t9)
swr t5,0x10(t9)
swl t7,0x17(t9)
swr t7,0x14(t9)
lwl t5,0x1b(t8)
lwr t5,0x18(t8)
lwl t7,0x1f(t8)
lwr t7,0x1c(t8)
swl t5,0x1b(t9)
swr t5,0x18(t9)
swl t7,0x1f(t9)
swr t7,0x1c(t9)