CDVD Commands: Difference between revisions

From PS2 Developer wiki
Jump to navigation Jump to search
(Created page with "There are two types of commands in CDVD. (Normal) N and (Special) S. Both will be listed here: = Special Commands = <pre> CD_SCMD_READCLOCK CD_SCMD_WRITECLOCK CD_SCMD_GETDI...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
= Special Commands =
= Special Commands =


<pre>
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: left;"
CD_SCMD_READCLOCK
! Value !! Command
CD_SCMD_WRITECLOCK
|-
CD_SCMD_GETDISKTYPE
| 0x01 || CD_SCMD_READCLOCK
CD_SCMD_GETERROR
|-
CD_SCMD_TRAYREQ
| 0x02 || CD_SCMD_WRITECLOCK
CD_SCMD_READ_ILINK_ID
|-
CD_SCMD_WRITE_ILINK_ID
| 0x03 || CD_SCMD_GETDISKTYPE
CD_SCMD_READ_NVM
|-
CD_SCMD_WRITE_NVM
| 0x04 || CD_SCMD_GETERROR
CD_SCMD_DEC_SET
|-
CD_SCMD_SCMD
| 0x05 || CD_SCMD_TRAYREQ
CD_SCMD_STATUS
|-
CD_SCMD_SET_HD_MODE
| 0x06 || CD_SCMD_READ_ILINK_ID
CD_SCMD_OPEN_CONFIG
|-
CD_SCMD_CLOSE_CONFIG
| 0x07 || CD_SCMD_WRITE_ILINK_ID
CD_SCMD_READ_CONFIG
|-
CD_SCMD_WRITE_CONFIG
| 0x08 || CD_SCMD_READ_NVM
CD_SCMD_READ_CONSOLE_ID
|-
CD_SCMD_WRITE_CONSOLE_ID
| 0x09 || CD_SCMD_WRITE_NVM
CD_SCMD_READ_MECHACON_VERSION
|-
CD_SCMD_CTRL_AD_OUT
| 0xA|| CD_SCMD_DEC_SET
CD_SCMD_BREAK
|-
CD_SCMD_READ_SUBQ
| 0xB || CD_SCMD_SCMD
CD_SCMD_FORBID_DVDP
|-
CD_SCMD_AUTO_ADJUST_CTRL
| 0xC || CD_SCMD_STATUS
CD_SCMD_READ_MODEL_NAME
|-
CD_SCMD_WRITE_MODEL_NAME
| 0xD || CD_SCMD_SET_HD_MODE
CD_SCMD_FORBID_READ
|-
CD_SCMD_SPIN_CTRL
| 0xE || CD_SCMD_OPEN_CONFIG
CD_SCMD_BOOT_CERTIFY
|-
CD_SCMD_CANCELPOWEROFF
| 0xF || CD_SCMD_CLOSE_CONFIG
CD_SCMD_BLUELEDCTRL
|-
CD_SCMD_POWEROFF
| 0x10 || CD_SCMD_READ_CONFIG
CD_SCMD_MMODE
|-
CD_SCMD_SETTHREADPRI
| 0x11 || CD_SCMD_WRITE_CONFIG
</pre>
|-
| 0x12 || CD_SCMD_READ_CONSOLE_ID
|-
| 0x13 || CD_SCMD_WRITE_CONSOLE_ID
|-
| 0x14 || CD_SCMD_READ_MECHACON_VERSION
|-
| 0x15 || CD_SCMD_CTRL_AD_OUT
|-
| 0x16 || CD_SCMD_BREAK
|-
| 0x17 || CD_SCMD_READ_SUBQ
|-
| 0x18 || CD_SCMD_FORBID_DVDP
|-
| 0x19 || CD_SCMD_AUTO_ADJUST_CTRL
|-
| 0x1A || CD_SCMD_READ_MODEL_NAME
|-
| 0x1B || CD_SCMD_WRITE_MODEL_NAME
|-
| 0x1C || CD_SCMD_FORBID_READ
|-
| 0x1D || CD_SCMD_SPIN_CTRL
|-
| 0x1E || CD_SCMD_BOOT_CERTIFY
|-
| 0x1F || CD_SCMD_CANCELPOWEROFF
|-
| 0x20 || CD_SCMD_BLUELEDCTRL
|-
| 0x21 || CD_SCMD_POWEROFF
|-
| 0x22 || CD_SCMD_MMODE
|-
| 0x23 || CD_SCMD_SETTHREADPRI
|-
|}
 
