PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | sceCdCLOCK |
struct | sceCdlFILE |
struct | sceCdlLOCCD |
struct | sceCdRMode |
struct | sceCdRChain |
Typedefs | |
typedef void(* | sceCdCBFunc) (int reason) |
Functions | |
int | sceCdRead (u32 lbn, u32 sectors, void *buffer, sceCdRMode *mode) |
int | sceCdReadDVDV (u32 lbn, u32 sectors, void *buffer, sceCdRMode *mode) |
int | sceCdReadCDDA (u32 lbn, u32 sectors, void *buffer, sceCdRMode *mode) |
int | sceCdGetToc (u8 *toc) |
int | sceCdGetToc2 (u8 *toc, int param) |
int | sceCdSeek (u32 lbn) |
int | sceCdStandby (void) |
int | sceCdStop (void) |
int | sceCdPause (void) |
int | sceCdReadChain (sceCdRChain *tag, sceCdRMode *mode) |
int | sceCdApplyNCmd (u8 cmdNum, const void *inBuff, u16 inBuffSize) |
int | sceCdReadClock (sceCdCLOCK *clock) |
int | sceCdWriteClock (sceCdCLOCK *clock) |
int | sceCdGetDiskType (void) |
int | sceCdGetError (void) |
int | sceCdTrayReq (int param, u32 *traychk) |
int | sceCdStatus (void) |
int | sceCdBreak (void) |
int | sceCdCancelPOffRdy (u32 *result) |
int | sceCdBlueLEDCtl (u8 control, u32 *result) |
int | sceCdPowerOff (u32 *result) |
int | sceCdMmode (int media) |
int | sceCdChangeThreadPriority (int priority) |
int | sceCdApplySCmd (u8 cmdNum, const void *inBuff, u16 inBuffSize, void *outBuff) |
int | sceCdStStart (u32 lbn, sceCdRMode *mode) |
int | sceCdStRead (u32 sectors, u32 *buffer, u32 mode, u32 *error) |
int | sceCdStStop (void) |
int | sceCdStSeek (u32 lbn) |
int | sceCdStInit (u32 bufmax, u32 bankmax, void *buffer) |
int | sceCdStStat (void) |
int | sceCdStPause (void) |
int | sceCdStResume (void) |
int | sceCdInit (int mode) |
int | sceCdSync (int mode) |
int | sceCdSearchFile (sceCdlFILE *file, const char *name) |
int | sceCdDiskReady (int mode) |
sceCdlLOCCD * | sceCdIntToPos (u32 i, sceCdlLOCCD *p) |
u32 | sceCdPosToInt (sceCdlLOCCD *p) |
u32 | sceCdGetReadPos (void) |
int | sceCdInitEeCB (int priority, void *stackAddr, int stackSize) |
sceCdCBFunc | sceCdCallback (sceCdCBFunc function) |
int | sceCdReadSUBQ (void *buffer, u32 *status) |
int | sceCdForbidDVDP (u32 *result) |
int | sceCdAutoAdjustCtrl (int mode, u32 *result) |
int | sceCdDecSet (unsigned char enable_xor, unsigned char enable_shift, unsigned char shiftval) |
int | sceCdReadKey (unsigned char arg1, unsigned char arg2, unsigned int command, unsigned char *key) |
int | sceCdDoesUniqueKeyExist (u32 *status) |
int | sceCdSetHDMode (u32 mode) |
int | sceCdOpenConfig (int block, int mode, int NumBlocks, u32 *status) |
int | sceCdCloseConfig (u32 *result) |
int | sceCdReadConfig (void *buffer, u32 *result) |
int | sceCdWriteConfig (const void *buffer, u32 *result) |
int | sceCdReadNVM (u32 address, u16 *data, u8 *result) |
int | sceCdWriteNVM (u32 address, u16 data, u8 *result) |
int | sceCdRI (u8 *buffer, u32 *result) |
int | sceCdWI (const u8 *buffer, u32 *result) |
int | sceCdReadConsoleID (u8 *buffer, u32 *result) |
int | sceCdWriteConsoleID (const u8 *buffer, u32 *status) |
int | sceCdCtrlADout (int mode, u32 *status) |
int | sceCdMV (u8 *buffer, u32 *status) |
int | sceCdBootCertify (const u8 *romname) |
int | sceCdRM (char *buffer, u32 *status) |
int | sceCdWM (const char *buffer, u32 *status) |
int | sceCdForbidRead (u32 *result) |
int | sceCdReadFull (unsigned int lsn, unsigned int sectors, void *buf, sceCdRMode *mode) |
int | sceCdStSeekF (unsigned int lsn) |
void * | sceCdPOffCallback (void(*func)(void *), void *addr) |
int | sceCdSetTimeout (int param, int timeout) |
int | sceCdReadModelID (unsigned int *id) |
int | sceCdReadDvdDualInfo (int *on_dual, unsigned int *layer1_start) |
int | sceCdLayerSearchFile (sceCdlFILE *fp, const char *path, int layer) |
int | sceCdStatus2 (void) |
int | sceCdRE (unsigned int lsn, unsigned int sectors, void *buf, sceCdRMode *mode) |
int | sceCdReadGUID (u64 *guid) |
int | sceCdRcBypassCtl (int mode, u32 *status) |
int | sceCdReadWakeUpTime (sceCdCLOCK *clock, u16 *userdata, u32 *wakeupreason, int *flags) |
int | sceCdWriteWakeUpTime (const sceCdCLOCK *clock, u16 userdata, int flags) |
int | sceRemote2_7 (u16 param, u32 *status) |
int | sceRemote2_7Get (u32 *param, u32 *status) |
int | sceCdSetLEDsMode (u32 param, u32 *result) |
int | sceCdReadPS1BootParam (u8 *out, u32 *result) |
int | sceCdSetFanProfile (u8 param, u32 *result) |
int | sceCdSendSCmd1D (int *arg1, unsigned int *arg2, unsigned int *arg3, u32 *status) |
int | sceCdChgSys (u32 arg1) |
int | sceCdNoticeGameStart (u8 arg1, u32 *result) |
int | sceCdXLEDCtl (u8 arg1, u8 arg2, u32 *result1, u32 *result2) |
int | sceCdBuzzerCtl (u32 *result) |
int | sceCdXBSPowerCtl (u8 arg1, u8 arg2, u32 *result1, u32 *result2) |
int | sceCdSetMediumRemoval (u8 arg1, u32 *result) |
int | sceCdGetMediumRemoval (u32 *result1, u32 *result2) |
int | sceCdXDVRPReset (u8 arg1, u32 *result) |
int | sceCdGetWakeUpReason (void) |
int | sceCdReadRegionParams (u32 *arg1, u32 *result) |
int | sceCdWriteRegionParams (u8 arg1, u32 *arg2, u8 *arg3, u32 *result) |
Common definitions for libcdvd on the EE and IOP
Definition in file libcdvd-common.h.
struct sceCdCLOCK |
Definition at line 188 of file libcdvd-common.h.
Data Fields | ||
---|---|---|
u8 | stat |
status |
u8 | second |
second |
u8 | minute |
minute |
u8 | hour |
hour |
u8 | pad |
padding |
u8 | day |
day |
u8 | month |
month |
u8 | year |
year |
struct sceCdlFILE |
Definition at line 208 of file libcdvd-common.h.
Data Fields | ||
---|---|---|
u32 | lsn |
file location |
u32 | size |
file size |
char | name[16] |
file name (body) |
u8 | date[8] |
date (1=secs, 2=mins, 3=hours, 4=day, 5=mon, 6,7=year, 0=iso file flags) |
struct sceCdlLOCCD |
Definition at line 221 of file libcdvd-common.h.
Data Fields | ||
---|---|---|
u8 | minute |
minute (BCD) |
u8 | second |
second (BCD) |
u8 | sector |
sector (BCD) |
u8 | track |
track (void), aka "frame" |
struct sceCdRMode |
Definition at line 233 of file libcdvd-common.h.
struct sceCdRChain |
Definition at line 245 of file libcdvd-common.h.
Data Fields | ||
---|---|---|
u32 | lbn |
sector location to start reading from |
u32 | sectors |
number of sectors to read |
u32 | buffer |
buffer address to read to ( bit0: 0=EE, 1=IOP ) (EE addresses must be on 64-byte alignment) |
#define SCE_CdSTREAM 0x40000000 |
Open file for streaming
Definition at line 23 of file libcdvd-common.h.
#define btoi | ( | b | ) | ((b) / 16 * 10 + (b) % 16) |
Definition at line 257 of file libcdvd-common.h.
#define itob | ( | i | ) | ((i) / 10 * 16 + (i) % 10) |
Definition at line 260 of file libcdvd-common.h.
#define CdlMAXTOC 100 |
max number of toc entries for sceCdGetToc()
Definition at line 264 of file libcdvd-common.h.
#define CdlMAXFILE 64 |
Maximum number of files in a directory.
Definition at line 291 of file libcdvd-common.h.
#define CdlMAXDIR 128 |
Maximum number of total directories.
Definition at line 293 of file libcdvd-common.h.
#define CdlMAXLEVEL 8 |
Maximum levels of directories.
Definition at line 295 of file libcdvd-common.h.
#define CdlLEDPowerRed 1 |
Light up the red LED on the power button.
Definition at line 308 of file libcdvd-common.h.
#define CdlLEDPowerGreen 2 |
Light up the green LED on the power button.
Definition at line 310 of file libcdvd-common.h.
#define CdlLEDPowerYellow 4 |
Light up the yellow LED on the power button.
Definition at line 312 of file libcdvd-common.h.
#define CdlLEDEjectBlue 8 |
Light up the blue LED on the eject button.
Definition at line 314 of file libcdvd-common.h.
#define CdlRCDisablePowerReset 1 |
Disable the power/reset functionalty. (RM_PS2_POWER)
Definition at line 318 of file libcdvd-common.h.
#define CdlRCDisablePowerOff 2 |
Disable the power off functionality. (RM_PS2_POWEROFF)
Definition at line 320 of file libcdvd-common.h.
#define CdlRCDisableReset 4 |
Disable the reset functionalty. (RM_PS2_RESET)
Definition at line 322 of file libcdvd-common.h.
#define CdlRCDisableEject 8 |
Disable the eject functionalty. (RM_PS2_EJECT)
Definition at line 324 of file libcdvd-common.h.
#define CdlRCDisablePowerOn 0x10 |
Disable the power on functionality. (RM_PS2_POWERON)
Definition at line 326 of file libcdvd-common.h.
#define CdlRTCStatClockStopDetected 1 |
The RTC clock is stopped
Definition at line 330 of file libcdvd-common.h.
#define CdlRTCStatClockBatteryMonitoringVoltageProblem 2 |
There was an issue checking the RTC battery voltage
Definition at line 332 of file libcdvd-common.h.
#define CdlRTCStatCTLRegProblem 4 |
The Rohm RTC hardware returned an error
Definition at line 334 of file libcdvd-common.h.
#define CdlRTCStatCommandError 128 |
There was an error while preparing to send the command from Mechacon to RTC
Definition at line 336 of file libcdvd-common.h.
#define CdlWakeUpReasonMainPowerOn 0 |
The system was powered on using the front panel buttons or the remote
Definition at line 340 of file libcdvd-common.h.
#define CdlWakeUpReasonMainReset 1 |
The system was reset using the front panel button, the remote, or the SCMD
Definition at line 342 of file libcdvd-common.h.
#define CdlWakeUpReasonMainTimer 2 |
The system was powered on because the timer set by sceCdWriteWakeUpTime expired
Definition at line 344 of file libcdvd-common.h.
#define CdlWakeUpReasonMainDevice 3 |
The system was powered on using the PON_REQ signal connected to the expansion bay port
Definition at line 346 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraSupportHard 0 |
Definition at line 349 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraReset 1 |
The system was reset using the front panel button, the remote, or the SCMD
Definition at line 351 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraGameReset 2 |
The system was reset using the "Quit Game" button
Definition at line 353 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraTimer 3 |
The system was powered on because the timer set by sceCdWriteWakeUpTime expired
Definition at line 355 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraPowerOn 4 |
The system was powered on using the front panel buttons or the remote
Definition at line 357 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraSlotIn 7 |
The system was powered on when an object was inserted into the disc slot
Definition at line 359 of file libcdvd-common.h.
#define CdlWakeUpReasonExtraBackGround 8 |
Definition at line 360 of file libcdvd-common.h.
#define SCECdNoCheckReady 0x00000001 |
Definition at line 371 of file libcdvd-common.h.
#define SCECdNoWriteBackDCache 0x00000002 |
Definition at line 372 of file libcdvd-common.h.
#define CdvdFileSpec_t sceCdlFILE |
Definition at line 1172 of file libcdvd-common.h.
#define cd_file_t sceCdlFILE |
Definition at line 1173 of file libcdvd-common.h.
#define CdvdReadMode_t sceCdRMode |
Definition at line 1177 of file libcdvd-common.h.
#define cd_read_mode_t sceCdRMode |
Definition at line 1178 of file libcdvd-common.h.
#define SCECdvdSectorTypes SCECdvdSectorType |
Definition at line 1185 of file libcdvd-common.h.
#define CdvdSectorType_t SCECdvdSectorType |
Definition at line 1186 of file libcdvd-common.h.
#define CDVD_SECTOR_2048 SCECdSecS2048 |
Definition at line 1187 of file libcdvd-common.h.
#define CDVD_SECTOR_2328 SCECdSecS2328 |
Definition at line 1188 of file libcdvd-common.h.
#define CDVD_SECTOR_2340 SCECdSecS2340 |
Definition at line 1189 of file libcdvd-common.h.
#define CDVD_SECTOR_2352 SCECdSecS2352 |
Definition at line 1190 of file libcdvd-common.h.
#define CDVD_SECTOR_2368 SCECdSecS2368 |
Definition at line 1191 of file libcdvd-common.h.
#define CDVD_SECTOR_2448 SCECdSecS2448 |
Definition at line 1192 of file libcdvd-common.h.
#define CdSecS2048 SCECdSecS2048 |
Definition at line 1193 of file libcdvd-common.h.
#define CdSecS2328 SCECdSecS2328 |
Definition at line 1194 of file libcdvd-common.h.
#define CdSecS2340 SCECdSecS2340 |
Definition at line 1195 of file libcdvd-common.h.
#define SCECdvdSpinValues SCECdvdSpinValue |
Definition at line 1198 of file libcdvd-common.h.
#define CDVD_SPIN_MAX SCECdSpinMax |
Definition at line 1199 of file libcdvd-common.h.
#define CDVD_SPIN_NORMAL SCECdSpinNom |
Definition at line 1200 of file libcdvd-common.h.
#define CDVD_SPIN_STREAM SCECdSpinStm |
Definition at line 1201 of file libcdvd-common.h.
#define CDVD_SPIN_DVD0 SCECdSpinDvdDL0 |
Definition at line 1202 of file libcdvd-common.h.
#define CdSpinMax SCECdSpinMax |
Definition at line 1203 of file libcdvd-common.h.
#define CdSpinNom SCECdSpinNom |
Definition at line 1204 of file libcdvd-common.h.
#define CdSpinStm SCECdSpinStm |
Definition at line 1205 of file libcdvd-common.h.
#define SCECdvdErrorCodes SCECdvdErrorCode |
Definition at line 1208 of file libcdvd-common.h.
#define CDVD_ERR_FAIL SCECdErFAIL |
Definition at line 1209 of file libcdvd-common.h.
#define CDVD_ERR_NO SCECdErNO |
Definition at line 1210 of file libcdvd-common.h.
#define CDVD_ERR_ABRT SCECdErABRT |
Definition at line 1211 of file libcdvd-common.h.
#define CDVD_ERR_CMD SCECdErCMD |
Definition at line 1212 of file libcdvd-common.h.
#define CDVD_ERR_OPENS SCECdErOPENS |
Definition at line 1213 of file libcdvd-common.h.
#define CDVD_ERR_NODISC SCECdErNODISC |
Definition at line 1214 of file libcdvd-common.h.
#define CDVD_ERR_NORDY SCECdErNORDY |
Definition at line 1215 of file libcdvd-common.h.
#define CDVD_ERR_CUD SCECdErCUD |
Definition at line 1216 of file libcdvd-common.h.
#define CDVD_ERR_IPI SCECdErIPI |
Definition at line 1217 of file libcdvd-common.h.
#define CDVD_ERR_ILI SCECdErILI |
Definition at line 1218 of file libcdvd-common.h.
#define CDVD_ERR_PRM SCECdErPRM |
Definition at line 1219 of file libcdvd-common.h.
#define CDVD_ERR_READ SCECdErREAD |
Definition at line 1220 of file libcdvd-common.h.
#define CDVD_ERR_TRMOPN SCECdErTRMOPN |
Definition at line 1221 of file libcdvd-common.h.
#define CDVD_ERR_EOM SCECdErEOM |
Definition at line 1222 of file libcdvd-common.h.
#define CDVD_ERR_READCF SCECdErREADCF |
Definition at line 1223 of file libcdvd-common.h.
#define CDVD_ERR_READCFR SCECdErREADCFR |
Definition at line 1224 of file libcdvd-common.h.
#define SCECdvdMediaTypes SCECdvdMediaType |
Definition at line 1227 of file libcdvd-common.h.
#define CdvdDiscType_t SCECdvdMediaType |
Definition at line 1228 of file libcdvd-common.h.
#define CDVD_TYPE_NODISK SCECdNODISC |
Definition at line 1229 of file libcdvd-common.h.
#define CDVD_TYPE_DETECT SCECdDETCT |
Definition at line 1230 of file libcdvd-common.h.
#define CDVD_TYPE_DETECT_CD SCECdDETCTCD |
Definition at line 1231 of file libcdvd-common.h.
#define CDVD_TYPE_DETECT_DVDSINGLE SCECdDETCTDVDS |
Definition at line 1232 of file libcdvd-common.h.
#define CDVD_TYPE_DETECT_DVDDUAL SCECdDETCTDVDD |
Definition at line 1233 of file libcdvd-common.h.
#define CDVD_TYPE_UNKNOWN SCECdUNKNOWN |
Definition at line 1234 of file libcdvd-common.h.
#define CDVD_TYPE_PS1CD SCECdPSCD |
Definition at line 1235 of file libcdvd-common.h.
#define CDVD_TYPE_PS1CDDA SCECdPSCDDA |
Definition at line 1236 of file libcdvd-common.h.
#define CDVD_TYPE_PS2CD SCECdPS2CD |
Definition at line 1237 of file libcdvd-common.h.
#define CDVD_TYPE_PS2CDDA SCECdPS2CDDA |
Definition at line 1238 of file libcdvd-common.h.
#define CDVD_TYPE_PS2DVD SCECdPS2DVD |
Definition at line 1239 of file libcdvd-common.h.
#define CDVD_TYPE_CDDA SCECdCDDA |
Definition at line 1240 of file libcdvd-common.h.
#define CDVD_TYPE_DVDVIDEO SCECdDVDV |
Definition at line 1241 of file libcdvd-common.h.
#define CDVD_TYPE_ILLEGAL SCECdIllegalMedia |
Definition at line 1242 of file libcdvd-common.h.
#define SCECdvdDriveStates SCECdvdDriveState |
Definition at line 1245 of file libcdvd-common.h.
#define CDVD_STAT_STOP SCECdStatStop |
Definition at line 1246 of file libcdvd-common.h.
#define CDVD_STAT_OPEN SCECdStatShellOpen |
Definition at line 1247 of file libcdvd-common.h.
#define CDVD_STAT_SPIN SCECdStatSpin |
Definition at line 1248 of file libcdvd-common.h.
#define CDVD_STAT_READ SCECdStatRead |
Definition at line 1249 of file libcdvd-common.h.
#define CDVD_STAT_PAUSE SCECdStatPause |
Definition at line 1250 of file libcdvd-common.h.
#define CDVD_STAT_SEEK SCECdStatSeek |
Definition at line 1251 of file libcdvd-common.h.
#define CDVD_STAT_ERROR SCECdStatEmg |
Definition at line 1252 of file libcdvd-common.h.
#define SCECdvdMModeMediaTypes SCECdvdMModeMediaType |
Definition at line 1255 of file libcdvd-common.h.
#define CdvdMediaMode_t SCECdvdMModeMediaType |
Definition at line 1256 of file libcdvd-common.h.
#define CDVD_MEDIA_MODE_CD SCECdMmodeCd |
Definition at line 1257 of file libcdvd-common.h.
#define CDVD_MEDIA_MODE_DVD SCECdMmodeDvd |
Definition at line 1258 of file libcdvd-common.h.
#define CdMmodeCd SCECdMmodeCd |
Definition at line 1259 of file libcdvd-common.h.
#define CdMmodeDvd SCECdMmodeDvd |
Definition at line 1260 of file libcdvd-common.h.
#define CdvdLocation_t sceCdlLOCCD |
Definition at line 1263 of file libcdvd-common.h.
#define cd_location_t sceCdlLOCCD |
Definition at line 1264 of file libcdvd-common.h.
#define SCECdvdInitModes SCECdvdInitMode |
Definition at line 1268 of file libcdvd-common.h.
#define CDVD_INIT_INIT SCECdINIT |
Definition at line 1269 of file libcdvd-common.h.
#define CDVD_INIT_NOCHECK SCECdINoD |
Definition at line 1270 of file libcdvd-common.h.
#define CDVD_INIT_EXIT SCECdEXIT |
Definition at line 1271 of file libcdvd-common.h.
#define SCECdvdInterruptCodes SCECdvdInterruptCode |
Definition at line 1274 of file libcdvd-common.h.
#define CDVD_READY_READY SCECdComplete |
Definition at line 1275 of file libcdvd-common.h.
#define CDVD_READY_NOTREADY SCECdNotReady |
Definition at line 1276 of file libcdvd-common.h.
#define CdvdClock_t sceCdCLOCK |
Definition at line 1279 of file libcdvd-common.h.
#define cd_clock_t sceCdCLOCK |
Definition at line 1280 of file libcdvd-common.h.
#define SCECdvdStreamModes SCECdvdStreamMode |
Definition at line 1286 of file libcdvd-common.h.
#define CDVD_STREAM_NONBLOCK STMNBLK |
Definition at line 1287 of file libcdvd-common.h.
#define CDVD_STREAM_BLOCK STMBLK |
Definition at line 1288 of file libcdvd-common.h.
#define SCECdvdTrayReqModes SCECdvdTrayReqMode |
Definition at line 1291 of file libcdvd-common.h.
#define CDVD_TRAY_OPEN SCECdTrayOpen |
Definition at line 1292 of file libcdvd-common.h.
#define CDVD_TRAY_CLOSE SCECdTrayClose |
Definition at line 1293 of file libcdvd-common.h.
#define CDVD_TRAY_CHECK SCECdTrayCheck |
Definition at line 1294 of file libcdvd-common.h.
#define CdCBFunc sceCdCBFunc |
Definition at line 1297 of file libcdvd-common.h.
#define SCECdvdCallbackReasons SCECdvdCallbackReason |
Definition at line 1300 of file libcdvd-common.h.
#define CdInit sceCdInit |
Definition at line 1304 of file libcdvd-common.h.
#define cdInit sceCdInit |
Definition at line 1305 of file libcdvd-common.h.
#define CdStandby sceCdStandby |
Definition at line 1306 of file libcdvd-common.h.
#define cdStandby sceCdStandby |
Definition at line 1307 of file libcdvd-common.h.
#define CdRead sceCdRead |
Definition at line 1308 of file libcdvd-common.h.
#define cdRead sceCdRead |
Definition at line 1309 of file libcdvd-common.h.
#define CdSeek sceCdSeek |
Definition at line 1310 of file libcdvd-common.h.
#define cdSeek sceCdSeek |
Definition at line 1311 of file libcdvd-common.h.
#define CdGetError sceCdGetError |
Definition at line 1312 of file libcdvd-common.h.
#define cdGetError sceCdGetError |
Definition at line 1313 of file libcdvd-common.h.
#define CdGetToc sceCdGetToc |
Definition at line 1314 of file libcdvd-common.h.
#define cdGetToc sceCdGetToc |
Definition at line 1315 of file libcdvd-common.h.
#define CdSearchFile sceCdSearchFile |
Definition at line 1316 of file libcdvd-common.h.
#define cdSearchFile sceCdSearchFile |
Definition at line 1317 of file libcdvd-common.h.
#define CdSync sceCdSync |
Definition at line 1318 of file libcdvd-common.h.
#define cdSync sceCdSync |
Definition at line 1319 of file libcdvd-common.h.
#define CdGetDiskType sceCdGetDiskType |
Definition at line 1320 of file libcdvd-common.h.
#define cdGetDiscType sceCdGetDiskType |
Definition at line 1321 of file libcdvd-common.h.
#define CdDiskReady sceCdDiskReady |
Definition at line 1322 of file libcdvd-common.h.
#define cdDiskReady sceCdDiskReady |
Definition at line 1323 of file libcdvd-common.h.
#define CdTrayReq sceCdTrayReq |
Definition at line 1324 of file libcdvd-common.h.
#define cdTrayReq sceCdTrayReq |
Definition at line 1325 of file libcdvd-common.h.
#define CdStop sceCdStop |
Definition at line 1326 of file libcdvd-common.h.
#define cdStop sceCdStop |
Definition at line 1327 of file libcdvd-common.h.
#define CdPosToInt sceCdPosToInt |
Definition at line 1328 of file libcdvd-common.h.
#define cdPosToInt sceCdPosToInt |
Definition at line 1329 of file libcdvd-common.h.
#define CdIntToPos sceCdIntToPos |
Definition at line 1330 of file libcdvd-common.h.
#define cdIntToPos sceCdIntToPos |
Definition at line 1331 of file libcdvd-common.h.
#define CdReadClock sceCdReadClock |
Definition at line 1332 of file libcdvd-common.h.
#define cdReadClock sceCdReadClock |
Definition at line 1333 of file libcdvd-common.h.
#define CdStatus sceCdStatus |
Definition at line 1334 of file libcdvd-common.h.
#define cdStatus sceCdStatus |
Definition at line 1335 of file libcdvd-common.h.
#define CdCallback sceCdCallback |
Definition at line 1336 of file libcdvd-common.h.
#define cdSetCallback sceCdCallback |
Definition at line 1337 of file libcdvd-common.h.
#define CdPause sceCdPause |
Definition at line 1338 of file libcdvd-common.h.
#define cdPause sceCdPause |
Definition at line 1339 of file libcdvd-common.h.
#define CdBreak sceCdBreak |
Definition at line 1340 of file libcdvd-common.h.
#define cdBreak sceCdBreak |
Definition at line 1341 of file libcdvd-common.h.
#define CdReadCdda sceCdReadCdda |
Definition at line 1342 of file libcdvd-common.h.
#define cdCddaRead sceCdReadCdda |
Definition at line 1343 of file libcdvd-common.h.
#define CdGetReadPos sceCdGetReadPos |
Definition at line 1344 of file libcdvd-common.h.
#define cdGetReadPos sceCdGetReadPos |
Definition at line 1345 of file libcdvd-common.h.
#define CdMmode sceCdMmode |
Definition at line 1346 of file libcdvd-common.h.
#define cdSetMediaMode sceCdMmode |
Definition at line 1347 of file libcdvd-common.h.
#define cdDvdRead sceCdReadDVDV |
Definition at line 1349 of file libcdvd-common.h.
#define cdApplyNCmd sceCdApplyNCmd |
Definition at line 1350 of file libcdvd-common.h.
#define cdReadIOPMem sceCdReadIOPMem |
Definition at line 1351 of file libcdvd-common.h.
#define cdNCmdDiskReady sceCdNCmdDiskReady |
Definition at line 1352 of file libcdvd-common.h.
#define cdReadChain sceCdReadChain |
Definition at line 1353 of file libcdvd-common.h.
#define cdWriteClock sceCdWriteClock |
Definition at line 1354 of file libcdvd-common.h.
#define cdApplySCmd sceCdApplySCmd |
Definition at line 1355 of file libcdvd-common.h.
#define cdCancelPowerOff sceCdCancelPOffRdy |
Definition at line 1356 of file libcdvd-common.h.
#define cdBlueLedCtrl sceCdBlueLEDCtl |
Definition at line 1357 of file libcdvd-common.h.
#define sceCdBlueLedCtrl sceCdBlueLEDCtl |
Definition at line 1358 of file libcdvd-common.h.
#define cdPowerOff sceCdPowerOff |
Definition at line 1359 of file libcdvd-common.h.
#define cdChangeThreadPriority sceCdChangeThreadPriority |
Definition at line 1360 of file libcdvd-common.h.
#define cdStStart sceCdStStart |
Definition at line 1361 of file libcdvd-common.h.
#define cdStRead sceCdStRead |
Definition at line 1362 of file libcdvd-common.h.
#define cdStStop sceCdStStop |
Definition at line 1363 of file libcdvd-common.h.
#define cdStSeek sceCdStSeek |
Definition at line 1364 of file libcdvd-common.h.
#define cdStInit sceCdStInit |
Definition at line 1365 of file libcdvd-common.h.
#define cdStStat sceCdStStat |
Definition at line 1366 of file libcdvd-common.h.
#define cdStPause sceCdStPause |
Definition at line 1367 of file libcdvd-common.h.
#define cdStResume sceCdStResume |
Definition at line 1368 of file libcdvd-common.h.
#define CdRC sceCdRC |
Definition at line 1369 of file libcdvd-common.h.
typedef void(* sceCdCBFunc) (int reason) |
sceCd callback function typedef for sceCdCallback()
Definition at line 278 of file libcdvd-common.h.
enum SCECdvdSectorType |
Definition at line 25 of file libcdvd-common.h.
enum SCECdvdSpinValue |
Definition at line 37 of file libcdvd-common.h.
enum SCECdvdMModeMediaType |
Definition at line 64 of file libcdvd-common.h.
enum SCECdvdErrorCode |
Definition at line 69 of file libcdvd-common.h.
enum SCECdvdMediaType |
Definition at line 109 of file libcdvd-common.h.
enum SCECdvdInterruptCode |
Definition at line 142 of file libcdvd-common.h.
enum SCECdvdTrayReqMode |
Enumerator | |
---|---|
SCECdTrayOpen | Tray Open |
SCECdTrayClose | Tray Close |
SCECdTrayCheck | Tray Check |
Definition at line 161 of file libcdvd-common.h.
enum SCECdvdDriveState |
Definition at line 171 of file libcdvd-common.h.
enum SCECdvdCallbackReason |
Definition at line 266 of file libcdvd-common.h.
enum SCECdvdInitMode |
Enumerator | |
---|---|
SCECdINIT | Initializes library and waits until commands can be sent. |
SCECdINoD | Initialize only the library. |
SCECdEXIT | Deinitialize library. |
Definition at line 280 of file libcdvd-common.h.
enum SCECdvdFanSpeed |
Enumerator | |
---|---|
SCECdvdFanSpeedMinimum | The fan will spin at the minimum speed. |
SCECdvdFanSpeedMedium | The fan will spin at a medium speed. |
SCECdvdFanSpeedMaximum | The fan will spin at the maximum speed. |
Definition at line 297 of file libcdvd-common.h.
enum SCECdvdStreamMode |
Enumerator | |
---|---|
STMNBLK | Stream without blocking. |
STMBLK | Stream, but block. |
Definition at line 363 of file libcdvd-common.h.
int sceCdRead | ( | u32 | lbn, |
u32 | sectors, | ||
void * | buffer, | ||
sceCdRMode * | mode | ||
) |
read data from disc non-blocking, requires sceCdSync() call
lbn | sector location to start reading from |
sectors | number of sectors to read |
buffer | buffer to read to |
mode | mode to read as |
int sceCdGetToc | ( | u8 * | toc | ) |
get toc from inserted disc
toc | buffer to hold toc (1024 bytes) |
Definition at line 57 of file cdi.c.
References toc.
Referenced by process_toc().
int sceCdGetToc2 | ( | u8 * | toc, |
int | param | ||
) |
Alternate TOC retrieving function with parameter
toc | buffer to hold toc (1024 bytes) |
param | Parameter |
int sceCdSeek | ( | u32 | lbn | ) |
seek to given sector on disc non-blocking, requires sceCdSync() call
lbn | sector to seek to on disc |
int sceCdStandby | ( | void | ) |
puts ps2 sceCd drive into standby mode non-blocking, requires sceCdSync() call
int sceCdStop | ( | void | ) |
stops ps2 sceCd drive from spinning non-blocking, requires sceCdSync() call
int sceCdPause | ( | void | ) |
pauses ps2 sceCd drive non-blocking, requires sceCdSync() call
int sceCdReadChain | ( | sceCdRChain * | tag, |
sceCdRMode * | mode | ||
) |
do a 'chain' of reads with one command last chain value must be all 0xFFFFFFFF (max of 64 reads can be set at once) non-blocking, requires sceCdSync() call
SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
tag | pointer to an array of read chain data |
mode | read mode |
int sceCdApplyNCmd | ( | u8 | cmdNum, |
const void * | inBuff, | ||
u16 | inBuffSize | ||
) |
send an n-command by function number
cmdNum | command number |
inBuff | input buffer (can be null) |
inBuffSize | size of input buffer (0 - 16 bytes) |
int sceCdReadClock | ( | sceCdCLOCK * | clock | ) |
Reads the PlayStation clock. (time value is in BCD)
NOTE: For the old CDVDMAN module, the month field will not have its most significant bit automatically filed off.
clock | time/date struct |
int sceCdWriteClock | ( | sceCdCLOCK * | clock | ) |
Sets the PlayStation 2 clock. (time value is in BCD)
NOTE: The normalized value will be written back to the buffer specified.
clock | time/date struct to set clocks time with |
int sceCdGetDiskType | ( | void | ) |
gets the type of the currently inserted disc
Definition at line 35 of file cdi.c.
Referenced by audsrv_get_cd_type(), and audsrv_play_cd().
int sceCdGetError | ( | void | ) |
int sceCdTrayReq | ( | int | param, |
u32 * | traychk | ||
) |
int sceCdStatus | ( | void | ) |
gets the state of the drive
Definition at line 152 of file cdi.c.
Referenced by audsrv_get_cd_status().
int sceCdBreak | ( | void | ) |
int sceCdCancelPOffRdy | ( | u32 * | result | ) |
cancel power off Minimum Mechacon firmware version: 20400 SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
result | result |
int sceCdBlueLEDCtl | ( | u8 | control, |
u32 * | result | ||
) |
blue led control
SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
control | control value |
result | result |
int sceCdPowerOff | ( | u32 * | result | ) |
power off
SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
result | result |
int sceCdMmode | ( | int | media | ) |
int sceCdChangeThreadPriority | ( | int | priority | ) |
change libcdvd thread priority
SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
priority | priority |
int sceCdApplySCmd | ( | u8 | cmdNum, |
const void * | inBuff, | ||
u16 | inBuffSize, | ||
void * | outBuff | ||
) |
send an s-command by function number
command | number |
input | buffer (can be null) |
size | of input buffer (0 - 16 bytes) |
output | buffer (16 bytes, can be null) |
int sceCdStStart | ( | u32 | lbn, |
sceCdRMode * | mode | ||
) |
int sceCdStRead | ( | u32 | sectors, |
u32 * | buffer, | ||
u32 | mode, | ||
u32 * | error | ||
) |
int sceCdStStop | ( | void | ) |
int sceCdStSeek | ( | u32 | lbn | ) |
int sceCdStInit | ( | u32 | bufmax, |
u32 | bankmax, | ||
void * | buffer | ||
) |
int sceCdStStat | ( | void | ) |
int sceCdStPause | ( | void | ) |
int sceCdStResume | ( | void | ) |
int sceCdInit | ( | int | mode | ) |
int sceCdSync | ( | int | mode | ) |
waits/checks for completion of n-commands
mode | 0 = wait for completion of command (blocking), 1 = check current status and return immediately |
Definition at line 109 of file cdi.c.
Referenced by read_sectors().
int sceCdSearchFile | ( | sceCdlFILE * | file, |
const char * | name | ||
) |
int sceCdDiskReady | ( | int | mode | ) |
checks if drive is ready
mode | mode |
Definition at line 30 of file cdi.c.
Referenced by read_sectors().
sceCdlLOCCD * sceCdIntToPos | ( | u32 | i, |
sceCdlLOCCD * | p | ||
) |
convert from sector number to minute:second:frame
u32 sceCdPosToInt | ( | sceCdlLOCCD * | p | ) |
convert from minute:second:frame to sector number
u32 sceCdGetReadPos | ( | void | ) |
int sceCdInitEeCB | ( | int | priority, |
void * | stackAddr, | ||
int | stackSize | ||
) |
initialise EE callback thread
priority | callback thread priority |
stackAddr | callback thread stack address |
stackSize | callback thread stack size |
sceCdCBFunc sceCdCallback | ( | sceCdCBFunc | function | ) |
int sceCdReadSUBQ | ( | void * | buffer, |
u32 * | status | ||
) |
Reads SUBQ data from the disc.
buffer | Pointer to the buffer for storing the SUBQ data in. |
status | Result code. |
int sceCdForbidDVDP | ( | u32 * | result | ) |
Disables (Forbids) the DVD READ N-command, so that DVD video disc sectors cannot be read. Support for the DVD READ N-command is re-enabled when a DVD player is loaded.
result | Result code. |
int sceCdAutoAdjustCtrl | ( | int | mode, |
u32 * | result | ||
) |
Controls automatic adjustment of the CD/DVD drive. This also causes the auto-tilt motor (on units that have one) to be activated.
mode | Mode |
result | Result code. |
int sceCdDecSet | ( | unsigned char | enable_xor, |
unsigned char | enable_shift, | ||
unsigned char | shiftval | ||
) |
Controls on-the-fly (hardware) data decryption. Setting all options to 0 will disable decryption. This is used for decrypting encrypted sectors like the PlayStation 2 logo.
enable_xor | Set to a non-zero value to enable xor by index 4 of the key argument in sceCdReadKey |
enable_shift | Set to a non-zero value to enable rotate shift right by the amount specified by the "shiftval" argument |
shiftval | Shift amount enable_shift is enabled |
int sceCdReadKey | ( | unsigned char | arg1, |
unsigned char | arg2, | ||
unsigned int | command, | ||
unsigned char * | key | ||
) |
Reads the requested key from the CD/DVD.
arg1 | Unknown |
arg2 | Unknown |
command | Command |
key | Buffer to store the key in. |
int sceCdDoesUniqueKeyExist | ( | u32 * | status | ) |
Determines if unique disc key exists Unofficial name. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN DNAS IOPRP ONLY
status | Command status |
int sceCdSetHDMode | ( | u32 | mode | ) |
Blocks disc tray eject functionality and turns off the blue eject LED when enabled.
mode | Set to a non-zero value to enable the tray eject functionality |
int sceCdOpenConfig | ( | int | block, |
int | mode, | ||
int | NumBlocks, | ||
u32 * | status | ||
) |
Opens a specified configuration block, within NVRAM. Each block is 15 bytes long.
block | Block number. |
mode | Mode (0 = read, 1 = write). |
NumBlocks | Number of blocks. |
status | Result code. |
int sceCdCloseConfig | ( | u32 * | result | ) |
Closes the configuration block that is currently opened.
result | Result code. |
int sceCdReadConfig | ( | void * | buffer, |
u32 * | result | ||
) |
Reads the configuration block(s) that was/were previously opened. Each block is 15 bytes long.
buffer | Pointer to the buffer to store the configuration data in. |
result | Result code. |
int sceCdWriteConfig | ( | const void * | buffer, |
u32 * | result | ||
) |
Writes to the configuration block(s) that was/were previously opened. Each block is 15 bytes long.
buffer | Pointer to the buffer that contains the new configuration data. |
result | Result code. |
int sceCdReadNVM | ( | u32 | address, |
u16 * | data, | ||
u8 * | result | ||
) |
Reads a single word from the NVRAM storage.
address | Address in 2-byte words, of the word that will be read. |
data | Pointer to the buffer that will contain the data read. |
result | Result code. |
int sceCdWriteNVM | ( | u32 | address, |
u16 | data, | ||
u8 * | result | ||
) |
Writes a single word to the NVRAM storage. Starting from Mechacon firmware version 50000, attempting to write to address values over 150 will error.
address | Address in 2-byte words, of the word that will be written to. |
data | Pointer to the buffer that contains the new data. |
result | Result code. |
int sceCdRI | ( | u8 * | buffer, |
u32 * | result | ||
) |
Reads the i.Link ID of the console. All consoles have an i.Link ID, including those that do not have a physical i.Link port.
buffer | Pointer to the buffer that will contain the data read. |
result | Result code. |
int sceCdWI | ( | const u8 * | buffer, |
u32 * | result | ||
) |
Writes a new i.Link ID for the console. Starting from Mechacon firmware version 50000, a unlock combination (0x03 0x46 and 0x03 0x47) needs to be executed first.
buffer | Pointer to the buffer that contains the new i.Link ID. |
result | Result code. |
int sceCdReadConsoleID | ( | u8 * | buffer, |
u32 * | result | ||
) |
Reads the ID of the console. This is not the same as the i.Link ID.
buffer | Pointer to the buffer that will contain the data read. |
result | Result code. |
int sceCdWriteConsoleID | ( | const u8 * | buffer, |
u32 * | status | ||
) |
Writes a new ID for the console. This is not the same as the i.Link ID. Starting from Mechacon firmware version 50000, a unlock combination (0x03 0x46 and 0x03 0x47) needs to be executed first.
buffer | Pointer to the buffer that contains the new i.Link ID. |
status | Result code. |
int sceCdCtrlADout | ( | int | mode, |
u32 * | status | ||
) |
Controls Audio Digital output.
mode | Set to a non-zero value to enable digital output. |
status | Result code. |
int sceCdMV | ( | u8 * | buffer, |
u32 * | status | ||
) |
Reads MECHACON version data (RR MM mm TT): RR = Magicgate region, MM = major, mm = minor, TT = system type (00 = PS2, 01 = PSX) Magicgate region codes are: 00 = Japan, 01 = USA, 02 = Europe, 03 = Oceania, 04 = Asia, 05 = Russia, 06 = China, and 07 = Mexico.
NOTE: The old CDVDMAN module only returns MM mm TT instead. The region byte is made up of the lower 7 bits of the status/result code.
buffer | Pointer to the buffer to store the version data in. |
status | Result code. |
int sceCdBootCertify | ( | const u8 * | romname | ) |
Performs bootup certification. SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
romname | ROM version - The ROM "name" of the console in this format: romname[0] - ROM major version number (In decimal). romname[1] - ROM minor version number (In decimal). romname[2] - ROM region. romname[3] - Console type (E.g. C, D or T). |
int sceCdRM | ( | char * | buffer, |
u32 * | status | ||
) |
Reads the console's model "name": e.g. "SCPH-39000". SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
buffer | Pointer to the buffer for storing the model name in. |
status | Result code. |
int sceCdWM | ( | const char * | buffer, |
u32 * | status | ||
) |
Sets the console's model name. Starting from Mechacon firmware version 50000, a unlock combination (0x03 0x46 and 0x03 0x47) needs to be executed first. SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
buffer | Pointer to a buffer containing the new model name. |
status | Result code. |
int sceCdForbidRead | ( | u32 * | result | ) |
Disables (Forbids) the READ N-command, so that disc sectors cannot be read. Support for the READ N-command is re-enabled when the disc is replaced. SUPPORTED IN XCDVDMAN/XCDVDFSV ONLY
result | Result code. |
int sceCdReadFull | ( | unsigned int | lsn, |
unsigned int | sectors, | ||
void * | buf, | ||
sceCdRMode * | mode | ||
) |
Reads sectors to a buffer SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
lsn | sector location to start from |
sectors | amount to sectors to read |
buf | pointer to a buffer |
mode | mode to read in |
int sceCdStSeekF | ( | unsigned int | lsn | ) |
Seeks to a given position SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
lsn | sector location to seek to |
void * sceCdPOffCallback | ( | void(*)(void *) | func, |
void * | addr | ||
) |
Sets a handler for the power-off event which will be called before the console switches off. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
func | pointer of callback function to be called when power-off processing is activated |
addr | an argument which will be passed to the callback function returns: a pointer to the previous handler function, or a null pointer if nothing has been set eariler |
int sceCdSetTimeout | ( | int | param, |
int | timeout | ||
) |
Sets the timeout lengths for the certain CDVDMAN's operations. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
param | the timeout type to set |
timeout | a timeout value |
int sceCdReadModelID | ( | unsigned int * | id | ) |
Reads the Model ID. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN DNAS IOPRP ONLY
id | integer where the Model ID is stored. |
int sceCdReadDvdDualInfo | ( | int * | on_dual, |
unsigned int * | layer1_start | ||
) |
Reads the information about DVD disk. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
on_dual | pointer to variable where type of DVD disc is returned |
layer1_start | pointer to variable where the address of the second layer of a dual-layer DVD disc is returned. |
int sceCdLayerSearchFile | ( | sceCdlFILE * | fp, |
const char * | path, | ||
int | layer | ||
) |
Retrieves basic information about a file on CD or the specified layer of DVD media. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
fp | file structure to get file info in |
path | name of file to search for (no wildcard characters) (should be in the form '\SYSTEM.CNF;1') |
layer | layer to search (0 for the first layer, 1 for the second layer) |
int sceCdStatus2 | ( | void | ) |
Returns the CD/DVD drive status. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
int sceCdRE | ( | unsigned int | lsn, |
unsigned int | sectors, | ||
void * | buf, | ||
sceCdRMode * | mode | ||
) |
Reads sectors from CD or DVD disc. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN NEWER IOPRP ONLY
lsn | sector location to start from |
sectors | amount to sectors to read |
buf | pointer to a buffer |
mode | mode to read in |
int sceCdReadGUID | ( | u64 * | guid | ) |
Reads a GUID. SUPPORTED IN NEWER CDVDMAN MODULES INCLUDED WITHIN DNAS IOPRP ONLY
guid | u64 integer where the GUID is stored. |
int sceCdRcBypassCtl | ( | int | mode, |
u32 * | status | ||
) |
Controls whether SIRCS remote control input should be translated to SIO2 pad input. This corresponds to the "Remote Control" "Gameplay Function On/Off" option in OSDSYS. Minimum Mechacon firmware version: 50000 SUPPORTED BY ONLY NEWER CDVDMAN MODULES INCLUDED WITHIN OSD ONLY
mode | 0 = SIRCS->SIO2 conversion enabled, 1 = SIRCS->SIO2 conversion disabled |
status | Result code. |
int sceCdReadWakeUpTime | ( | sceCdCLOCK * | clock, |
u16 * | userdata, | ||
u32 * | wakeupreason, | ||
int * | flags | ||
) |
Reads wake up time. Minimum Mechacon firmware version: 50000 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
clock | The time to wake up the system. |
userdata | Any arbitrary value (not used in timer processing) |
wakeupreason | The reason why the system woke up. |
flags | bit 0 -> disable timer after expiration, bit 1 -> disable timer |
int sceCdWriteWakeUpTime | ( | const sceCdCLOCK * | clock, |
u16 | userdata, | ||
int | flags | ||
) |
Writes wake up time. Minimum Mechacon firmware version: 50000 Note: in newer Mechacon firmware versions (TODO: determine the range), the wake up timer function is removed. However, the storage for the parameters remain. Note: if there was a non-zero value in sceCdCLOCK.stat the last time sceCdReadClock was called, no data will be written/enabled. SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
clock | The time to wake up the system. |
userdata | Any arbitrary value (not used in timer processing) |
flags | When 1, disables the timer after it has expired. When 255, disables the timer and sets the seconds value to 0xFF. |
int sceRemote2_7 | ( | u16 | param, |
u32 * | status | ||
) |
Disables Mechacon actions performed using the remote control. The actions that can be specified are poweron, poweroff, reset and eject. The action performed by RM_PS2_NOLIGHT cannot be disabled. Minimum Mechacon firmware version: 50000 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
int sceRemote2_7Get | ( | u32 * | param, |
u32 * | status | ||
) |
Retrieves the value set by sceRemote2_7. Minimum Mechacon firmware version: 50000 Unofficial name. SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
param | The value set by sceRemote2_7 |
status | Command status |
int sceCdSetLEDsMode | ( | u32 | param, |
u32 * | result | ||
) |
Set the LED state of the face buttons of the console. The state of the buttons will be reset when the power or eject button is pressed. Minimum Mechacon firmware version: 50000 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
param | The LED state to set. |
int sceCdReadPS1BootParam | ( | u8 * | out, |
u32 * | result | ||
) |
Reads PS1 boot parameter. Minimum Mechacon firmware version: 50200 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
int sceCdSetFanProfile | ( | u8 | param, |
u32 * | result | ||
) |
Sets fan profile. Minimum Mechacon firmware version: 50400 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
param | param (SCECdvdFanSpeed) |
int sceCdSendSCmd1D | ( | int * | arg1, |
unsigned int * | arg2, | ||
unsigned int * | arg3, | ||
u32 * | status | ||
) |
Sends SCMD 0x1D. Appears to be stubbed in Mechacon firmware 50000. Minimum Mechacon firmware version: 50000 Unofficial name. SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
arg1 | Unknown |
arg2 | Unknown |
arg3 | Unknown |
status | Command status |
int sceCdChgSys | ( | u32 | arg1 | ) |
Change sys. SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdNoticeGameStart | ( | u8 | arg1, |
u32 * | result | ||
) |
Notice game start. Minimum Mechacon firmware version: 50400 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdXLEDCtl | ( | u8 | arg1, |
u8 | arg2, | ||
u32 * | result1, | ||
u32 * | result2 | ||
) |
Extended LED control. Minimum Mechacon firmware version: 50600 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdBuzzerCtl | ( | u32 * | result | ) |
Buzzer control. Minimum Mechacon firmware version: 50600 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdXBSPowerCtl | ( | u8 | arg1, |
u8 | arg2, | ||
u32 * | result1, | ||
u32 * | result2 | ||
) |
XBS power control. Minimum Mechacon firmware version: 50600 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdSetMediumRemoval | ( | u8 | arg1, |
u32 * | result | ||
) |
Set medium removal. Minimum Mechacon firmware version: 50600 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdGetMediumRemoval | ( | u32 * | result1, |
u32 * | result2 | ||
) |
Get medium removal. Minimum Mechacon firmware version: 50600 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdXDVRPReset | ( | u8 | arg1, |
u32 * | result | ||
) |
XDVRP reset. Minimum Mechacon firmware version: 50600 SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdGetWakeUpReason | ( | void | ) |
Get wake up reason. SUPPORTED BY ONLY DESR/PSX DVR CDVDMAN MODULES
int sceCdReadRegionParams | ( | u32 * | arg1, |
u32 * | result | ||
) |
Reads region parameters. Minimum Mechacon firmware version: 60000 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY
int sceCdWriteRegionParams | ( | u8 | arg1, |
u32 * | arg2, | ||
u8 * | arg3, | ||
u32 * | result | ||
) |
Writes region parameters. Minimum Mechacon firmware version: 60600 SUPPORTED IN XCDVDMAN INCLUDED WITHIN NEWER BOOT ROMS ONLY