PS2SDK
PS2 Homebrew Libraries
|
#include <stdio.h>
#include <kernel.h>
#include <sifrpc.h>
#include <libcdvd.h>
#include <libcdvd-rpc.h>
#include <string.h>
#include "internal.h"
Go to the source code of this file.
Data Structures | |
union | nCmdSendParams_t |
struct | _cdvd_read_data |
Macros | |
#define | CD_SERVER_NCMD 0x80000595 |
Enumerations | |
enum | CdvdStCmd_t { CDVD_ST_CMD_START = 1 , CDVD_ST_CMD_READ , CDVD_ST_CMD_STOP , CDVD_ST_CMD_SEEK , CDVD_ST_CMD_INIT , CDVD_ST_CMD_STAT , CDVD_ST_CMD_PAUSE , CDVD_ST_CMD_RESUME , CDVD_ST_CMD_SEEKF } |
enum | CD_NCMD_CMDS { CD_NCMD_READ = 0x01 , CD_NCMD_CDDAREAD , CD_NCMD_DVDREAD , CD_NCMD_GETTOC , CD_NCMD_SEEK , CD_NCMD_STANDBY , CD_NCMD_STOP , CD_NCMD_PAUSE , CD_NCMD_STREAM , CD_NCMD_CDDASTREAM , CD_NCMD_READ_KEY , CD_NCMD_NCMD , CD_NCMD_READIOPMEM , CD_NCMD_DISKREADY , CD_NCMD_READCHAIN } |
Functions | |
int | sceCdStream (u32 lbn, u32 nsectors, void *buf, CdvdStCmd_t cmd, sceCdRMode *rm) |
int | sceCdCddaStream (u32 lbn, u32 nsectors, void *buf, CdvdStCmd_t cmd, sceCdRMode *rm) |
int | _CdCheckNCmd (int cmd) |
int | sceCdNCmdDiskReady (void) |
void | _CdAlignReadBuffer (void *data) |
Variables | |
int | bindNcmd |
SifRpcClientData_t | clientNCmd |
int | nCmdSemaId |
int | nCmdNum |
u32 | readStreamData [5] |
u32 | readData [6] |
sceCdRChain | readChainData [66] |
u32 | getTocSendBuff [3] |
u32 | _rd_intr_data [64] |
u32 | curReadPos |
u8 | tocBuff [2064] |
u8 | nCmdRecvBuff [48] |
nCmdSendParams_t | nCmdSendBuff |
int | streamStatus |
sceCdRMode | dummyMode |
u32 | seekSector |
u32 | cdda_st_buf [64/sizeof(u32)] |
Function definitions for libsceCdvd (EE side calls to the iop module sceCdvdfsv).
NOTE: These functions will work with the CDVDMAN/CDVDFSV or XCDVDMAN/XCDVDFSV modules stored in rom0.
NOTE: not all functions work with each set of modules!
Definition in file ncmd.c.
union nCmdSendParams_t |
Data Fields | ||
---|---|---|
struct cdvdNcmdParam | ncmd | |
struct cdvdReadKeyParam | readKey | |
u8 | data[48] |
struct _cdvd_read_data |
#define CD_SERVER_NCMD 0x80000595 |
enum CdvdStCmd_t |
enum CD_NCMD_CMDS |