|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
#include "common/hardware/dma.h"#include "common/hardware/hwregs.h"#include "common/hardware/pcsxhw.h"#include "common/hardware/spu.h"#include "common/syscalls/syscalls.h"#include <stdint.h>
Macros | |
| #define | SPU_DELAY (*(volatile uint32_t *)0xbf801014) |
| #define | SPU_UPLOAD_ADDR 0x1080u |
| #define | CAP_LO 0x0800u |
| #define | CAP_HI 0x0A00u |
| #define | MAX_POLLS 4000000u |
Functions | |
| int | main () |
| #define CAP_HI 0x0A00u |
| #define CAP_LO 0x0800u |
| #define MAX_POLLS 4000000u |
| #define SPU_UPLOAD_ADDR 0x1080u |