--- xmil/fdd/fdd_mtr.c 2004/08/02 11:48:13 1.2 +++ xmil/fdd/fdd_mtr.c 2004/08/03 12:50:54 1.4 @@ -1,19 +1,28 @@ #include "compiler.h" #include "soundmng.h" #include "pccore.h" -#include "x1_io.h" -#include "x1_fdc.h" +#include "iocore.h" +enum { + MOVE1TCK_MS = 30, + MOVEMOTOR1_MS = 30, + SEKSEC_MS = 20 +}; + +typedef struct { +// int busy; + UINT8 head[4]; +// UINT nextevent; +// UINT8 curevent; +} _FDDMTR, *FDDMTR; + BYTE curevent = 0; DWORD nextevent = 0; BYTE FDC_HEAD[4] = {0, 0, 0, 0}; DWORD FDC_TIME[4] = {0, 0, 0, 0}; short curdrv = 0; -#define MOVE1TCK_MS 30 -#define MOVEMOTOR1_MS 30 -#define SEKSEC_MS 20 void fddmtr_event(void) {