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

Macros

#define SPU_DELAY   (*(volatile uint32_t *)0xbf801014)
 
#define WORK_SIZE   0x2000u
 
#define WORK_BASE   (0x80000u - WORK_SIZE)
 
#define CTRL_ON   0xc000u
 
#define CTRL_REVERB   0x0080u
 
#define OUT_LEFT   0x4000u
 
#define OUT_RIGHT   0x2000u
 

Functions

int main (void)
 

Macro Definition Documentation

◆ CTRL_ON

#define CTRL_ON   0xc000u

◆ CTRL_REVERB

#define CTRL_REVERB   0x0080u

◆ OUT_LEFT

#define OUT_LEFT   0x4000u

◆ OUT_RIGHT

#define OUT_RIGHT   0x2000u

◆ SPU_DELAY

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

◆ WORK_BASE

#define WORK_BASE   (0x80000u - WORK_SIZE)

◆ WORK_SIZE

#define WORK_SIZE   0x2000u

Function Documentation

◆ main()

int main ( void  )