From: Alan Cox Date: Sat, 12 Aug 2017 18:51:11 +0000 (+0100) Subject: plus3: add a header for generic 8bit IDE X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=624c30d2d98c2c5f9db492c6493fa78691c94d12;p=FUZIX.git plus3: add a header for generic 8bit IDE --- diff --git a/Kernel/platform-plus3/platform_ide.h b/Kernel/platform-plus3/platform_ide.h new file mode 100644 index 00000000..d7975815 --- /dev/null +++ b/Kernel/platform-plus3/platform_ide.h @@ -0,0 +1,15 @@ +/* Simple IDE interface */ +#define IDE_REG_DATA 0xA3 +#define IDE_REG_ERROR 0xA7 +#define IDE_REG_FEATURES 0xA7 +#define IDE_REG_SEC_COUNT 0xAB +#define IDE_REG_LBA_0 0xAF +#define IDE_REG_LBA_1 0xB3 +#define IDE_REG_LBA_2 0xB7 +#define IDE_REG_LBA_3 0xBB +#define IDE_REG_DEVHEAD 0xBB +#define IDE_REG_STATUS 0xBF +#define IDE_REG_COMMAND 0xBF + +#define ide_select(x) +#define ide_deselect()