--- np2/io/dmac.c 2003/12/08 00:55:32 1.3 +++ np2/io/dmac.c 2003/12/26 03:41:05 1.4 @@ -151,7 +151,7 @@ static REG8 IOINPCALL dmac_i01(UINT port dmach = dmac.dmach + ((port >> 2) & 3); lh = dmac.lh; dmac.lh = lh ^ 1; - return(dmach->leng.b[lh]); + return(dmach->adrs.b[lh + DMA32_LOW]); } static REG8 IOINPCALL dmac_i03(UINT port) { @@ -162,7 +162,7 @@ static REG8 IOINPCALL dmac_i03(UINT port dmach = dmac.dmach + ((port >> 2) & 3); lh = dmac.lh; dmac.lh = lh ^ 1; - return(dmach->adrs.b[lh + DMA32_LOW]); + return(dmach->leng.b[lh]); } static REG8 IOINPCALL dmac_i11(UINT port) {