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