diff options
| author | 2015-11-25 08:22:24 +0100 | |
|---|---|---|
| committer | 2015-11-25 08:22:24 +0100 | |
| commit | 0825ce4f3b8eaab42e3682f7d01d97ce6ea0416d (patch) | |
| tree | 24de29ca8cbba68740ec8cd26f15209f19c2bf0b /src/devices/machine | |
| parent | d1d8a66ab196156ab22ba1059d714cd040b44ab6 (diff) | |
Cleanups and version bumpmame0168
Diffstat (limited to 'src/devices/machine')
| -rw-r--r-- | src/devices/machine/6532riot.cpp | 10 | ||||
| -rw-r--r-- | src/devices/machine/6821pia.cpp | 42 | ||||
| -rw-r--r-- | src/devices/machine/bankdev.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/e05a03.cpp | 4 | ||||
| -rw-r--r-- | src/devices/machine/hdc92x4.cpp | 6 | ||||
| -rw-r--r-- | src/devices/machine/i8251.cpp | 72 | ||||
| -rw-r--r-- | src/devices/machine/i8251.h | 10 | ||||
| -rw-r--r-- | src/devices/machine/i8271.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/i8279.cpp | 12 | ||||
| -rw-r--r-- | src/devices/machine/keyboard.cpp | 6 | ||||
| -rw-r--r-- | src/devices/machine/legscsi.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/mb8795.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/microtch.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/mos6530n.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/ncr5380n.cpp | 4 | ||||
| -rw-r--r-- | src/devices/machine/ncr5390.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/nsc810.cpp | 4 | ||||
| -rw-r--r-- | src/devices/machine/serflash.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/t10mmc.h | 2 | ||||
| -rw-r--r-- | src/devices/machine/terminal.cpp | 18 | ||||
| -rw-r--r-- | src/devices/machine/upd4701.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/ym2148.cpp | 2 | ||||
| -rw-r--r-- | src/devices/machine/z80ctc.cpp | 6 |
23 files changed, 108 insertions, 108 deletions
diff --git a/src/devices/machine/6532riot.cpp b/src/devices/machine/6532riot.cpp index 00102adf6f7..a8d952d07ba 100644 --- a/src/devices/machine/6532riot.cpp +++ b/src/devices/machine/6532riot.cpp @@ -392,14 +392,14 @@ riot6532_device::riot6532_device(const machine_config &mconfig, const char *tag, m_out_pa_cb(*this), m_in_pb_cb(*this), m_out_pb_cb(*this), - m_irq_cb(*this), - m_irqstate(0), + m_irq_cb(*this), + m_irqstate(0), m_irqenable(0), m_irq(CLEAR_LINE), m_pa7dir(0), - m_pa7prev(0), - m_timershift(0), - m_timerstate(0), + m_pa7prev(0), + m_timershift(0), + m_timerstate(0), m_timer(NULL) { memset(m_port, 0x00, sizeof(m_port)); diff --git a/src/devices/machine/6821pia.cpp b/src/devices/machine/6821pia.cpp index f775cff74b1..971d07eee01 100644 --- a/src/devices/machine/6821pia.cpp +++ b/src/devices/machine/6821pia.cpp @@ -51,27 +51,27 @@ const device_type PIA6821 = &device_creator<pia6821_device>; pia6821_device::pia6821_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PIA6821, "6821 PIA", tag, owner, clock, "pia6821", __FILE__), - m_in_a_handler(*this), - m_in_b_handler(*this), - m_in_ca1_handler(*this), - m_in_cb1_handler(*this), - m_in_ca2_handler(*this), - m_out_a_handler(*this), - m_out_b_handler(*this), - m_ca2_handler(*this), - m_cb2_handler(*this), - m_irqa_handler(*this), - m_irqb_handler(*this), m_in_a(0), - m_in_ca1(0), m_in_ca2(0), m_out_a(0), m_out_ca2(0), m_port_a_z_mask(0), m_ddr_a(0), - m_ctl_a(0), m_irq_a1(0), m_irq_a2(0), - m_irq_a_state(0), m_in_b(0), - m_in_cb1(0), m_in_cb2(0), m_out_b(0), m_out_cb2(0), m_last_out_cb2_z(0), m_ddr_b(0), - m_ctl_b(0), m_irq_b1(0), m_irq_b2(0), - m_irq_b_state(0), m_in_a_pushed(false), m_out_a_needs_pulled(false), m_in_ca1_pushed(false), - m_in_ca2_pushed(false), m_out_ca2_needs_pulled(false), m_in_b_pushed(false), m_out_b_needs_pulled(false), - m_in_cb1_pushed(false), m_in_cb2_pushed(false), m_out_cb2_needs_pulled(false), m_logged_port_a_not_connected(false), - m_logged_port_b_not_connected(false), m_logged_ca1_not_connected(false), m_logged_ca2_not_connected(false), - m_logged_cb1_not_connected(false), m_logged_cb2_not_connected(false) + m_in_a_handler(*this), + m_in_b_handler(*this), + m_in_ca1_handler(*this), + m_in_cb1_handler(*this), + m_in_ca2_handler(*this), + m_out_a_handler(*this), + m_out_b_handler(*this), + m_ca2_handler(*this), + m_cb2_handler(*this), + m_irqa_handler(*this), + m_irqb_handler(*this), m_in_a(0), + m_in_ca1(0), m_in_ca2(0), m_out_a(0), m_out_ca2(0), m_port_a_z_mask(0), m_ddr_a(0), + m_ctl_a(0), m_irq_a1(0), m_irq_a2(0), + m_irq_a_state(0), m_in_b(0), + m_in_cb1(0), m_in_cb2(0), m_out_b(0), m_out_cb2(0), m_last_out_cb2_z(0), m_ddr_b(0), + m_ctl_b(0), m_irq_b1(0), m_irq_b2(0), + m_irq_b_state(0), m_in_a_pushed(false), m_out_a_needs_pulled(false), m_in_ca1_pushed(false), + m_in_ca2_pushed(false), m_out_ca2_needs_pulled(false), m_in_b_pushed(false), m_out_b_needs_pulled(false), + m_in_cb1_pushed(false), m_in_cb2_pushed(false), m_out_cb2_needs_pulled(false), m_logged_port_a_not_connected(false), + m_logged_port_b_not_connected(false), m_logged_ca1_not_connected(false), m_logged_ca2_not_connected(false), + m_logged_cb1_not_connected(false), m_logged_cb2_not_connected(false) { } diff --git a/src/devices/machine/bankdev.cpp b/src/devices/machine/bankdev.cpp index 75e6de89b6a..644e92f05f9 100644 --- a/src/devices/machine/bankdev.cpp +++ b/src/devices/machine/bankdev.cpp @@ -11,7 +11,7 @@ address_map_bank_device::address_map_bank_device( const machine_config &mconfig, m_endianness(ENDIANNESS_NATIVE), m_databus_width(0), m_addrbus_width(32), - m_stride(1), + m_stride(1), m_program(NULL), m_offset(0) { diff --git a/src/devices/machine/e05a03.cpp b/src/devices/machine/e05a03.cpp index 7e887714884..b0389abb6df 100644 --- a/src/devices/machine/e05a03.cpp +++ b/src/devices/machine/e05a03.cpp @@ -118,8 +118,8 @@ WRITE8_MEMBER( e05a03_device::write ) break; /* printhead */ - case 0x04: m_printhead = (m_printhead & 0x100) | (data == 0 ? 0xff : 0); break; - case 0x05: m_printhead = (m_printhead & 0x0ff) | (BIT(data, 7) ? (1 << 8) : 0); break; + case 0x04: m_printhead = (m_printhead & 0x100) | (data == 0 ? 0xff : 0); break; + case 0x05: m_printhead = (m_printhead & 0x0ff) | (BIT(data, 7) ? (1 << 8) : 0); break; /* paper feed and carriage motor phase data*/ case 0x06: m_pf_motor = (data & 0xf0) >> 4; break; diff --git a/src/devices/machine/hdc92x4.cpp b/src/devices/machine/hdc92x4.cpp index dc2e2a0070c..d9cdf3a48b8 100644 --- a/src/devices/machine/hdc92x4.cpp +++ b/src/devices/machine/hdc92x4.cpp @@ -1912,9 +1912,9 @@ bool hdc92x4_device::found_mark(int state) if (using_floppy()) { if (state == SEARCH_IDAM) - { - ismark = (m_live_state.shift_reg == (fm_mode() ? 0xf57e : 0x4489)); - } + { + ismark = (m_live_state.shift_reg == (fm_mode() ? 0xf57e : 0x4489)); + } else { // f56a 1x1x diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp index 6e45d13a1ea..8baf4bc57ec 100644 --- a/src/devices/machine/i8251.cpp +++ b/src/devices/machine/i8251.cpp @@ -169,7 +169,7 @@ void i8251_device::receive_clock() -------------------------------------------------*/ bool i8251_device::is_tx_enabled(void) const { - return BIT(m_command , 0) != 0 && m_cts == 0; + return BIT(m_command , 0) != 0 && m_cts == 0; } /*------------------------------------------------- @@ -177,9 +177,9 @@ bool i8251_device::is_tx_enabled(void) const -------------------------------------------------*/ void i8251_device::check_for_tx_start(void) { - if (is_tx_enabled() && (m_status & (I8251_STATUS_TX_EMPTY | I8251_STATUS_TX_READY)) == I8251_STATUS_TX_EMPTY) { - start_tx(); - } + if (is_tx_enabled() && (m_status & (I8251_STATUS_TX_EMPTY | I8251_STATUS_TX_READY)) == I8251_STATUS_TX_EMPTY) { + start_tx(); + } } /*------------------------------------------------- @@ -187,9 +187,9 @@ void i8251_device::check_for_tx_start(void) -------------------------------------------------*/ void i8251_device::start_tx(void) { - transmit_register_setup(m_tx_data); - m_status &= ~I8251_STATUS_TX_EMPTY; - m_status |= I8251_STATUS_TX_READY; + transmit_register_setup(m_tx_data); + m_status &= ~I8251_STATUS_TX_EMPTY; + m_status |= I8251_STATUS_TX_READY; } /*------------------------------------------------- @@ -205,21 +205,21 @@ void i8251_device::transmit_clock() else return; - if (is_transmit_register_empty()) { - if ((m_status & I8251_STATUS_TX_READY) == 0 && (is_tx_enabled() || (m_flags & I8251_DELAYED_TX_EN) != 0)) { - start_tx(); - } else { - m_status |= I8251_STATUS_TX_EMPTY; - } - update_tx_ready(); - update_tx_empty(); - } - /* if diserial has bits to send, make them so */ - if (!is_transmit_register_empty()) - { - UINT8 data = transmit_register_get_data_bit(); - m_txd_handler(data); - } + if (is_transmit_register_empty()) { + if ((m_status & I8251_STATUS_TX_READY) == 0 && (is_tx_enabled() || (m_flags & I8251_DELAYED_TX_EN) != 0)) { + start_tx(); + } else { + m_status |= I8251_STATUS_TX_EMPTY; + } + update_tx_ready(); + update_tx_empty(); + } + /* if diserial has bits to send, make them so */ + if (!is_transmit_register_empty()) + { + UINT8 data = transmit_register_get_data_bit(); + m_txd_handler(data); + } #if 0 /* hunt mode? */ @@ -387,7 +387,7 @@ WRITE8_MEMBER(i8251_device::command_w) } else { - LOG(("transmit disable\n")); + LOG(("transmit disable\n")); } @@ -433,10 +433,10 @@ WRITE8_MEMBER(i8251_device::command_w) m_flags |= I8251_EXPECTING_MODE; } - check_for_tx_start(); + check_for_tx_start(); update_rx_ready(); update_tx_ready(); - update_tx_empty(); + update_tx_empty(); } WRITE8_MEMBER(i8251_device::mode_w) @@ -654,20 +654,20 @@ WRITE8_MEMBER(i8251_device::data_w) { m_tx_data = data; - LOG(("data_w %02x\n" , data)); + LOG(("data_w %02x\n" , data)); /* writing clears */ m_status &=~I8251_STATUS_TX_READY; update_tx_ready(); - // Store state of tx enable when writing to DB buffer - if (is_tx_enabled()) { - m_flags |= I8251_DELAYED_TX_EN; - } else { - m_flags &= ~I8251_DELAYED_TX_EN; - } + // Store state of tx enable when writing to DB buffer + if (is_tx_enabled()) { + m_flags |= I8251_DELAYED_TX_EN; + } else { + m_flags &= ~I8251_DELAYED_TX_EN; + } - check_for_tx_start(); + check_for_tx_start(); /* if transmitter is active, then tx empty will be signalled */ @@ -729,9 +729,9 @@ WRITE_LINE_MEMBER(i8251_device::write_cts) { m_cts = state; - check_for_tx_start(); - update_tx_ready(); - update_tx_empty(); + check_for_tx_start(); + update_tx_ready(); + update_tx_empty(); } WRITE_LINE_MEMBER(i8251_device::write_dsr) diff --git a/src/devices/machine/i8251.h b/src/devices/machine/i8251.h index 46103368676..eb5fdd612e4 100644 --- a/src/devices/machine/i8251.h +++ b/src/devices/machine/i8251.h @@ -92,16 +92,16 @@ protected: void update_tx_empty(); void transmit_clock(); void receive_clock(); - bool is_tx_enabled(void) const; - void check_for_tx_start(void); - void start_tx(void); + bool is_tx_enabled(void) const; + void check_for_tx_start(void); + void start_tx(void); enum { I8251_EXPECTING_MODE = 0x01, I8251_EXPECTING_SYNC_BYTE = 0x02, - I8251_DELAYED_TX_EN = 0x04 + I8251_DELAYED_TX_EN = 0x04 }; private: @@ -138,7 +138,7 @@ private: /* data being received */ UINT8 m_rx_data; - /* tx buffer */ + /* tx buffer */ UINT8 m_tx_data; }; diff --git a/src/devices/machine/i8271.cpp b/src/devices/machine/i8271.cpp index c7b2c7cf175..75086e941d4 100644 --- a/src/devices/machine/i8271.cpp +++ b/src/devices/machine/i8271.cpp @@ -10,7 +10,7 @@ i8271_device::i8271_device(const machine_config &mconfig, const char *tag, devic intrq_cb(*this), drq_cb(*this), hdl_cb(*this), - opt_cb(*this), irq(false), drq(false), scan_done(false), scan_match(false), command_pos(0), sectors_read(0), scan_len(0), dma_data(0), oport(0), rr(0), scan_sec(0), moder(0), + opt_cb(*this), irq(false), drq(false), scan_done(false), scan_match(false), command_pos(0), sectors_read(0), scan_len(0), dma_data(0), oport(0), rr(0), scan_sec(0), moder(0), precomp(0), perpmode(0), srate(0), hset(0), icnt(0), hload(0), sector_size(0), cur_rate(0) { select_connected = true; diff --git a/src/devices/machine/i8279.cpp b/src/devices/machine/i8279.cpp index 442f943d2b2..d336dd80858 100644 --- a/src/devices/machine/i8279.cpp +++ b/src/devices/machine/i8279.cpp @@ -374,9 +374,9 @@ READ8_MEMBER( i8279_device::data_r ) // read the display ram data = m_d_ram[m_d_ram_ptr]; if (m_autoinc) - { + { m_d_ram_ptr++; - } + } } else if (sensor_mode) @@ -385,13 +385,13 @@ READ8_MEMBER( i8279_device::data_r ) assert(m_s_ram_ptr < ARRAY_LENGTH(m_s_ram)); data = m_s_ram[m_s_ram_ptr]; if (m_autoinc) - { + { m_s_ram_ptr++; - } + } else - { + { set_irq(0); - } + } } else { diff --git a/src/devices/machine/keyboard.cpp b/src/devices/machine/keyboard.cpp index 30d3d528e93..e586aaaa8a6 100644 --- a/src/devices/machine/keyboard.cpp +++ b/src/devices/machine/keyboard.cpp @@ -43,9 +43,9 @@ generic_keyboard_device::generic_keyboard_device(const machine_config &mconfig, m_io_kbd7(*this, "TERM_LINE7"), m_io_kbd8(*this, "TERM_LINE8"), m_io_kbd9(*this, "TERM_LINE9"), - m_io_kbdc(*this, "TERM_LINEC"), - m_timer(NULL), - m_last_code(0), + m_io_kbdc(*this, "TERM_LINEC"), + m_timer(NULL), + m_last_code(0), m_scan_line(0), m_keyboard_cb(*this) { diff --git a/src/devices/machine/legscsi.cpp b/src/devices/machine/legscsi.cpp index 21e635bd1d8..4ef3318d1ce 100644 --- a/src/devices/machine/legscsi.cpp +++ b/src/devices/machine/legscsi.cpp @@ -3,7 +3,7 @@ #include "legscsi.h" legacy_scsi_host_adapter::legacy_scsi_host_adapter(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : - device_t(mconfig, type, name, tag, owner, clock, shortname, source), + device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_selected(0), m_scsi_port(*this) { diff --git a/src/devices/machine/mb8795.cpp b/src/devices/machine/mb8795.cpp index 18d19c7060c..7f2c096023c 100644 --- a/src/devices/machine/mb8795.cpp +++ b/src/devices/machine/mb8795.cpp @@ -20,7 +20,7 @@ ADDRESS_MAP_END mb8795_device::mb8795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock, "mb8795", __FILE__), - device_network_interface(mconfig, *this, 10), txstat(0), txmask(0), rxstat(0), rxmask(0), txmode(0), rxmode(0), txlen(0), rxlen(0), txcount(0), drq_tx(false), + device_network_interface(mconfig, *this, 10), txstat(0), txmask(0), rxstat(0), rxmask(0), txmode(0), rxmode(0), txlen(0), rxlen(0), txcount(0), drq_tx(false), drq_rx(false), irq_tx(false), irq_rx(false), timer_tx(nullptr), timer_rx(nullptr), irq_tx_cb(*this), irq_rx_cb(*this), diff --git a/src/devices/machine/microtch.cpp b/src/devices/machine/microtch.cpp index 7e13d3c62f0..8cb8abce1ac 100644 --- a/src/devices/machine/microtch.cpp +++ b/src/devices/machine/microtch.cpp @@ -19,7 +19,7 @@ const device_type MICROTOUCH = &device_creator<microtouch_device>; microtouch_device::microtouch_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MICROTOUCH, "Microtouch Touchscreen", tag, owner, clock, "microtouch", __FILE__), - device_serial_interface(mconfig, *this), m_rx_buffer_ptr(0), m_tx_buffer_num(0), m_tx_buffer_ptr(0), m_reset_done(0), m_format(0), m_mode(0), m_last_touch_state(0), + device_serial_interface(mconfig, *this), m_rx_buffer_ptr(0), m_tx_buffer_num(0), m_tx_buffer_ptr(0), m_reset_done(0), m_format(0), m_mode(0), m_last_touch_state(0), m_last_x(0), m_last_y(0), m_out_stx_func(*this), m_touch(*this, "TOUCH"), diff --git a/src/devices/machine/mos6530n.cpp b/src/devices/machine/mos6530n.cpp index 2f1b2258555..3affa2d7b7f 100644 --- a/src/devices/machine/mos6530n.cpp +++ b/src/devices/machine/mos6530n.cpp @@ -61,7 +61,7 @@ DEVICE_ADDRESS_MAP_START( io_map, 8, mos6532_t ) AM_RANGE(0x00, 0x00) AM_MIRROR(0x18) AM_READWRITE(pa_data_r, pa_data_w) // SWCHA AM_RANGE(0x01, 0x01) AM_MIRROR(0x18) AM_READWRITE(pa_ddr_r, pa_ddr_w) // SWACNT AM_RANGE(0x02, 0x02) AM_MIRROR(0x18) AM_READWRITE(pb_data_r, pb_data_w) // SWCHB - AM_RANGE(0x03, 0x03) AM_MIRROR(0x18) AM_READWRITE(pb_ddr_r, pb_ddr_w) // SWBCNT + AM_RANGE(0x03, 0x03) AM_MIRROR(0x18) AM_READWRITE(pb_ddr_r, pb_ddr_w) // SWBCNT AM_RANGE(0x14, 0x17) AM_WRITE(timer_off_w) AM_RANGE(0x1c, 0x1f) AM_WRITE(timer_on_w) AM_RANGE(0x04, 0x04) AM_MIRROR(0x12) AM_READ(timer_off_r) diff --git a/src/devices/machine/ncr5380n.cpp b/src/devices/machine/ncr5380n.cpp index 33e681b555a..6534730ca00 100644 --- a/src/devices/machine/ncr5380n.cpp +++ b/src/devices/machine/ncr5380n.cpp @@ -31,8 +31,8 @@ DEVICE_ADDRESS_MAP_START(map, 8, ncr5380n_device) ADDRESS_MAP_END ncr5380n_device::ncr5380n_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : nscsi_device(mconfig, NCR5380N, "5380 SCSI (new)", tag, owner, clock, "ncr5380", __FILE__), tm(nullptr), status(0), istatus(0), m_mode(0), - m_outdata(0), m_busstatus(0), m_dmalatch(0), m_icommand(0), m_tcommand(0), clock_conv(0), sync_offset(0), sync_period(0), bus_id(0), select_timeout(0), + : nscsi_device(mconfig, NCR5380N, "5380 SCSI (new)", tag, owner, clock, "ncr5380", __FILE__), tm(nullptr), status(0), istatus(0), m_mode(0), + m_outdata(0), m_busstatus(0), m_dmalatch(0), m_icommand(0), m_tcommand(0), clock_conv(0), sync_offset(0), sync_period(0), bus_id(0), select_timeout(0), seq(0), tcount(0), mode(0), state(0), irq(false), drq(false), m_irq_handler(*this), m_drq_handler(*this) diff --git a/src/devices/machine/ncr5390.cpp b/src/devices/machine/ncr5390.cpp index 6ccbdcdbbc3..fa29299ff45 100644 --- a/src/devices/machine/ncr5390.cpp +++ b/src/devices/machine/ncr5390.cpp @@ -22,7 +22,7 @@ DEVICE_ADDRESS_MAP_START(map, 8, ncr5390_device) ADDRESS_MAP_END ncr5390_device::ncr5390_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : nscsi_device(mconfig, NCR5390, "5390 SCSI", tag, owner, clock, "ncr5390", __FILE__), tm(nullptr), config(0), status(0), istatus(0), clock_conv(0), sync_offset(0), sync_period(0), bus_id(0), + : nscsi_device(mconfig, NCR5390, "5390 SCSI", tag, owner, clock, "ncr5390", __FILE__), tm(nullptr), config(0), status(0), istatus(0), clock_conv(0), sync_offset(0), sync_period(0), bus_id(0), select_timeout(0), seq(0), tcount(0), mode(0), fifo_pos(0), command_pos(0), state(0), xfr_phase(0), command_length(0), dma_dir(0), irq(false), drq(false), m_irq_handler(*this), m_drq_handler(*this) diff --git a/src/devices/machine/nsc810.cpp b/src/devices/machine/nsc810.cpp index 85fd2f93f48..fb2f3466508 100644 --- a/src/devices/machine/nsc810.cpp +++ b/src/devices/machine/nsc810.cpp @@ -23,8 +23,8 @@ const device_type NSC810 = &device_creator<nsc810_device>; nsc810_device::nsc810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, NSC810, "National Semiconductor NSC810", tag, owner, clock, "nsc810", __FILE__), m_portA_latch(0), m_portB_latch(0), m_portC_latch(0), - m_ddrA(0), m_ddrB(0), m_ddrC(0), m_mode(0), m_timer0(nullptr), m_timer1(nullptr), m_timer0_mode(0), m_timer1_mode(0), m_timer0_counter(0), m_timer1_counter(0), + device_t(mconfig, NSC810, "National Semiconductor NSC810", tag, owner, clock, "nsc810", __FILE__), m_portA_latch(0), m_portB_latch(0), m_portC_latch(0), + m_ddrA(0), m_ddrB(0), m_ddrC(0), m_mode(0), m_timer0(nullptr), m_timer1(nullptr), m_timer0_mode(0), m_timer1_mode(0), m_timer0_counter(0), m_timer1_counter(0), m_timer0_base(0), m_timer1_base(0), m_timer0_running(false), m_timer1_running(false), m_timer0_clock(0), m_timer1_clock(0), m_ramselect(false), m_portA_r(*this), m_portB_r(*this), diff --git a/src/devices/machine/serflash.cpp b/src/devices/machine/serflash.cpp index 6660fd16aaa..ebdd1dd53a9 100644 --- a/src/devices/machine/serflash.cpp +++ b/src/devices/machine/serflash.cpp @@ -24,7 +24,7 @@ const device_type SERFLASH = &device_creator<serflash_device>; serflash_device::serflash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SERFLASH, "Serial Flash", tag, owner, clock, "serflash", __FILE__), device_nvram_interface(mconfig, *this), - m_length(0), m_region(nullptr), m_flash_state(), m_flash_enab(0), m_flash_cmd_seq(0), m_flash_cmd_prev(0), m_flash_addr_seq(0), m_flash_read_seq(0), m_flash_row(0), + m_length(0), m_region(nullptr), m_flash_state(), m_flash_enab(0), m_flash_cmd_seq(0), m_flash_cmd_prev(0), m_flash_addr_seq(0), m_flash_read_seq(0), m_flash_row(0), m_flash_col(0), m_flash_page_addr(0), m_flash_page_index(0), m_last_flash_cmd(0), m_flash_addr(0) { } diff --git a/src/devices/machine/t10mmc.h b/src/devices/machine/t10mmc.h index c8e0bff16de..47706a098f7 100644 --- a/src/devices/machine/t10mmc.h +++ b/src/devices/machine/t10mmc.h @@ -58,7 +58,7 @@ protected: UINT32 m_num_subblocks; UINT32 m_cur_subblock; int m_audio_sense; - + device_t *m_device; }; diff --git a/src/devices/machine/terminal.cpp b/src/devices/machine/terminal.cpp index 081266f801d..6b1b26b8c85 100644 --- a/src/devices/machine/terminal.cpp +++ b/src/devices/machine/terminal.cpp @@ -143,9 +143,9 @@ static const UINT8 terminal_font[256*16] = generic_terminal_device::generic_terminal_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_palette(*this, "palette"), - m_io_term_conf(*this, "TERM_CONF"), - m_x_pos(0), - m_framecnt(0), + m_io_term_conf(*this, "TERM_CONF"), + m_x_pos(0), + m_framecnt(0), m_y_pos(0), m_keyboard_cb(*this) { @@ -153,12 +153,12 @@ generic_terminal_device::generic_terminal_device(const machine_config &mconfig, generic_terminal_device::generic_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GENERIC_TERMINAL, "Generic Terminal", tag, owner, clock, "generic_terminal", __FILE__), - m_palette(*this, "palette"), - m_io_term_conf(*this, "TERM_CONF"), - m_x_pos(0), - m_framecnt(0), - m_y_pos(0), - m_keyboard_cb(*this) + m_palette(*this, "palette"), + m_io_term_conf(*this, "TERM_CONF"), + m_x_pos(0), + m_framecnt(0), + m_y_pos(0), + m_keyboard_cb(*this) { } diff --git a/src/devices/machine/upd4701.cpp b/src/devices/machine/upd4701.cpp index d2b103f1f5b..37e5d5dadd9 100644 --- a/src/devices/machine/upd4701.cpp +++ b/src/devices/machine/upd4701.cpp @@ -19,7 +19,7 @@ const device_type UPD4701 = &device_creator<upd4701_device>; upd4701_device::upd4701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, UPD4701, "uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__), m_cs(0), m_xy(0), m_ul(0), m_resetx(0), m_resety(0), m_latchx(0), m_latchy(0), + : device_t(mconfig, UPD4701, "uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__), m_cs(0), m_xy(0), m_ul(0), m_resetx(0), m_resety(0), m_latchx(0), m_latchy(0), m_startx(0), m_starty(0), m_x(0), m_y(0), m_switches(0), m_latchswitches(0), m_cf(0) { } diff --git a/src/devices/machine/ym2148.cpp b/src/devices/machine/ym2148.cpp index 8f4df5af907..bdaef303d77 100644 --- a/src/devices/machine/ym2148.cpp +++ b/src/devices/machine/ym2148.cpp @@ -30,7 +30,7 @@ ym2148_device::ym2148_device(const machine_config &mconfig, const char *tag, dev , m_data_in(0) , m_control(0) , m_status(0), m_timer(nullptr) - , m_rxd(1) + , m_rxd(1) , m_tx_busy(false) { } diff --git a/src/devices/machine/z80ctc.cpp b/src/devices/machine/z80ctc.cpp index 4f7a2c32e7c..7ea90146ca3 100644 --- a/src/devices/machine/z80ctc.cpp +++ b/src/devices/machine/z80ctc.cpp @@ -85,7 +85,7 @@ z80ctc_device::z80ctc_device(const machine_config &mconfig, const char *tag, dev m_zc0_cb(*this), m_zc1_cb(*this), m_zc2_cb(*this), - m_zc3_cb(*this), + m_zc3_cb(*this), m_vector(0) { } @@ -284,8 +284,8 @@ void z80ctc_device::interrupt_check() //------------------------------------------------- z80ctc_device::ctc_channel::ctc_channel() - : m_device(NULL), - m_index(0), + : m_device(NULL), + m_index(0), m_mode(0), m_tconst(0), m_down(0), |
