--- np2/io/dmac.h 2004/03/06 18:25:36 1.7 +++ np2/io/dmac.h 2007/11/03 00:00:20 1.10 @@ -43,20 +43,20 @@ 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; UINT8 bound; @@ -93,11 +93,12 @@ void DMACCALL dma_dummyout(REG8 data); REG8 DMACCALL dma_dummyin(void); REG8 DMACCALL dma_dummyproc(REG8 func); -void dmac_reset(void); +void dmac_reset(const NP2CFG *pConfig); 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);