From ea46d05aed0343c20d8fdfaa0e67d54d51e8e2a0 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Fri, 22 Nov 2019 09:11:12 +0800 Subject: Added long awaited CD-ROM library and loads of fixes, see changelog for details --- libpsn00b/psxgpu/drawsync.s | 4 ++-- libpsn00b/psxgpu/readme.txt | 8 +++----- libpsn00b/psxgpu/resetgraph.s | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'libpsn00b/psxgpu') 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 -- cgit v1.2.3