summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine')
-rw-r--r--src/emu/machine/68681.c10
-rw-r--r--src/emu/machine/8237dma.c10
-rw-r--r--src/emu/machine/mc146818.c14
3 files changed, 17 insertions, 17 deletions
diff --git a/src/emu/machine/68681.c b/src/emu/machine/68681.c
index a2e0daeb2bc..8f649081c3f 100644
--- a/src/emu/machine/68681.c
+++ b/src/emu/machine/68681.c
@@ -243,12 +243,12 @@ static TIMER_CALLBACK( duart_timer_callback )
duart68681->ISR |= INT_COUNTER_READY;
duart68681_update_interrupts(duart68681);
-// if ((duart68681->OPCR & 0x0c)== 0x04) {
-// duart68681->OPR ^= 0x08;
-// if (duart68681->duart_config->output_port_write)
-// duart68681->duart_config->output_port_write(duart68681->device, duart68681->OPR ^ 0xff);
+// if ((duart68681->OPCR & 0x0c)== 0x04) {
+// duart68681->OPR ^= 0x08;
+// if (duart68681->duart_config->output_port_write)
+// duart68681->duart_config->output_port_write(duart68681->device, duart68681->OPR ^ 0xff);
//
-// }
+// }
};
static void duart68681_write_MR(duart68681_state *duart68681, int ch, UINT8 data)
diff --git a/src/emu/machine/8237dma.c b/src/emu/machine/8237dma.c
index 9875d82bff6..f58a4f0ad35 100644
--- a/src/emu/machine/8237dma.c
+++ b/src/emu/machine/8237dma.c
@@ -448,9 +448,9 @@ void i8237_device::i8237_timerproc()
case DMA8237_S11: /* Output A8-A15 */
-// logerror("###### dma8237_timerproc %s: from %04x count=%x to %04x count=%x\n", tag(),
-// m_chan[0].m_address, m_chan[0].m_count,
-// m_chan[1].m_address, m_chan[1].m_count);
+// logerror("###### dma8237_timerproc %s: from %04x count=%x to %04x count=%x\n", tag(),
+// m_chan[0].m_address, m_chan[0].m_count,
+// m_chan[1].m_address, m_chan[1].m_count);
// FIXME: this will copy bytes correct, but not 16 bit words
m_temporary_data = devcb_call_read8(&m_in_memr_func, m_chan[0].m_address);
@@ -473,7 +473,7 @@ void i8237_device::i8237_timerproc()
m_status |= 3; // set TC for channel 0 and 1
m_drq &= ~3; // clear drq for channel 0 and 1
- // logerror("!!! dma8237_timerproc DMA8237_S11 %s: m_drq=%x m_command=%x\n", tag(), m_drq, m_command);
+ // logerror("!!! dma8237_timerproc DMA8237_S11 %s: m_drq=%x m_command=%x\n", tag(), m_drq, m_command);
}
break;
}
@@ -540,7 +540,7 @@ WRITE8_DEVICE_HANDLER_TRAMPOLINE(i8237, i8237_w)
{
offset &= 0x0F;
-// logerror("i8237_w: offset = %02x, data = %02x\n", offset, data );
+// logerror("i8237_w: offset = %02x, data = %02x\n", offset, data );
switch(offset) {
case 0:
diff --git a/src/emu/machine/mc146818.c b/src/emu/machine/mc146818.c
index d916d3ea0d4..5e6127111dc 100644
--- a/src/emu/machine/mc146818.c
+++ b/src/emu/machine/mc146818.c
@@ -394,9 +394,9 @@ void mc146818_device::set_base_datetime()
// temporary hack to go back 20 year (e.g. from 2010 -> 1990)
// current_time.year -= 20;
-// logerror("mc146818_set_base_datetime %02d/%02d/%02d %02d:%02d:%02d\n",
-// current_time.year % 100, current_time.month + 1, current_time.mday,
-// current_time.hour,current_time.minute, current_time.second);
+// logerror("mc146818_set_base_datetime %02d/%02d/%02d %02d:%02d:%02d\n",
+// current_time.year % 100, current_time.month + 1, current_time.mday,
+// current_time.hour,current_time.minute, current_time.second);
if (HOURS_24 || (current_time.hour < 12))
m_data[4] = dec_2_local(current_time.hour);
@@ -445,10 +445,10 @@ READ8_MEMBER( mc146818_device::read )
break;
case 0xc:
-// if(m_updated) /* the clock has been updated */
-// data = 0x10;
-// else
-// data = 0x00;
+// if(m_updated) /* the clock has been updated */
+// data = 0x10;
+// else
+// data = 0x00;
// the unused bits b0 ... b3 are always read as 0
data = m_data[m_index % MC146818_DATA_SIZE] & 0xf0;
// read 0x0c will clear all IRQ flags in register 0x0c