diff options
Diffstat (limited to 'libpsn00b/psxgpu')
| -rw-r--r-- | libpsn00b/psxgpu/drawsync.s | 4 | ||||
| -rw-r--r-- | libpsn00b/psxgpu/readme.txt | 8 | ||||
| -rw-r--r-- | libpsn00b/psxgpu/resetgraph.s | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/libpsn00b/psxgpu/drawsync.s b/libpsn00b/psxgpu/drawsync.s index 66d37e2..2e29381 100644 --- a/libpsn00b/psxgpu/drawsync.s +++ b/libpsn00b/psxgpu/drawsync.s @@ -24,7 +24,7 @@ DrawSync: nop .Ldma_wait: - lw $v0, D2_CHCR + lw $v0, D2_CHCR($a0) nop srl $v0, 24 andi $v0, 0x1 @@ -64,4 +64,4 @@ DrawSync: jr $ra srl $v0, 16 -
\ No newline at end of file + diff --git a/libpsn00b/psxgpu/readme.txt b/libpsn00b/psxgpu/readme.txt index 8fe439b..b626e1d 100644 --- a/libpsn00b/psxgpu/readme.txt +++ b/libpsn00b/psxgpu/readme.txt @@ -5,9 +5,9 @@ Licensed under Mozilla Public License Open source implementation of the GPU library written mostly in MIPS assembly. Supports DMA transfers for ordering table draw and transferring -image data to VRAM. The syntax is intentionally made to closely resemble -Sony's syntax for familiarity and to make porting homebrew made using the -official SDK to PSn00bSDK a little easier. +image data to and from VRAM. The syntax is intentionally made to closely +resemble Sony's syntax for familiarity and to make porting homebrew made +using the official SDK to PSn00bSDK a little easier. Library developer(s): @@ -25,5 +25,3 @@ Todo list: * ClearOTag() function (non reverse version of ClearOTagR()) yet to be implemented (but should be trivial). - - * StoreImage() equivalent yet to be implemented. diff --git a/libpsn00b/psxgpu/resetgraph.s b/libpsn00b/psxgpu/resetgraph.s index 93ce185..b956873 100644 --- a/libpsn00b/psxgpu/resetgraph.s +++ b/libpsn00b/psxgpu/resetgraph.s @@ -4,7 +4,7 @@ .section .text -.set ISR_STACK_SIZE, 1024 +.set ISR_STACK_SIZE, 2048 .global ResetGraph # Resets the GPU and installs a .type ResetGraph, @function # VSync event handler |
