--- hatari/src/includes/hdc.h 2019/04/09 08:53:17 1.1.1.9 +++ hatari/src/includes/hdc.h 2019/04/09 08:54:31 1.1.1.10 @@ -45,7 +45,7 @@ #define HD_REQSENS_OPCODE 0x20 /* Opcode not supported */ #define HD_REQSENS_INVADDR 0x21 /* Invalid block address */ #define HD_REQSENS_INVARG 0x24 /* Invalid argument */ -#define HD_REQSENS_NODRIVE 0x25 /* Invalid drive */ +#define HD_REQSENS_INVLUN 0x25 /* Invalid LUN */ #define ACSI_EMU_ON bAcsiEmuOn /* Do we have HDC emulation? */ @@ -58,8 +58,9 @@ extern bool bAcsiEmuOn; extern bool HDC_Init(void); extern void HDC_UnInit(void); extern void HDC_ResetCommandStatus(void); -extern short int HDC_GetCommandStatus(void); -extern short int HDC_GetSectorCount(void); -extern void HDC_WriteCommandPacket(void); +extern short int HDC_ReadCommandByte(int addr); +extern void HDC_WriteCommandByte(int addr, Uint8 byte); + +void Ncr5380_Reset(void); #endif /* HATARI_HDC_H */