|
liberis
|
High-level control of the CD drive. More...
#include <eris/types.h>Go to the source code of this file.
Functions | |
| void | eris_cd_reset (void) |
| Reset the CD drive. | |
| u32 | eris_cd_read (u32 lba, u8 *buf, u32 size) |
| Read data from the CD drive. | |
| void | eris_cd_read_kram (u32 lba, u32 kram_addr, u32 size) |
| Read data from the CD drive into KRAM. | |
High-level control of the CD drive.
Read data from the CD drive.
| lba | LBA of the sector to start reading from. |
| buf | Buffer to store the data into. Must have ((size+2047) & ~0x2047) bytes available! |
| size | How many bytes to read. |
1.7.4