KallistiOS git master
Independent SDK for the Sega Dreamcast
|
External G2 Bus-based IDE support. More...
#include <arch/types.h>
Go to the source code of this file.
Functions | |
int | ide_read (uint32 linear, uint32 numsects, void *bufptr) |
Read sectors from the hard disk via PIO. | |
int | ide_write (uint32 linear, uint32 numsects, void *bufptr) |
Write sectors from the hard disk via PIO. | |
uint32 | ide_num_sectors (void) |
Retrieve the number of sectors from the hard disk. | |
int | ide_init (void) |
Initialize Navi IDE. | |
void | ide_shutdown (void) |
Shutdown Navi IDE. | |
External G2 Bus-based IDE support.
This file is involved with accessing an IDE controller that is attached to the G2 Bus expansion port. Exact details of how to build such a device have been posted in various places around the Internet. This driver refers to the device built by Megan as a part of the Navi project.
int ide_init | ( | void | ) |
Initialize Navi IDE.
uint32 ide_num_sectors | ( | void | ) |
Retrieve the number of sectors from the hard disk.
Read sectors from the hard disk via PIO.
linear | The address to begin reading from. |
numsects | The number of sectors to read. |
bufptr | The buffer to read into. |
void ide_shutdown | ( | void | ) |
Shutdown Navi IDE.