summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/8257dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/8257dma.c')
-rw-r--r--src/emu/machine/8257dma.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/machine/8257dma.c b/src/emu/machine/8257dma.c
index cf2923dd5ff..a3f882219e6 100644
--- a/src/emu/machine/8257dma.c
+++ b/src/emu/machine/8257dma.c
@@ -5,10 +5,10 @@
For datasheet http://www.threedee.com/jcm/library/index.html
2008/05 Miodrag Milanovic
-
- - added support for autoload mode
- - fixed bug in calculating count
-
+
+ - added support for autoload mode
+ - fixed bug in calculating count
+
2007/11 couriersud
- architecture copied from 8237 DMA
@@ -172,9 +172,9 @@ static int dma8257_do_operation(int which, int channel)
{
if ((channel==2) && DMA_MODE_AUTOLOAD(dma[which].mode)) {
/* in case of autoload at the end channel 3 info is */
- /* copied to channel 2 info */
+ /* copied to channel 2 info */
dma[which].registers[4] = dma[which].registers[6];
- dma[which].registers[5] = dma[which].registers[7];
+ dma[which].registers[5] = dma[which].registers[7];
}
if (dma[which].intf->out_tc_func[channel])
dma[which].intf->out_tc_func[channel](CLEAR_LINE);
@@ -319,7 +319,7 @@ static void dma8257_write(int which, offs_t offset, UINT8 data)
if (DMA_MODE_AUTOLOAD(dma[which].mode)) {
/* in case of autoload when inserting channel 2 info */
- /* it is automaticaly copied to channel 3 info */
+ /* it is automaticaly copied to channel 3 info */
switch(offset) {
case 4:
case 5:
@@ -329,7 +329,7 @@ static void dma8257_write(int which, offs_t offset, UINT8 data)
dma[which].registers[offset+2] = data;
}
}
-
+
prepare_msb_flip(which);
break;