Go to the source code of this file.
|
| void * | IopAlloc (int size) |
| | Allocate IOP memory from the lowest free area.
|
| void | IopFree (void *block) |
| | Release a block IopAlloc() returned.
|
| int | CreateSynthThread (void(*entry)(), int priority) |
| | Create a dormant C thread with the module's stack size.
|
| void | SpuSetParam (unsigned short entry, unsigned short value) |
| | Write an SPU2 parameter register.
|
◆ IopAlloc()
| void * IopAlloc |
( |
int | size | ) |
|
Allocate IOP memory from the lowest free area.
- Parameters
-
- Returns
- The block, or null when none fits.
- Ghidra address:
- NTSC-U/C: 0x00005fe0
- Ghidra address:
- PAL: 0x00005fe0
◆ IopFree()
| void IopFree |
( |
void * | block | ) |
|
Release a block IopAlloc() returned.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00006008
- Ghidra address:
- PAL: 0x00006008
◆ CreateSynthThread()
| int CreateSynthThread |
( |
void(* | entry )(), |
|
|
int | priority ) |
Create a dormant C thread with the module's stack size.
- Parameters
-
| entry | Entry point. |
| priority | Starting priority, where a smaller value runs first. |
- Returns
- The thread identifier, or a negative error code.
- Ghidra address:
- NTSC-U/C: 0x00005e18
- Ghidra address:
- PAL: 0x00005e18
◆ SpuSetParam()
| void SpuSetParam |
( |
unsigned short | entry, |
|
|
unsigned short | value ) |
Write an SPU2 parameter register.
- Parameters
-
| entry | Entry value, a register combined with a voice and a core. |
| value | Value to write. |
- Ghidra address:
- NTSC-U/C: 0x00006030
- Ghidra address:
- PAL: 0x00006030