Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Macros | Functions
revstream.c File Reference
#include "common/hardware/dma.h"
#include "common/hardware/hwregs.h"
#include "common/hardware/spu.h"
#include "common/syscalls/syscalls.h"
#include <stdint.h>
Include dependency graph for revstream.c:

Macros

#define SPU_DELAY   (*(volatile uint32_t *)0xbf801014)
 
#define SPU_UPLOAD_ADDR   0x1080u
 
#define SPU_REVERB_SIZE   0x26c0u
 
#define SPU_REVERB_PRESET   kReverbRoomPreset
 
#define SPU_REVERB_BASE   (0x80000u - SPU_REVERB_SIZE)
 
#define SPU_REVERB_BASE_REG   (SPU_REVERB_BASE >> 3)
 
#define BURST_TOTAL_BLOCKS   512
 
#define BURST_UPLOAD_BYTES   (BURST_TOTAL_BLOCKS * 16)
 

Functions

int main (void)
 

Macro Definition Documentation

◆ BURST_TOTAL_BLOCKS

#define BURST_TOTAL_BLOCKS   512

◆ BURST_UPLOAD_BYTES

#define BURST_UPLOAD_BYTES   (BURST_TOTAL_BLOCKS * 16)

◆ SPU_DELAY

#define SPU_DELAY   (*(volatile uint32_t *)0xbf801014)

◆ SPU_REVERB_BASE

#define SPU_REVERB_BASE   (0x80000u - SPU_REVERB_SIZE)

◆ SPU_REVERB_BASE_REG

#define SPU_REVERB_BASE_REG   (SPU_REVERB_BASE >> 3)

◆ SPU_REVERB_PRESET

#define SPU_REVERB_PRESET   kReverbRoomPreset

◆ SPU_REVERB_SIZE

#define SPU_REVERB_SIZE   0x26c0u

◆ SPU_UPLOAD_ADDR

#define SPU_UPLOAD_ADDR   0x1080u

Function Documentation

◆ main()

int main ( void  )