|
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_ENDX_LOW (*(volatile uint16_t *)0x1f801d9c) |
| #define | SPU_ENDX_HIGH (*(volatile uint16_t *)0x1f801d9e) |
| #define | SPU_UPLOAD_ADDR 0x1080u |
Functions | |
| int | main () |
| #define SPU_ENDX_HIGH (*(volatile uint16_t *)0x1f801d9e) |
| #define SPU_ENDX_LOW (*(volatile uint16_t *)0x1f801d9c) |
| #define SPU_UPLOAD_ADDR 0x1080u |