| version 1.1, 2004/03/19 03:36:52 | version 1.6, 2005/03/05 06:02:28 | 
| Line 1 | Line 1 | 
 |  |  | 
 |  | #define IDEIO_MULTIPLE_MAX      0 | 
 |  |  | 
 | typedef struct { | typedef struct { | 
 | UINT8   sxsidrv; | UINT8   sxsidrv; | 
 | UINT8   wp; | UINT8   wp; | 
| Line 18  typedef struct { | Line 20  typedef struct { | 
 | UINT8   sectors; | UINT8   sectors; | 
 | UINT8   bufdir; | UINT8   bufdir; | 
 |  |  | 
 |  | UINT8   mulcnt; | 
 |  | UINT8   multhr; | 
 |  | UINT8   mulmode; | 
 |  | UINT8   dmy; | 
 |  |  | 
 | UINT    bufpos; | UINT    bufpos; | 
 | UINT    bufsize; | UINT    bufsize; | 
| BYTE    buf[512]; | UINT8   buf[512]; | 
 | } _IDEDRV, *IDEDRV; | } _IDEDRV, *IDEDRV; | 
 |  |  | 
 | typedef struct { | typedef struct { | 
| Line 87  enum { | Line 94  enum { | 
 | IDESTAT_DRQ                     = 0x08, | IDESTAT_DRQ                     = 0x08, | 
 | IDESTAT_CORR            = 0x04, | IDESTAT_CORR            = 0x04, | 
 | IDESTAT_INDX            = 0x02, | IDESTAT_INDX            = 0x02, | 
| IDESTAT_ERR                     = 0x01, | IDESTAT_ERR                     = 0x01 | 
 | }; | }; | 
 |  |  | 
 | enum { | enum { | 
| Line 113  extern "C" { | Line 120  extern "C" { | 
 | extern  IDEIO   ideio; | extern  IDEIO   ideio; | 
 |  |  | 
 | void IOOUTCALL ideio_w16(UINT port, REG16 value); | void IOOUTCALL ideio_w16(UINT port, REG16 value); | 
| REG16 IOOUTCALL ideio_r16(UINT port); | REG16 IOINPCALL ideio_r16(UINT port); | 
 |  |  | 
 | void ideio_reset(void); | void ideio_reset(void); | 
 | void ideio_bind(void); | void ideio_bind(void); | 
 |  | void ideio_notify(REG8 sxsidrv, UINT action); | 
 |  |  | 
 | #ifdef __cplusplus | #ifdef __cplusplus | 
 | } | } |