= Normal Commands =
 
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" style="text-align: left;"
! Value !! Command
|-
| 0x01 || CD_NCMD_READ
|-
| 0x02 || CD_NCMD_CDDAREAD
|-
| 0x03 || CD_NCMD_DVDREAD
|-
| 0x04 || CD_NCMD_GETTOC
|-
| 0x05 || CD_NCMD_SEEK
|-
| 0x06 || CD_NCMD_STANDBY
|-
| 0x07 || CD_NCMD_STOP
|-
| 0x08 || CD_NCMD_PAUSE
|-
| 0x09 || CD_NCMD_STREAM
|-
| 0x0A || CD_NCMD_CDDASTREAM
|-
| 0x0B || CD_NCMD_READ_KEY
|-
| 0x0C || CD_NCMD_NCMD
|-
| 0x0D || CD_NCMD_READIOPMEM
|-
| 0x0E || CD_NCMD_DISKREADY
|-
| 0x0F || CD_NCMD_READCHAIN
|-
|}

Latest revision as of 12:33, 2 October 2019

There are two types of commands in CDVD. (Normal) N and (Special) S. Both will be listed here:


Special Commands[edit | edit source]

Value Command
0x01 CD_SCMD_READCLOCK
0x02 CD_SCMD_WRITECLOCK
0x03 CD_SCMD_GETDISKTYPE
0x04 CD_SCMD_GETERROR
0x05 CD_SCMD_TRAYREQ
0x06 CD_SCMD_READ_ILINK_ID
0x07 CD_SCMD_WRITE_ILINK_ID
0x08 CD_SCMD_READ_NVM
0x09 CD_SCMD_WRITE_NVM
0xA CD_SCMD_DEC_SET
0xB CD_SCMD_SCMD
0xC CD_SCMD_STATUS
0xD CD_SCMD_SET_HD_MODE
0xE CD_SCMD_OPEN_CONFIG
0xF CD_SCMD_CLOSE_CONFIG
0x10 CD_SCMD_READ_CONFIG
0x11 CD_SCMD_WRITE_CONFIG
0x12 CD_SCMD_READ_CONSOLE_ID
0x13 CD_SCMD_WRITE_CONSOLE_ID
0x14 CD_SCMD_READ_MECHACON_VERSION
0x15 CD_SCMD_CTRL_AD_OUT
0x16 CD_SCMD_BREAK
0x17 CD_SCMD_READ_SUBQ
0x18 CD_SCMD_FORBID_DVDP
0x19 CD_SCMD_AUTO_ADJUST_CTRL
0x1A CD_SCMD_READ_MODEL_NAME
0x1B CD_SCMD_WRITE_MODEL_NAME
0x1C CD_SCMD_FORBID_READ
0x1D CD_SCMD_SPIN_CTRL
0x1E CD_SCMD_BOOT_CERTIFY
0x1F CD_SCMD_CANCELPOWEROFF
0x20 CD_SCMD_BLUELEDCTRL
0x21 CD_SCMD_POWEROFF
0x22 CD_SCMD_MMODE
0x23 CD_SCMD_SETTHREADPRI

Normal Commands[edit | edit source]

Value Command
0x01 CD_NCMD_READ
0x02 CD_NCMD_CDDAREAD
0x03 CD_NCMD_DVDREAD
0x04 CD_NCMD_GETTOC
0x05 CD_NCMD_SEEK
0x06 CD_NCMD_STANDBY
0x07 CD_NCMD_STOP
0x08 CD_NCMD_PAUSE
0x09 CD_NCMD_STREAM
0x0A CD_NCMD_CDDASTREAM
0x0B CD_NCMD_READ_KEY
0x0C CD_NCMD_NCMD
0x0D CD_NCMD_READIOPMEM
0x0E CD_NCMD_DISKREADY
0x0F CD_NCMD_READCHAIN