sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
block.c File Reference
#include "types.h"
#include <stdarg.h>
#include "freesd.h"
#include "spu2regs.h"

Go to the source code of this file.

Functions

void SetDmaWrite (s32 chan)
void SetDmaRead (s32 chan)
u32 DmaStop (u32 core)
s32 BlockTransWriteFrom (u8 *iopaddr, u32 size, s32 chan, u16 mode, u8 *startaddr)
s32 BlockTransWrite (u8 *iopaddr, u32 size, s32 chan)
s32 BlockTransRead (u8 *iopaddr, u32 size, s32 chan, s16 mode)
int sceSdBlockTrans (s16 chan, u16 mode, u8 *iopaddr, u32 size,...)
u32 sceSdBlockTransStatus (s16 chan, s16 flag)

Variables

u32 BlockTransBuff [2]
u32 BlockTransAddr [2]
u32 BlockTransSize [2]
IntrData TransIntrData [2]

Detailed Description

Part of the IOP Sound Driver

Definition in file block.c.

Function Documentation

◆ BlockTransRead()

s32 BlockTransRead ( u8 * iopaddr,
u32 size,
s32 chan,
s16 mode )

Definition at line 108 of file block.c.

◆ BlockTransWrite()

s32 BlockTransWrite ( u8 * iopaddr,
u32 size,
s32 chan )

Definition at line 79 of file block.c.

◆ BlockTransWriteFrom()

s32 BlockTransWriteFrom ( u8 * iopaddr,
u32 size,
s32 chan,
u16 mode,
u8 * startaddr )

Definition at line 28 of file block.c.

◆ DmaStop()

u32 DmaStop ( u32 core)
extern

Definition at line 590 of file freesd.c.

◆ sceSdBlockTrans()

int sceSdBlockTrans ( s16 chan,
u16 mode,
u8 * iopaddr,
u32 size,
... )

Definition at line 146 of file block.c.

◆ sceSdBlockTransStatus()

u32 sceSdBlockTransStatus ( s16 chan,
s16 flag )

Definition at line 217 of file block.c.

◆ SetDmaRead()

void SetDmaRead ( s32 chan)
extern

Definition at line 615 of file freesd.c.

◆ SetDmaWrite()

void SetDmaWrite ( s32 chan)
extern

Definition at line 609 of file freesd.c.

Variable Documentation

◆ BlockTransAddr

u32 BlockTransAddr[2]

Definition at line 19 of file block.c.

◆ BlockTransBuff

u32 BlockTransBuff[2]

Definition at line 18 of file block.c.

◆ BlockTransSize

u32 BlockTransSize[2]

Definition at line 20 of file block.c.

◆ TransIntrData

IntrData TransIntrData[2]
extern

Definition at line 60 of file freesd.c.