KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
CD-ROM syscall command codes

Macros

#define CMD_PIOREAD   16
 Read via PIO. More...
 
#define CMD_DMAREAD   17
 Read via DMA. More...
 
#define CMD_GETTOC   18
 Read TOC. More...
 
#define CMD_GETTOC2   19
 Read TOC. More...
 
#define CMD_PLAY   20
 Play track. More...
 
#define CMD_PLAY2   21
 Play sectors. More...
 
#define CMD_PAUSE   22
 Pause playback. More...
 
#define CMD_RELEASE   23
 Resume from pause. More...
 
#define CMD_INIT   24
 Initialize the drive. More...
 
#define CMD_SEEK   27
 Seek to a new position. More...
 
#define CMD_READ   28
 Read raw sectors. More...
 
#define CMD_STOP   33
 Stop the disc from spinning. More...
 
#define CMD_GETSCD   34
 Get subcode data. More...
 
#define CMD_GETSES   35
 Get session. More...
 

Detailed Description

These are the syscall command codes used to actually do stuff with the GD-ROM drive. These were originally provided by maiwe.

Macro Definition Documentation

#define CMD_DMAREAD   17

Read via DMA.

#define CMD_GETSCD   34

Get subcode data.

#define CMD_GETSES   35

Get session.

#define CMD_GETTOC   18

Read TOC.

#define CMD_GETTOC2   19

Read TOC.

#define CMD_INIT   24

Initialize the drive.

#define CMD_PAUSE   22

Pause playback.

#define CMD_PIOREAD   16

Read via PIO.

#define CMD_PLAY   20

Play track.

#define CMD_PLAY2   21

Play sectors.

#define CMD_READ   28

Read raw sectors.

#define CMD_RELEASE   23

Resume from pause.

#define CMD_SEEK   27

Seek to a new position.

#define CMD_STOP   33

Stop the disc from spinning.