KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Status Values

Status values for GD-ROM drive. More...

Macros

#define CD_STATUS_READ_FAIL   -1
 Can't read status.
 
#define CD_STATUS_BUSY   0
 Drive is busy.
 
#define CD_STATUS_PAUSED   1
 Disc is paused.
 
#define CD_STATUS_STANDBY   2
 Drive is in standby.
 
#define CD_STATUS_PLAYING   3
 Drive is currently playing.
 
#define CD_STATUS_SEEKING   4
 Drive is currently seeking.
 
#define CD_STATUS_SCANNING   5
 Drive is scanning.
 
#define CD_STATUS_OPEN   6
 Disc tray is open.
 
#define CD_STATUS_NO_DISC   7
 No disc inserted.
 
#define CD_STATUS_RETRY   8
 Retry is needed.
 
#define CD_STATUS_ERROR   9
 System error.
 
#define CD_STATUS_FATAL   12
 Need reset syscalls.
 

Detailed Description

Status values for GD-ROM drive.

These are the values that can be returned as the status parameter from the cdrom_get_status() function.

Macro Definition Documentation

◆ CD_STATUS_BUSY

#define CD_STATUS_BUSY   0

Drive is busy.

◆ CD_STATUS_ERROR

#define CD_STATUS_ERROR   9

System error.

◆ CD_STATUS_FATAL

#define CD_STATUS_FATAL   12

Need reset syscalls.

◆ CD_STATUS_NO_DISC

#define CD_STATUS_NO_DISC   7

No disc inserted.

◆ CD_STATUS_OPEN

#define CD_STATUS_OPEN   6

Disc tray is open.

◆ CD_STATUS_PAUSED

#define CD_STATUS_PAUSED   1

Disc is paused.

◆ CD_STATUS_PLAYING

#define CD_STATUS_PLAYING   3

Drive is currently playing.

◆ CD_STATUS_READ_FAIL

#define CD_STATUS_READ_FAIL   -1

Can't read status.

◆ CD_STATUS_RETRY

#define CD_STATUS_RETRY   8

Retry is needed.

◆ CD_STATUS_SCANNING

#define CD_STATUS_SCANNING   5

Drive is scanning.

◆ CD_STATUS_SEEKING

#define CD_STATUS_SEEKING   4

Drive is currently seeking.

◆ CD_STATUS_STANDBY

#define CD_STATUS_STANDBY   2

Drive is in standby.