Go to the source code of this file.
|
int | sceCdReadIOPMem (u32 lbn, u32 sectors, void *buf, sceCdRMode *mode) |
|
int | sceCdNCmdDiskReady (void) |
|
int | sceCdApplySCmd (u8 cmdNum, const void *inBuff, u16 inBuffSize, void *outBuff, u16 outBuffSize) |
|
int | sceCdApplyNCmd (u8 cmdNum, const void *inBuff, u16 inBuffSize, void *outBuff, u16 outBuffSize) |
|
int | sceCdOpenConfig (int block, int mode, int NumBlocks, u32 *status) |
|
int | sceCdSpinCtrlEE (u32 speed) |
|
Definitions for libcdvd on the EE
Definition in file libcdvd.h.
◆ sceCdApplyNCmd()
int sceCdApplyNCmd |
( |
u8 |
cmdNum, |
|
|
const void * |
inBuff, |
|
|
u16 |
inBuffSize, |
|
|
void * |
outBuff, |
|
|
u16 |
outBuffSize |
|
) |
| |
send an n-command by function number
- Parameters
-
cmdNum | command number |
inBuff | input buffer (can be null) |
inBuffSize | size of input buffer (0 - 16 bytes) |
outBuff | output buffer (can be null) |
outBuffSize | size of output buffer (0 - 16 bytes) |
- Returns
- 1 if successful, 0 if error
◆ sceCdApplySCmd()
int sceCdApplySCmd |
( |
u8 |
cmdNum, |
|
|
const void * |
inBuff, |
|
|
u16 |
inBuffSize, |
|
|
void * |
outBuff, |
|
|
u16 |
outBuffSize |
|
) |
| |
send an s-command by function number
- Parameters
-
command | number |
input | buffer (can be null) |
size | of input buffer (0 - 16 bytes) |
output | buffer (can be null) |
size | of output buffer (0 - 16 bytes) |
- Returns
- 1 if successful, 0 if error
◆ sceCdNCmdDiskReady()
int sceCdNCmdDiskReady |
( |
void |
| ) |
|
wait for disc to finish all n-commands (shouldnt really need to call this yourself)
- Returns
- SCECdNotReady (6) if busy; SCECdComplete (2) if ready; 0 if error
◆ sceCdOpenConfig()
int sceCdOpenConfig |
( |
int |
block, |
|
|
int |
mode, |
|
|
int |
NumBlocks, |
|
|
u32 * |
status |
|
) |
| |
Opens a specified configuration block, within NVRAM. Each block is 15 bytes long.
- Parameters
-
block | Block number. |
mode | Mode (0 = read, 1 = write). |
NumBlocks | Number of blocks. |
status | Result code. |
- Returns
- 1 on success, 0 on failure.
◆ sceCdReadIOPMem()
read data to iop memory
- Parameters
-
lbn | sector location to read from |
sectors | number of sectors to read |
buf | buffer to read to (in iop memory) |
mode | read mode |
- Returns
- 1 if successful, 0 if error
◆ sceCdSpinCtrlEE()
int sceCdSpinCtrlEE |
( |
u32 |
speed | ) |
|
Controls spindle speed? Not sure what it really does. SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
- Parameters
-
- Returns
- 1 on success, 0 on failure.