Main Page
Modules
Data Structures
File List
Data Fields
Globals
Related Pages
Kopie von dvd.c File Reference
Functions
u8
DVD_IsCoverOpen
(void)
Checks if the DVD cover is open.
void
DVD_GetDriveInfo
(
DVD_DRIVEINFO
*pDVDDriveInfo)
Get DVD drive information.
u32
DVD_GetStatus
(
u8
StatusNo)
Get value from status register 1 or 2.
void
DVD_SetAudio
(
u8
Value)
Enable/Disable DVD Audio.
u32
DVD_GetErrorCode
(void)
Return DVD ErrorCode.
void
DVD_RequestError
(void)
Request an error.
void
DVD_Init
(void)
Initialize DVD drive.
void
DVD_Stop
(void)
Stop DVD drive.
void
DVD_Read
(void *pDstBuffer,
u32
Count,
u32
Offset)
Read a buffer from an Offset.
void
DVD_ReadSector
(void *pDstBuffer,
u32
Sector)
Read a sector.
void
DVD_Seek
(
u32
Offset,
u8
Whence)
Set DVD position.
u32
DVD_GetCurrentOffset
(void)
Get current DVD position.
u32
DVD_GetCurrentSector
(void)
Get current DVD sector position.
void
DVD_SeekSector
(
u32
Sector,
u8
Whence)
Set DVD position to a given Sector.
u32
DVD_GetLastCommand
(void)
Returns the last command sent.
void
DVD_SetCommand
(
u8
Command)
void
DVD_SetSubCommand
(
u8
SubCommand)
void
DVD_SetSubCommand2
(
u16
SubCommand2)
void
DVD_SetCommands
(
u8
Command,
u8
SubCommand,
u16
SubCommand2)
Function Documentation
u32
DVD_GetStatus
(
u8
StatusNo
)
Get value from status register 1 or 2.
Parameters:
StatusNo
From which status register you want to get the status from.
This can be one of these:
DVD_STATUS_1
DVD_STATUS_2
void DVD_SeekSector
(
u32
Sector
,
u8
Whence
)
Set DVD position to a given Sector.
Parameters:
Sector
Signifies the Sector to seek from the given whence position
Whence
The argument Whence can be:
DVD_SEEK_SET
: Seeks from the beginning of the DVD
DVD_SEEK_CUR
: Seeks from the current position
Sets the position of the DVD to the given Sector.
See also:
DVD_Seek()
DVD_GetCurrentOffset()
void DVD_SetCommand
(
u8
Command
)
void DVD_SetCommands
(
u8
Command
,
u8
SubCommand
,
u16
SubCommand2
)
void DVD_SetSubCommand
(
u8
SubCommand
)
void DVD_SetSubCommand2
(
u16
SubCommand2
)
Generated on Thu Jul 3 18:32:32 2003 for Open GC Library by
1.3