1 /* 2 Hatari - floppy_ipf.h 3 4 This file is distributed under the GNU General Public License, version 2 or at 5 your option any later version. Read the file gpl.txt for details. 6 */ 7 8 extern void IPF_MemorySnapShot_Capture(bool bSave); 9 extern bool IPF_FileNameIsIPF(const char *pszFileName, bool bAllowGZ); 10 extern Uint8 *IPF_ReadDisk(int Drive, const char *pszFileName, long *pImageSize, int *pImageType); 11 extern bool IPF_WriteDisk(int Drive, const char *pszFileName, Uint8 *pBuffer, int ImageSize); 12 13 extern bool IPF_Init ( void ); 14 extern void IPF_Exit ( void ); 15 extern bool IPF_Insert ( int Drive , Uint8 *pImageBuffer , long ImageSize ); 16 extern bool IPF_Eject ( int Drive ); 17 18 extern void IPF_Reset ( void ); 19 extern void IPF_Drive_Set_Enable ( int Drive , bool value ); 20 extern void IPF_Drive_Set_DoubleSided ( int Drive , bool value ); 21 extern void IPF_SetDriveSide ( Uint8 io_porta_old , Uint8 io_porta_new ); 22 extern void IPF_FDC_WriteReg ( Uint8 Reg , Uint8 Byte ); 23 extern Uint8 IPF_FDC_ReadReg ( Uint8 Reg ); 24 extern void IPF_FDC_StatusBar ( Uint8 *pCommand , Uint8 *pHead , Uint8 *pTrack , Uint8 *pSector , Uint8 *pSide ); 25 extern void IPF_Emulate ( void ); 26 27