--- np2/io/dmac.h 2004/01/29 09:41:50 1.5 +++ np2/io/dmac.h 2005/02/07 14:46:11 1.9 @@ -43,23 +43,24 @@ typedef struct { typedef struct { union { - BYTE b[4]; + UINT8 b[4]; UINT16 w[2]; UINT32 d; } adrs; union { - BYTE b[2]; + UINT8 b[2]; UINT16 w; } leng; union { - BYTE b[2]; + UINT8 b[2]; UINT16 w; } adrsorg; union { - BYTE b[2]; + UINT8 b[2]; UINT16 w; } lengorg; - UINT16 action; + UINT8 bound; + UINT8 action; DMAPROC proc; UINT8 mode; UINT8 sreq; @@ -94,8 +95,10 @@ REG8 DMACCALL dma_dummyproc(REG8 func); void dmac_reset(void); void dmac_bind(void); +void dmac_extbind(void); void dmac_check(void); +UINT dmac_getdatas(DMACH dmach, UINT8 *buf, UINT size); void dmac_procset(void); void dmac_attach(REG8 device, REG8 channel);