summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/devices/machine/terminal.h2
-rw-r--r--src/mame/drivers/besta.cpp2
-rw-r--r--src/mame/drivers/chaos.cpp4
-rw-r--r--src/mame/drivers/cxhumax.cpp4
-rw-r--r--src/mame/drivers/d6809.cpp2
-rw-r--r--src/mame/drivers/dm7000.cpp2
-rw-r--r--src/mame/drivers/dual68.cpp2
-rw-r--r--src/mame/drivers/evmbug.cpp2
-rw-r--r--src/mame/drivers/microkit.cpp2
-rw-r--r--src/mame/drivers/mod8.cpp2
-rw-r--r--src/mame/drivers/patinho_feio.cpp4
-rw-r--r--src/mame/drivers/pdp11.cpp2
-rw-r--r--src/mame/drivers/pes.cpp2
-rw-r--r--src/mame/drivers/ravens.cpp2
-rw-r--r--src/mame/drivers/sbc6510.cpp2
-rw-r--r--src/mame/drivers/vax11.cpp2
-rw-r--r--src/mame/drivers/votrpss.cpp2
-rw-r--r--src/mame/drivers/zexall.cpp2
18 files changed, 21 insertions, 21 deletions
diff --git a/src/devices/machine/terminal.h b/src/devices/machine/terminal.h
index bf2f81c07f7..dab8bd40578 100644
--- a/src/devices/machine/terminal.h
+++ b/src/devices/machine/terminal.h
@@ -36,7 +36,7 @@ public:
}
void set_keyboard_callback(generic_keyboard_device::output_delegate callback) { m_keyboard_cb = callback; }
- DECLARE_WRITE8_MEMBER(write) { term_write(data); }
+ void write(u8 data) { term_write(data); }
void kbd_put(u8 data);
diff --git a/src/mame/drivers/besta.cpp b/src/mame/drivers/besta.cpp
index 0bdb320bbcb..0e427c0c51b 100644
--- a/src/mame/drivers/besta.cpp
+++ b/src/mame/drivers/besta.cpp
@@ -69,7 +69,7 @@ WRITE8_MEMBER( besta_state::mpcc_reg_w )
kbd_put(data);
break;
case 10:
- m_terminal->write(generic_space(), 0, data);
+ m_terminal->write(data);
default:
m_mpcc_regs[offset] = data;
break;
diff --git a/src/mame/drivers/chaos.cpp b/src/mame/drivers/chaos.cpp
index b785edcc42a..91be9688c35 100644
--- a/src/mame/drivers/chaos.cpp
+++ b/src/mame/drivers/chaos.cpp
@@ -110,10 +110,10 @@ WRITE8_MEMBER( chaos_state::port1f_w )
if (!data)
data = 0x24;
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
if (data == 0x0d)
- m_terminal->write(space, 0, 0x0a);
+ m_terminal->write(0x0a);
}
READ8_MEMBER( chaos_state::port90_r )
diff --git a/src/mame/drivers/cxhumax.cpp b/src/mame/drivers/cxhumax.cpp
index 7d571d22a09..c256cc23952 100644
--- a/src/mame/drivers/cxhumax.cpp
+++ b/src/mame/drivers/cxhumax.cpp
@@ -167,7 +167,7 @@ READ32_MEMBER( cxhumax_state::cx_scratch_r )
int i = 0;
while ((temp=program.read_byte(m_maincpu->state_int(ARM7_R0)+i))) {
buf[i++]=temp;
- //m_terminal->write(space, 0, temp);
+ //m_terminal->write(temp);
}
osd_printf_debug("%s", buf);
verboselog(*this, 9, "(DEBUG) %s", buf);
@@ -412,7 +412,7 @@ WRITE32_MEMBER( cxhumax_state::cx_uart2_w )
case UART_FIFO_REG:
if(!(m_uart2_regs[UART_FRMC_REG]&UART_FRMC_BDS_BIT)) {
/* Sending byte... add logging */
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
/* Transmitter Idle Interrupt Enable */
if(m_uart2_regs[UART_IRQE_REG]&UART_IRQE_TIDE_BIT) {
diff --git a/src/mame/drivers/d6809.cpp b/src/mame/drivers/d6809.cpp
index 9f831a68ed7..24525bcc328 100644
--- a/src/mame/drivers/d6809.cpp
+++ b/src/mame/drivers/d6809.cpp
@@ -145,7 +145,7 @@ READ8_MEMBER( d6809_state::term_r )
WRITE8_MEMBER( d6809_state::term_w )
{
if ((data > 0) && (data < 0x80))
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
}
void d6809_state::mem_map(address_map &map)
diff --git a/src/mame/drivers/dm7000.cpp b/src/mame/drivers/dm7000.cpp
index 60d5868dcb0..4bde5a8ea1e 100644
--- a/src/mame/drivers/dm7000.cpp
+++ b/src/mame/drivers/dm7000.cpp
@@ -107,7 +107,7 @@ WRITE8_MEMBER( dm7000_state::dm7000_scc0_w )
switch(offset) {
case UART_THR:
if(!(m_scc0_lcr & UART_LCR_DLAB)) {
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
m_scc0_lsr = 1;
}
break;
diff --git a/src/mame/drivers/dual68.cpp b/src/mame/drivers/dual68.cpp
index cb7d57789d4..e17ff9fb232 100644
--- a/src/mame/drivers/dual68.cpp
+++ b/src/mame/drivers/dual68.cpp
@@ -46,7 +46,7 @@ private:
WRITE16_MEMBER( dual68_state::terminal_w )
{
- m_terminal->write(space, 0, data >> 8);
+ m_terminal->write(data >> 8);
}
void dual68_state::dual68_mem(address_map &map)
diff --git a/src/mame/drivers/evmbug.cpp b/src/mame/drivers/evmbug.cpp
index 4d5669728b5..e487bcb873b 100644
--- a/src/mame/drivers/evmbug.cpp
+++ b/src/mame/drivers/evmbug.cpp
@@ -93,7 +93,7 @@ WRITE8_MEMBER( evmbug_state::rs232_w )
m_term_out |= (data << offset);
if (offset == 7)
- m_terminal->write(space, 0, m_term_out & 0x7f);
+ m_terminal->write(m_term_out & 0x7f);
}
else
if (offset == 18)
diff --git a/src/mame/drivers/microkit.cpp b/src/mame/drivers/microkit.cpp
index 5ae46c8736f..c57c2ceb475 100644
--- a/src/mame/drivers/microkit.cpp
+++ b/src/mame/drivers/microkit.cpp
@@ -101,7 +101,7 @@ WRITE8_MEMBER( microkit_state::ram_w )
{
m_ram_data = data;
if (data > 0 && data < 0x80)
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
}
void microkit_state::machine_reset()
diff --git a/src/mame/drivers/mod8.cpp b/src/mame/drivers/mod8.cpp
index afef506dc15..262ded69e62 100644
--- a/src/mame/drivers/mod8.cpp
+++ b/src/mame/drivers/mod8.cpp
@@ -94,7 +94,7 @@ WRITE8_MEMBER( mod8_state::out_w )
if (m_tty_cnt == 10)
{
- m_teleprinter->write(space, 0, (m_tty_data >> 7) & 0x7f);
+ m_teleprinter->write((m_tty_data >> 7) & 0x7f);
m_tty_cnt = 0;
}
}
diff --git a/src/mame/drivers/patinho_feio.cpp b/src/mame/drivers/patinho_feio.cpp
index 3dc8ebb7cc7..2e4697a8186 100644
--- a/src/mame/drivers/patinho_feio.cpp
+++ b/src/mame/drivers/patinho_feio.cpp
@@ -85,7 +85,7 @@ void patinho_feio_state::update_panel(uint8_t ACC, uint8_t opcode, uint8_t mem_d
WRITE8_MEMBER(patinho_feio_state::decwriter_data_w)
{
- m_decwriter->write(space, 0, data);
+ m_decwriter->write(data);
m_maincpu->set_iodev_status(0xA, IODEV_BUSY);
@@ -113,7 +113,7 @@ void patinho_feio_state::decwriter_kbd_input(u8 data)
WRITE8_MEMBER(patinho_feio_state::teletype_data_w)
{
- m_tty->write(space, 0, data);
+ m_tty->write(data);
m_maincpu->set_iodev_status(0xB, IODEV_READY);
m_teletype_timer->adjust(attotime::from_hz(10)); //10 characters per second
diff --git a/src/mame/drivers/pdp11.cpp b/src/mame/drivers/pdp11.cpp
index bd8634767f3..ec0cac1ed4f 100644
--- a/src/mame/drivers/pdp11.cpp
+++ b/src/mame/drivers/pdp11.cpp
@@ -156,7 +156,7 @@ WRITE16_MEMBER(pdp11_state::teletype_ctrl_w)
switch(offset)
{
case 3:
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
break;
}
}
diff --git a/src/mame/drivers/pes.cpp b/src/mame/drivers/pes.cpp
index 1e51fe6a583..eac3d5b4f8a 100644
--- a/src/mame/drivers/pes.cpp
+++ b/src/mame/drivers/pes.cpp
@@ -110,7 +110,7 @@ READ8_MEMBER( pes_state::data_to_i8031)
WRITE8_MEMBER(pes_state::data_from_i8031)
{
- m_terminal->write(space,0,data);
+ m_terminal->write(data);
#ifdef DEBUG_SERIAL_CB
fprintf(stderr,"callback: output from i8031/pes to pc/terminal: %02X\n",data);
#endif
diff --git a/src/mame/drivers/ravens.cpp b/src/mame/drivers/ravens.cpp
index bbea711522d..b564fd76a0b 100644
--- a/src/mame/drivers/ravens.cpp
+++ b/src/mame/drivers/ravens.cpp
@@ -196,7 +196,7 @@ WRITE8_MEMBER( ravens_state::port1b_w )
else
data = m_term_char;
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
}
WRITE8_MEMBER( ravens_state::port1c_w )
diff --git a/src/mame/drivers/sbc6510.cpp b/src/mame/drivers/sbc6510.cpp
index 6abb7f840ce..10ef94c8412 100644
--- a/src/mame/drivers/sbc6510.cpp
+++ b/src/mame/drivers/sbc6510.cpp
@@ -221,7 +221,7 @@ READ8_MEMBER( sbc6510_state::a2_r )
WRITE8_MEMBER( sbc6510_state::a2_w )
{
m_2 = data;
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
}
void sbc6510_state::machine_start()
diff --git a/src/mame/drivers/vax11.cpp b/src/mame/drivers/vax11.cpp
index 9a799f4e54e..c07cfe1798a 100644
--- a/src/mame/drivers/vax11.cpp
+++ b/src/mame/drivers/vax11.cpp
@@ -97,7 +97,7 @@ private:
WRITE16_MEMBER(vax11_state::term_w)
{
- m_terminal->write(space, 0, data);
+ m_terminal->write(data);
}
READ16_MEMBER(vax11_state::term_r)
diff --git a/src/mame/drivers/votrpss.cpp b/src/mame/drivers/votrpss.cpp
index d91957b44fc..309e2315836 100644
--- a/src/mame/drivers/votrpss.cpp
+++ b/src/mame/drivers/votrpss.cpp
@@ -224,7 +224,7 @@ WRITE8_MEMBER( votrpss_state::ppi_pa_w )
WRITE8_MEMBER( votrpss_state::ppi_pb_w )
{
m_portb = data;
- m_terminal->write(space, offset, data&0x7f);
+ m_terminal->write(data&0x7f);
}
WRITE8_MEMBER( votrpss_state::ppi_pc_w )
diff --git a/src/mame/drivers/zexall.cpp b/src/mame/drivers/zexall.cpp
index b6c9b60defc..5c09a93d38c 100644
--- a/src/mame/drivers/zexall.cpp
+++ b/src/mame/drivers/zexall.cpp
@@ -99,7 +99,7 @@ READ8_MEMBER( zexall_state::output_ack_r )
// spit out the byte in out_byte if out_req is not equal to out_req_last
if (m_out_req != m_out_req_last)
{
- m_terminal->write(space, 0, m_out_data);
+ m_terminal->write(m_out_data);
m_out_req_last = m_out_req;
m_out_ack++;
}