DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
include/ide.h
00001 /*
00002  * IDE ATA/ATAPI emulation
00003  */
00004 
00005 #ifndef DOSBOX_IDE_H
00006 #define DOSBOX_IDE_H
00007 
00008 #define MAX_IDE_CONTROLLERS     8
00009 
00010 extern const char *ide_names[MAX_IDE_CONTROLLERS];
00011 extern void (*ide_inits[MAX_IDE_CONTROLLERS])(Section *);
00012 
00013 void IDE_Auto(signed char &index,bool &slave);
00014 void IDE_CDROM_Attach(signed char index,bool slave,unsigned char drive_index);
00015 void IDE_CDROM_Detach(unsigned char drive_index);
00016 void IDE_Hard_Disk_Attach(signed char index,bool slave,unsigned char bios_drive_index);
00017 void IDE_Hard_Disk_Detach(unsigned char bios_drive_index);
00018 void IDE_ResetDiskByBIOS(unsigned char disk);
00019 
00020 #endif