Auto Increase DMA Subroutine
(TheEliteOne)
Lui t0 $First half of the real pointer, +1 if the second half is negitive
Lw t0 $Second half of the real pointer(t0)
Ori t1 0 $Speed to inc by
Add t3 t1 t2
Sw t3 $Offset(t0)
Jr ra
Auto Decrease DMA Subroutine
(TheEliteOne)
Lui t0 $First half of the real pointer, +1 if the second half is negitive
Lw t0 $Second half of the real pointer(t0)
Ori t1 0 $Speed to dec by
Sub t3 t1 t2
Sw t3 $Offset(t0)
Jr ra