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

Detailed Description

These are the syscall command codes used to actually do stuff with the GD-ROM drive. These were originally provided by thanks 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.