|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
#include <stdint.h>#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"
Macros | |
| #define | SPU_DELAY (*(volatile uint32_t *)0xbf801014) |
| #define | ONESHOT_ADDR 0x1080u |
| #define | LOOP_ADDR 0x1180u |
| #define | BLOCKS 16 |
| #define | READS 20 |
Functions | |
| int | main () |
| #define BLOCKS 16 |
| #define LOOP_ADDR 0x1180u |
| #define ONESHOT_ADDR 0x1080u |
| #define READS 20 |
| #define SPU_DELAY (*(volatile uint32_t *)0xbf801014) |
| int main | ( | void | ) |