mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
21 lines
595 B
C
21 lines
595 B
C
/*
|
|
* IDE ATA/ATAPI emulation
|
|
*/
|
|
|
|
#ifndef DOSBOX_IDE_H
|
|
#define DOSBOX_IDE_H
|
|
|
|
#define MAX_IDE_CONTROLLERS 8
|
|
|
|
extern const char *ide_names[MAX_IDE_CONTROLLERS];
|
|
extern void (*ide_inits[MAX_IDE_CONTROLLERS])(Section *);
|
|
|
|
void IDE_Auto(signed char &index,bool &slave);
|
|
void IDE_CDROM_Attach(signed char index,bool slave,unsigned char drive_index);
|
|
void IDE_CDROM_Detach(unsigned char drive_index);
|
|
void IDE_Hard_Disk_Attach(signed char index,bool slave,unsigned char bios_disk_index);
|
|
void IDE_Hard_Disk_Detach(unsigned char bios_disk_index);
|
|
void IDE_ResetDiskByBIOS(unsigned char disk);
|
|
|
|
#endif
|