diff --git a/src/devices/bus/isa/cga.cpp b/src/devices/bus/isa/cga.cpp index d7759045208..2b0f0cc5e16 100644 --- a/src/devices/bus/isa/cga.cpp +++ b/src/devices/bus/isa/cga.cpp @@ -308,7 +308,7 @@ isa8_cga_device::isa8_cga_device(const machine_config &mconfig, const char *tag, device_t(mconfig, ISA8_CGA, "IBM Color/Graphics Monitor Adapter", tag, owner, clock, "cga", __FILE__), device_isa8_card_interface(mconfig, *this), m_cga_config(*this, "cga_config"), m_framecnt(0), m_mode_control(0), m_color_select(0), - m_update_row_type(-1), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0), + m_update_row_type(-1), m_y(0), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0), m_vram_size( 0x4000 ), m_plantronics(0), m_palette(*this, "palette"), m_screen(*this, "screen") @@ -324,7 +324,7 @@ isa8_cga_device::isa8_cga_device(const machine_config &mconfig, device_type type device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_isa8_card_interface(mconfig, *this), m_cga_config(*this, "cga_config"), m_framecnt(0), m_mode_control(0), m_color_select(0), - m_update_row_type(-1), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0), + m_update_row_type(-1), m_y(0), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0), m_vram_size( 0x4000 ), m_plantronics(0), m_palette(*this, "palette"), m_screen(*this, "screen") diff --git a/src/devices/cpu/arc/arc.cpp b/src/devices/cpu/arc/arc.cpp index 2fe40ae9bd6..e38d853f9be 100644 --- a/src/devices/cpu/arc/arc.cpp +++ b/src/devices/cpu/arc/arc.cpp @@ -19,7 +19,8 @@ const device_type ARC = &device_creator; arc_device::arc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, ARC, "ARCtangent A4", tag, owner, clock, "arc", __FILE__) - , m_program_config("program", ENDIANNESS_BIG, 32, 24, 0) // some docs describe these as 'middle endian'?! + , m_program_config("program", ENDIANNESS_BIG, 32, 24, 0), m_pc(0), m_program(nullptr), m_icount(0), m_debugger_temp(0) +// some docs describe these as 'middle endian'?! { } diff --git a/src/devices/cpu/e0c6200/e0c6200.h b/src/devices/cpu/e0c6200/e0c6200.h index 430cc36f6f8..b4769cf19e3 100644 --- a/src/devices/cpu/e0c6200/e0c6200.h +++ b/src/devices/cpu/e0c6200/e0c6200.h @@ -19,7 +19,8 @@ public: e0c6200_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor program, address_map_constructor data, const char *shortname, const char *source) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) , m_program_config("program", ENDIANNESS_BIG, 16, 13, -1, program) - , m_data_config("data", ENDIANNESS_BIG, 8, 12, 0, data) + , m_data_config("data", ENDIANNESS_BIG, 8, 12, 0, data), m_program(nullptr), m_data(nullptr), m_op(0), m_prev_op(0), m_irq_vector(0), m_irq_id(0), m_possible_irq(false), m_halt(false), + m_sleep(false), m_icount(0), m_pc(0), m_prev_pc(0), m_npc(0), m_jpc(0), m_a(0), m_b(0), m_xp(0), m_xh(0), m_xl(0), m_yp(0), m_yh(0), m_yl(0), m_sp(0), m_f(0) { } protected: diff --git a/src/devices/cpu/e0c6200/e0c6s46.cpp b/src/devices/cpu/e0c6200/e0c6s46.cpp index be131a1e5dc..21d7813eb25 100644 --- a/src/devices/cpu/e0c6200/e0c6s46.cpp +++ b/src/devices/cpu/e0c6200/e0c6s46.cpp @@ -48,11 +48,13 @@ ADDRESS_MAP_END e0c6s46_device::e0c6s46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : e0c6200_cpu_device(mconfig, E0C6S46, "E0C6S46", tag, owner, clock, ADDRESS_MAP_NAME(e0c6s46_program), ADDRESS_MAP_NAME(e0c6s46_data), "e0c6s46", __FILE__) , m_vram1(*this, "vram1") - , m_vram2(*this, "vram2") - , m_pixel_update_handler(NULL) + , m_vram2(*this, "vram2"), m_osc(0), m_svd(0), m_lcd_control(0), m_lcd_contrast(0) + , m_pixel_update_handler(nullptr) , m_write_r0(*this), m_write_r1(*this), m_write_r2(*this), m_write_r3(*this), m_write_r4(*this) , m_read_p0(*this), m_read_p1(*this), m_read_p2(*this), m_read_p3(*this) - , m_write_p0(*this), m_write_p1(*this), m_write_p2(*this), m_write_p3(*this) + , m_write_p0(*this), m_write_p1(*this), m_write_p2(*this), m_write_p3(*this), m_r_dir(0), m_p_dir(0), m_p_pullup(0), m_dfk0(0), m_256_src_pulse(0), m_core_256_handle(nullptr), + m_watchdog_count(0), m_clktimer_count(0), m_stopwatch_on(0), m_swl_cur_pulse(0), m_swl_slice(0), m_swl_count(0), m_swh_count(0), m_prgtimer_select(0), m_prgtimer_on(0), m_prgtimer_src_pulse(0), + m_prgtimer_cur_pulse(0), m_prgtimer_count(0), m_prgtimer_reload(0), m_prgtimer_handle(nullptr), m_bz_43_on(0), m_bz_freq(0), m_bz_envelope(0), m_bz_duty_ratio(0), m_bz_1shot_on(0), m_bz_1shot_running(false), m_bz_1shot_count(0), m_bz_pulse(0), m_buzzer_handle(nullptr) { } diff --git a/src/devices/cpu/h8/h8.cpp b/src/devices/cpu/h8/h8.cpp index 9084c0b76fa..fee0c40a639 100644 --- a/src/devices/cpu/h8/h8.cpp +++ b/src/devices/cpu/h8/h8.cpp @@ -16,7 +16,8 @@ h8_device::h8_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, bool mode_a16, address_map_delegate map_delegate) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source), program_config("program", ENDIANNESS_BIG, 16, mode_a16 ? 16 : 24, 0, map_delegate), - io_config("io", ENDIANNESS_BIG, 16, 16, -1) + io_config("io", ENDIANNESS_BIG, 16, 16, -1), program(nullptr), io(nullptr), direct(nullptr), PPC(0), NPC(0), PC(0), PIR(0), EXR(0), CCR(0), MAC(0), MACF(0), + TMP1(0), TMP2(0), TMPR(0), inst_state(0), inst_substate(0), icount(0), bcount(0), irq_vector(0), taken_irq_vector(0), irq_level(0), taken_irq_level(0), irq_required(false), irq_nmi(false) { supports_advanced = false; mode_advanced = false; diff --git a/src/devices/cpu/h8/h83002.cpp b/src/devices/cpu/h8/h83002.cpp index 451454dca40..96fc201dfab 100644 --- a/src/devices/cpu/h8/h83002.cpp +++ b/src/devices/cpu/h8/h83002.cpp @@ -23,7 +23,7 @@ h83002_device::h83002_device(const machine_config &mconfig, const char *tag, dev timer16_3(*this, "timer16:3"), timer16_4(*this, "timer16:4"), sci0(*this, "sci0"), - sci1(*this, "sci1") + sci1(*this, "sci1"), syscr(0) { } diff --git a/src/devices/cpu/h8/h83006.cpp b/src/devices/cpu/h8/h83006.cpp index 2e203a84dbb..431d257a4b4 100644 --- a/src/devices/cpu/h8/h83006.cpp +++ b/src/devices/cpu/h8/h83006.cpp @@ -28,7 +28,7 @@ h83006_device::h83006_device(const machine_config &mconfig, device_type type, co timer16_2(*this, "timer16:2"), sci0(*this, "sci0"), sci1(*this, "sci1"), - sci2(*this, "sci2") + sci2(*this, "sci2"), syscr(0), ram_start(0) { } @@ -53,7 +53,7 @@ h83006_device::h83006_device(const machine_config &mconfig, const char *tag, dev timer16_2(*this, "timer16:2"), sci0(*this, "sci0"), sci1(*this, "sci1"), - sci2(*this, "sci2") + sci2(*this, "sci2"), syscr(0) { ram_start = 0xfff720; } diff --git a/src/devices/cpu/h8/h83008.cpp b/src/devices/cpu/h8/h83008.cpp index c919008667d..33b49317a89 100644 --- a/src/devices/cpu/h8/h83008.cpp +++ b/src/devices/cpu/h8/h83008.cpp @@ -25,7 +25,7 @@ h83008_device::h83008_device(const machine_config &mconfig, const char *tag, dev timer16_1(*this, "timer16:1"), timer16_2(*this, "timer16:2"), sci0(*this, "sci0"), - sci1(*this, "sci1") + sci1(*this, "sci1"), syscr(0) { } diff --git a/src/devices/cpu/h8/h83048.cpp b/src/devices/cpu/h8/h83048.cpp index 8254f5a6c22..0cad91b1d72 100644 --- a/src/devices/cpu/h8/h83048.cpp +++ b/src/devices/cpu/h8/h83048.cpp @@ -30,7 +30,7 @@ h83048_device::h83048_device(const machine_config &mconfig, device_type type, co timer16_3(*this, "timer16:3"), timer16_4(*this, "timer16:4"), sci0(*this, "sci0"), - sci1(*this, "sci1") + sci1(*this, "sci1"), ram_start(0), syscr(0) { } diff --git a/src/devices/cpu/h8/h83337.cpp b/src/devices/cpu/h8/h83337.cpp index 00a353e4347..dc0e4c50bb2 100644 --- a/src/devices/cpu/h8/h83337.cpp +++ b/src/devices/cpu/h8/h83337.cpp @@ -26,7 +26,7 @@ h83337_device::h83337_device(const machine_config &mconfig, device_type type, co timer16(*this, "timer16"), timer16_0(*this, "timer16:0"), sci0(*this, "sci0"), - sci1(*this, "sci1") + sci1(*this, "sci1"), syscr(0), ram_start(0) { } @@ -48,7 +48,7 @@ h83337_device::h83337_device(const machine_config &mconfig, const char *tag, dev timer16(*this, "timer16"), timer16_0(*this, "timer16:0"), sci0(*this, "sci0"), - sci1(*this, "sci1") + sci1(*this, "sci1"), syscr(0) { ram_start = 0xf780; } diff --git a/src/devices/cpu/h8/h8_adc.cpp b/src/devices/cpu/h8/h8_adc.cpp index b1f02f83ca7..a105a1c926e 100644 --- a/src/devices/cpu/h8/h8_adc.cpp +++ b/src/devices/cpu/h8/h8_adc.cpp @@ -12,7 +12,8 @@ const device_type H8_ADC_2655 = &device_creator; h8_adc_device::h8_adc_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), - cpu(*this, DEVICE_SELF_OWNER) + cpu(*this, DEVICE_SELF_OWNER), intc(nullptr), io(nullptr), intc_tag(nullptr), intc_vector(0), adcsr(0), adcr(0), register_mask(0), trigger(0), start_mode(0), start_channel(0), + end_channel(0), start_count(0), mode(0), channel(0), count(0), analog_powered(false), adtrg(false), next_event(0) { suspend_on_interrupt = false; analog_power_control = false; diff --git a/src/devices/cpu/h8/h8_intc.cpp b/src/devices/cpu/h8/h8_intc.cpp index e88476fc05c..7a77a988aa0 100644 --- a/src/devices/cpu/h8/h8_intc.cpp +++ b/src/devices/cpu/h8/h8_intc.cpp @@ -9,15 +9,15 @@ const device_type H8S_INTC = &device_creator; h8_intc_device::h8_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, H8_INTC, "H8 INTC", tag, owner, clock, "h8_intc", __FILE__), - cpu(*this, DEVICE_SELF_OWNER) + cpu(*this, DEVICE_SELF_OWNER), nmi_input(false), irq_input(0), ier(0), isr(0), iscr(0), icr_filter(0), ipr_filter(0) { irq_vector_base = 4; irq_vector_nmi = 3; } h8_intc_device::h8_intc_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), - cpu(*this, DEVICE_SELF_OWNER) + device_t(mconfig, type, name, tag, owner, clock, shortname, source), irq_vector_base(0), irq_vector_nmi(0), + cpu(*this, DEVICE_SELF_OWNER), nmi_input(false), irq_input(0), ier(0), isr(0), iscr(0), icr_filter(0), ipr_filter(0) { } diff --git a/src/devices/cpu/h8/h8_port.cpp b/src/devices/cpu/h8/h8_port.cpp index 0f289edc7a3..6896a5b167a 100644 --- a/src/devices/cpu/h8/h8_port.cpp +++ b/src/devices/cpu/h8/h8_port.cpp @@ -7,7 +7,7 @@ const device_type H8_PORT = &device_creator; h8_port_device::h8_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, H8_PORT, "H8 digital port", tag, owner, clock, "h8_digital_port", __FILE__), - cpu(*this, DEVICE_SELF_OWNER) + cpu(*this, DEVICE_SELF_OWNER), io(nullptr), address(0), default_ddr(0), ddr(0), pcr(0), odr(0), mask(0), dr(0), last_output(0) { } diff --git a/src/devices/cpu/h8/h8_sci.cpp b/src/devices/cpu/h8/h8_sci.cpp index 758e09141f2..b0b00a91f3b 100644 --- a/src/devices/cpu/h8/h8_sci.cpp +++ b/src/devices/cpu/h8/h8_sci.cpp @@ -11,7 +11,9 @@ h8_sci_device::h8_sci_device(const machine_config &mconfig, const char *tag, dev device_t(mconfig, H8_SCI, "H8 Serial Communications Interface", tag, owner, clock, "h8_sci", __FILE__), cpu(*this, DEVICE_SELF_OWNER), tx_cb(*this), - clk_cb(*this) + clk_cb(*this), intc(nullptr), intc_tag(nullptr), external_to_internal_ratio(0), internal_to_external_ratio(0), sync_timer(nullptr), eri_int(0), rxi_int(0), txi_int(0), tei_int(0), + tx_state(0), rx_state(0), tx_bit(0), rx_bit(0), clock_state(0), clock_mode(0), tx_parity(0), rx_parity(0), ext_clock_counter(0), clock_value(false), ext_clock_value(false), rx_value(false), + rdr(0), tdr(0), smr(0), scr(0), ssr(0), brr(0), rsr(0), tsr(0), clock_base(0), divider(0) { external_clock_period = attotime::never; } diff --git a/src/devices/cpu/h8/h8_timer16.cpp b/src/devices/cpu/h8/h8_timer16.cpp index 5714985dd84..a796e7fcf82 100644 --- a/src/devices/cpu/h8/h8_timer16.cpp +++ b/src/devices/cpu/h8/h8_timer16.cpp @@ -12,14 +12,16 @@ const device_type H8S_TIMER16_CHANNEL = &device_creator; hcd62121_cpu_device::hcd62121_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, HCD62121, "Hitachi HCD62121", tag, owner, clock, "hcd62121", __FILE__) , m_program_config("program", ENDIANNESS_BIG, 8, 24, 0) - , m_io_config("io", ENDIANNESS_BIG, 8, 8, 0) - , m_sp(0) + , m_io_config("io", ENDIANNESS_BIG, 8, 8, 0), m_prev_pc(0) + , m_sp(0) , m_ip(0) , m_dsize(0) , m_cseg(0) , m_dseg(0) , m_sseg(0) , m_f(0) - , m_lar(0) + , m_lar(0), m_program(nullptr), m_io(nullptr), m_icount(0) { } diff --git a/src/devices/cpu/i4004/i4004.cpp b/src/devices/cpu/i4004/i4004.cpp index 4d81145da31..abd60548612 100644 --- a/src/devices/cpu/i4004/i4004.cpp +++ b/src/devices/cpu/i4004/i4004.cpp @@ -28,7 +28,7 @@ i4004_cpu_device::i4004_cpu_device(const machine_config &mconfig, const char *ta : cpu_device(mconfig, I4004, "Intel I4004", tag, owner, clock, "i4004", __FILE__) , m_program_config("program", ENDIANNESS_LITTLE, 8, 12, 0) , m_io_config("io", ENDIANNESS_LITTLE, 8, 6, 0) - , m_data_config("data", ENDIANNESS_LITTLE, 8, 12, 0) + , m_data_config("data", ENDIANNESS_LITTLE, 8, 12, 0), m_A(0), m_C(0), m_TEST(0), m_flags(0), m_program(nullptr), m_direct(nullptr), m_data(nullptr), m_io(nullptr), m_icount(0), m_pc_pos(0), m_addr_mask(0) { m_is_octal = true; } diff --git a/src/devices/cpu/i8089/i8089.cpp b/src/devices/cpu/i8089/i8089.cpp index b81869bda1d..e2aa5e74712 100644 --- a/src/devices/cpu/i8089/i8089.cpp +++ b/src/devices/cpu/i8089/i8089.cpp @@ -38,14 +38,14 @@ i8089_device::i8089_device(const machine_config &mconfig, const char *tag, devic m_ch1(*this, "1"), m_ch2(*this, "2"), m_write_sintr1(*this), - m_write_sintr2(*this), + m_write_sintr2(*this), m_databus_width(0), m_mem(nullptr), m_io(nullptr), m_sysbus(0), m_scb(0), - m_soc(0), + m_soc(0), m_initialized(false), m_master(false), m_current_tp(0), m_ca(0), - m_sel(0) + m_sel(0), m_last_chan(false) { } diff --git a/src/devices/cpu/i860/i860.cpp b/src/devices/cpu/i860/i860.cpp index 5023fa65c60..d9b8e43f1cb 100644 --- a/src/devices/cpu/i860/i860.cpp +++ b/src/devices/cpu/i860/i860.cpp @@ -36,7 +36,7 @@ const device_type I860 = &device_creator; i860_cpu_device::i860_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, I860, "i860XR", tag, owner, clock, "i860xr", __FILE__) - , m_program_config("program", ENDIANNESS_LITTLE, 64, 32, 0) + , m_program_config("program", ENDIANNESS_LITTLE, 64, 32, 0), m_pc(0), m_merge(0), m_pin_bus_hold(0), m_pin_reset(0), m_exiting_readmem(0), m_exiting_ifetch(0), m_pc_updated(0), m_pending_trap(0), m_fir_gets_trap_addr(0), m_single_stepping(0), m_program(nullptr), m_ppc(0), m_icount(0) { } diff --git a/src/devices/cpu/i960/i960.cpp b/src/devices/cpu/i960/i960.cpp index 8b00a58d4c6..0043e02254a 100644 --- a/src/devices/cpu/i960/i960.cpp +++ b/src/devices/cpu/i960/i960.cpp @@ -18,7 +18,8 @@ const device_type I960 = &device_creator; i960_cpu_device::i960_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, I960, "i960kb", tag, owner, clock, "i960kb", __FILE__) - , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0) + , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0), m_rcache_pos(0), m_SAT(0), m_PRCB(0), m_PC(0), m_AC(0), m_IP(0), m_PIP(0), m_ICR(0), m_bursting(0), m_immediate_irq(0), + m_immediate_vector(0), m_immediate_pri(0), m_program(nullptr), m_direct(nullptr), m_icount(0) { } diff --git a/src/devices/cpu/ie15/ie15.cpp b/src/devices/cpu/ie15/ie15.cpp index cae9bc8db1d..5cef25764a6 100644 --- a/src/devices/cpu/ie15/ie15.cpp +++ b/src/devices/cpu/ie15/ie15.cpp @@ -31,8 +31,8 @@ const device_type IE15 = &device_creator; ie15_device::ie15_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, IE15, "ie15", tag, owner, clock, "ie15_cpu", __FILE__), m_program_config("program", ENDIANNESS_LITTLE, 8, 14), - m_io_config("io", ENDIANNESS_LITTLE, 8, 8), - m_program(0), + m_io_config("io", ENDIANNESS_LITTLE, 8, 8), m_A(0), m_CF(0), m_ZF(0), m_RF(0), m_flags(0), + m_program(0), m_io(nullptr), m_direct(0) { // set our instruction counter diff --git a/src/devices/cpu/m6502/m6502.cpp b/src/devices/cpu/m6502/m6502.cpp index 01b2b8f0f98..fa22a54acd1 100644 --- a/src/devices/cpu/m6502/m6502.cpp +++ b/src/devices/cpu/m6502/m6502.cpp @@ -18,16 +18,18 @@ m6502_device::m6502_device(const machine_config &mconfig, const char *tag, devic cpu_device(mconfig, M6502, "M6502", tag, owner, clock, "m6502", __FILE__), sync_w(*this), program_config("program", ENDIANNESS_LITTLE, 8, 16), - sprogram_config("decrypted_opcodes", ENDIANNESS_LITTLE, 8, 16) + sprogram_config("decrypted_opcodes", ENDIANNESS_LITTLE, 8, 16), PPC(0), NPC(0), PC(0), SP(0), TMP(0), TMP2(0), A(0), X(0), Y(0), P(0), IR(0), inst_state_base(0), mintf(nullptr), + inst_state(0), inst_substate(0), icount(0), nmi_state(false), irq_state(false), apu_irq_state(false), v_state(false), irq_taken(false), sync(false), inhibit_interrupts(false) { direct_disabled = false; } m6502_device::m6502_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) : - cpu_device(mconfig, type, name, tag, owner, clock, shortname, source), + cpu_device(mconfig, type, name, tag, owner, clock, shortname, source), sync_w(*this), program_config("program", ENDIANNESS_LITTLE, 8, 16), - sprogram_config("decrypted_opcodes", ENDIANNESS_LITTLE, 8, 16) + sprogram_config("decrypted_opcodes", ENDIANNESS_LITTLE, 8, 16), PPC(0), NPC(0), PC(0), SP(0), TMP(0), TMP2(0), A(0), X(0), Y(0), P(0), IR(0), inst_state_base(0), mintf(nullptr), + inst_state(0), inst_substate(0), icount(0), nmi_state(false), irq_state(false), apu_irq_state(false), v_state(false), irq_taken(false), sync(false), inhibit_interrupts(false) { direct_disabled = false; } diff --git a/src/devices/cpu/m6502/m6509.cpp b/src/devices/cpu/m6502/m6509.cpp index 77af9e8f1f7..ec21e4c725c 100644 --- a/src/devices/cpu/m6502/m6509.cpp +++ b/src/devices/cpu/m6502/m6509.cpp @@ -14,7 +14,7 @@ const device_type M6509 = &device_creator; m6509_device::m6509_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - m6502_device(mconfig, M6509, "M6509", tag, owner, clock, "m6509", __FILE__) + m6502_device(mconfig, M6509, "M6509", tag, owner, clock, "m6509", __FILE__), XPC(0), bank_i(0), bank_y(0) { program_config.m_addrbus_width = 20; program_config.m_logaddr_width = 20; diff --git a/src/devices/cpu/m6502/m6510.cpp b/src/devices/cpu/m6502/m6510.cpp index 10e57fb27b8..5ab9b0a6259 100644 --- a/src/devices/cpu/m6502/m6510.cpp +++ b/src/devices/cpu/m6502/m6510.cpp @@ -16,7 +16,7 @@ const device_type M6510 = &device_creator; m6510_device::m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m6502_device(mconfig, M6510, "M6510", tag, owner, clock, "m6510", __FILE__), read_port(*this), - write_port(*this) + write_port(*this), dir(0), port(0), drive(0) { pullup = 0x00; floating = 0x00; @@ -25,7 +25,7 @@ m6510_device::m6510_device(const machine_config &mconfig, const char *tag, devic m6510_device::m6510_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) : m6502_device(mconfig, type, name, tag, owner, clock, shortname, source), read_port(*this), - write_port(*this) + write_port(*this), dir(0), port(0), drive(0) { pullup = 0x00; floating = 0x00; diff --git a/src/devices/cpu/m6502/m65ce02.cpp b/src/devices/cpu/m6502/m65ce02.cpp index 97ad2c4b535..fdedc99369d 100644 --- a/src/devices/cpu/m6502/m65ce02.cpp +++ b/src/devices/cpu/m6502/m65ce02.cpp @@ -14,12 +14,12 @@ const device_type M65CE02 = &device_creator; m65ce02_device::m65ce02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock, "m65ce02", __FILE__) + m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock, "m65ce02", __FILE__), TMP3(0), Z(0), B(0) { } m65ce02_device::m65ce02_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) : - m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source) + m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source), TMP3(0), Z(0), B(0) { } diff --git a/src/devices/cpu/m6502/m740.cpp b/src/devices/cpu/m6502/m740.cpp index 5e011ba3561..4987b26e31a 100644 --- a/src/devices/cpu/m6502/m740.cpp +++ b/src/devices/cpu/m6502/m740.cpp @@ -14,12 +14,12 @@ const device_type M740 = &device_creator; m740_device::m740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - m6502_device(mconfig, M740, "M740", tag, owner, clock, "m740", __FILE__) + m6502_device(mconfig, M740, "M740", tag, owner, clock, "m740", __FILE__), m_irq_multiplex(0), m_irq_vector(0) { } m740_device::m740_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) : - m6502_device(mconfig, type, name, tag, owner, clock, shortname, source) + m6502_device(mconfig, type, name, tag, owner, clock, shortname, source), m_irq_multiplex(0), m_irq_vector(0) { } diff --git a/src/devices/cpu/mb86233/mb86233.cpp b/src/devices/cpu/mb86233/mb86233.cpp index 0ad34296064..2bd8a7f7c02 100644 --- a/src/devices/cpu/mb86233/mb86233.cpp +++ b/src/devices/cpu/mb86233/mb86233.cpp @@ -26,12 +26,13 @@ const device_type MB86233 = &device_creator; mb86233_cpu_device::mb86233_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, MB86233, "MB86233", tag, owner, clock, "mb86233", __FILE__) , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, -2) - , m_data_config("data", ENDIANNESS_LITTLE, 32, 32, 0) - , m_fifo_read_cb(*this) + , m_data_config("data", ENDIANNESS_LITTLE, 32, 32, 0), m_pc(0), m_reps(0), m_pcsp(0), m_eb(0), m_shift(0), m_repcnt(0), m_sr(0), + m_fpucontrol(0), m_program(nullptr), m_direct(nullptr), m_icount(0), m_fifo_wait(0) + , m_fifo_read_cb(*this) , m_fifo_read_ok_cb(*this) , m_fifo_write_cb(*this) - , m_tablergn(NULL) - , m_Tables(NULL) + , m_tablergn(nullptr), m_ARAM(nullptr), m_BRAM(nullptr) + , m_Tables(nullptr) { } diff --git a/src/devices/cpu/mcs96/i8x9x.cpp b/src/devices/cpu/mcs96/i8x9x.cpp index 1170aa4fa1a..99f4c0005b9 100644 --- a/src/devices/cpu/mcs96/i8x9x.cpp +++ b/src/devices/cpu/mcs96/i8x9x.cpp @@ -13,7 +13,8 @@ i8x9x_device::i8x9x_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) : mcs96_device(mconfig, type, name, tag, owner, clock, 8, "i8x9x", __FILE__), - io_config("io", ENDIANNESS_LITTLE, 16, 16, -1) + io_config("io", ENDIANNESS_LITTLE, 16, 16, -1), io(nullptr), base_timer2(0), ad_done(0), hso_command(0), ad_command(0), hso_time(0), ad_result(0), + ios0(0), ios1(0), ioc0(0), ioc1(0), sbuf(0), sp_stat(0), serial_send_buf(0), serial_send_timer(0) { } diff --git a/src/devices/cpu/mcs96/mcs96.cpp b/src/devices/cpu/mcs96/mcs96.cpp index 4c4cf849b88..cbf1b180d20 100644 --- a/src/devices/cpu/mcs96/mcs96.cpp +++ b/src/devices/cpu/mcs96/mcs96.cpp @@ -14,7 +14,8 @@ mcs96_device::mcs96_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int data_width, const char *shortname, const char *source) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source), - program_config("program", ENDIANNESS_LITTLE, data_width, 16) + program_config("program", ENDIANNESS_LITTLE, data_width, 16), program(nullptr), direct(nullptr), icount(0), bcount(0), inst_state(0), cycles_scaling(0), pending_irq(0), + PC(0), PPC(0), PSW(0), OP1(0), OP2(0), OP3(0), OPI(0), TMP(0), irq_requested(false) { } diff --git a/src/devices/cpu/melps4/m58846.cpp b/src/devices/cpu/melps4/m58846.cpp index 4d892d38307..c109c28b446 100644 --- a/src/devices/cpu/melps4/m58846.cpp +++ b/src/devices/cpu/melps4/m58846.cpp @@ -25,7 +25,7 @@ ADDRESS_MAP_END // device definitions m58846_device::m58846_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : melps4_cpu_device(mconfig, M58846, "M58846", tag, owner, clock, 11, ADDRESS_MAP_NAME(program_2kx9), 7, ADDRESS_MAP_NAME(data_128x4), 12 /* number of D pins */, 2 /* subroutine page */, 1 /* interrupt page */, "m58846", __FILE__) + : melps4_cpu_device(mconfig, M58846, "M58846", tag, owner, clock, 11, ADDRESS_MAP_NAME(program_2kx9), 7, ADDRESS_MAP_NAME(data_128x4), 12 /* number of D pins */, 2 /* subroutine page */, 1 /* interrupt page */, "m58846", __FILE__), m_timer(nullptr) { } diff --git a/src/devices/cpu/mn10200/mn10200.h b/src/devices/cpu/mn10200/mn10200.h index 59be253f852..dca5230e043 100644 --- a/src/devices/cpu/mn10200/mn10200.h +++ b/src/devices/cpu/mn10200/mn10200.h @@ -48,9 +48,10 @@ public: // construction/destruction mn10200_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor program, const char *shortname, const char *source) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) - , m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0, program) - , m_read_port0(*this), m_read_port1(*this), m_read_port2(*this), m_read_port3(*this), m_read_port4(*this) - , m_write_port0(*this), m_write_port1(*this), m_write_port2(*this), m_write_port3(*this), m_write_port4(*this) + , m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0, program), m_program(nullptr) + , m_read_port0(*this), m_read_port1(*this), m_read_port2(*this), m_read_port3(*this), m_read_port4(*this) + , m_write_port0(*this), m_write_port1(*this), m_write_port2(*this), m_write_port3(*this), m_write_port4(*this), m_cycles(0), m_pc(0), m_psw(0), m_mdr(0), m_nmicr(0), m_iagr(0), + m_extmdl(0), m_extmdh(0), m_possible_irq(false), m_pplul(0), m_ppluh(0), m_p3md(0), m_p4(0) { } // static configuration helpers diff --git a/src/devices/cpu/pdp1/tx0.cpp b/src/devices/cpu/pdp1/tx0.cpp index 03c8441d88f..1e1eda4d761 100644 --- a/src/devices/cpu/pdp1/tx0.cpp +++ b/src/devices/cpu/pdp1/tx0.cpp @@ -46,10 +46,11 @@ const device_type TX0_64KW = &device_creator; tx0_device::tx0_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, int addr_bits, int address_mask, int ir_mask) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) - , m_program_config("program", ENDIANNESS_BIG, 32, addr_bits , -2) - , m_address_mask(address_mask) - , m_ir_mask(ir_mask) - , m_cpy_handler(*this) + , m_program_config("program", ENDIANNESS_BIG, 32, addr_bits , -2), m_mbr(0), m_ac(0), m_mar(0), m_pc(0), m_ir(0), m_lr(0), m_xr(0), m_pf(0), m_tbr(0), m_tac(0), m_cm_sel(0), + m_lr_sel(0), m_gbl_cm_sel(0), m_stop_cyc0(0), m_stop_cyc1(0), m_run(0), m_rim(0), m_cycle(0), m_ioh(0), m_ios(0), m_rim_step(0) + , m_address_mask(address_mask) + , m_ir_mask(ir_mask), m_icount(0), m_program(nullptr) + , m_cpy_handler(*this) , m_r1l_handler(*this) , m_dis_handler(*this) , m_r3l_handler(*this) diff --git a/src/devices/cpu/psx/dma.cpp b/src/devices/cpu/psx/dma.cpp index 923182decda..b77c6e9d8e5 100644 --- a/src/devices/cpu/psx/dma.cpp +++ b/src/devices/cpu/psx/dma.cpp @@ -28,7 +28,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const ch const device_type PSX_DMA = &device_creator; psxdma_device::psxdma_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, PSX_DMA, "Sony PSX DMA", tag, owner, clock, "psxdma", __FILE__), + device_t(mconfig, PSX_DMA, "Sony PSX DMA", tag, owner, clock, "psxdma", __FILE__), m_ram( ), m_ramsize(0), m_dpcp(0), m_dicr(0), m_irq_handler(*this) { } diff --git a/src/devices/cpu/psx/irq.cpp b/src/devices/cpu/psx/irq.cpp index d8ba3383214..a15b091d23f 100644 --- a/src/devices/cpu/psx/irq.cpp +++ b/src/devices/cpu/psx/irq.cpp @@ -30,7 +30,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const ch const device_type PSX_IRQ = &device_creator; psxirq_device::psxirq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, PSX_IRQ, "Sony PSX IRQ", tag, owner, clock, "psxirq", __FILE__), + device_t(mconfig, PSX_IRQ, "Sony PSX IRQ", tag, owner, clock, "psxirq", __FILE__), n_irqdata(0), n_irqmask(0), m_irq_handler(*this) { } diff --git a/src/devices/cpu/psx/mdec.cpp b/src/devices/cpu/psx/mdec.cpp index 716102d1324..0ad4ec3e2c3 100644 --- a/src/devices/cpu/psx/mdec.cpp +++ b/src/devices/cpu/psx/mdec.cpp @@ -31,7 +31,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const ch const device_type PSX_MDEC = &device_creator; psxmdec_device::psxmdec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, PSX_MDEC, "Sony PSX MDEC", tag, owner, clock, "psxmdec", __FILE__) + : device_t(mconfig, PSX_MDEC, "Sony PSX MDEC", tag, owner, clock, "psxmdec", __FILE__), n_decoded(0), n_offset(0), n_0_command(0), n_0_address(0), n_0_size(0), n_1_command(0), n_1_status(0) { } diff --git a/src/devices/cpu/psx/sio.cpp b/src/devices/cpu/psx/sio.cpp index 09333a283bb..b801d3e7bc5 100644 --- a/src/devices/cpu/psx/sio.cpp +++ b/src/devices/cpu/psx/sio.cpp @@ -39,8 +39,8 @@ psxsio1_device::psxsio1_device(const machine_config &mconfig, const char *tag, d psxsio_device::psxsio_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_status(SIO_STATUS_TX_EMPTY | SIO_STATUS_TX_RDY), - m_rxd(1), + m_status(SIO_STATUS_TX_EMPTY | SIO_STATUS_TX_RDY), m_mode(0), m_control(0), m_baud(0), + m_rxd(1), m_tx_data(0), m_rx_data(0), m_tx_shift(0), m_rx_shift(0), m_tx_bits(0), m_rx_bits(0), m_timer(nullptr), m_irq_handler(*this), m_sck_handler(*this), m_txd_handler(*this), diff --git a/src/devices/cpu/s2650/s2650.cpp b/src/devices/cpu/s2650/s2650.cpp index a67bc2ce5fe..7eb8c0e7ffd 100644 --- a/src/devices/cpu/s2650/s2650.cpp +++ b/src/devices/cpu/s2650/s2650.cpp @@ -35,9 +35,9 @@ s2650_device::s2650_device(const machine_config &mconfig, const char *tag, devic : cpu_device(mconfig, S2650, "S2650", tag, owner, clock, "s2650", __FILE__ ) , m_program_config("program", ENDIANNESS_LITTLE, 8, 15) , m_io_config("io", ENDIANNESS_LITTLE, 8, 9) - , m_flag_handler(*this) - , m_halt(0) - , m_debugger_temp(0) + , m_flag_handler(*this), m_ppc(0), m_page(0), m_iar(0), m_ea(0), m_psl(0), m_psu(0), m_r(0) + , m_halt(0), m_ir(0), m_irq_state(0), m_icount(0), m_program(nullptr), m_direct(nullptr), m_io(nullptr) + , m_debugger_temp(0) { memset(m_reg, 0x00, sizeof(m_reg)); } diff --git a/src/devices/cpu/saturn/saturn.cpp b/src/devices/cpu/saturn/saturn.cpp index 1d94a3a9ceb..bfbff66eee0 100644 --- a/src/devices/cpu/saturn/saturn.cpp +++ b/src/devices/cpu/saturn/saturn.cpp @@ -52,7 +52,8 @@ saturn_device::saturn_device(const machine_config &mconfig, const char *tag, dev , m_unconfig_func(*this) , m_id_func(*this) , m_crc_func(*this) - , m_rsi_func(*this) + , m_rsi_func(*this), m_pc(0), m_oldpc(0), m_p(0), m_out(0), m_carry(0), m_decimal(0), m_st(0), m_hst(0), m_nmi_state(0), m_irq_state(0), m_irq_enable(0), m_in_irq(0), + m_pending_irq(0), m_sleeping(0), m_monitor_id(0), m_monitor_in(0), m_program(nullptr), m_direct(nullptr), m_icount(0), m_debugger_temp(0) { } diff --git a/src/devices/cpu/scmp/scmp.cpp b/src/devices/cpu/scmp/scmp.cpp index edd8502c1c5..9a14507b97c 100644 --- a/src/devices/cpu/scmp/scmp.cpp +++ b/src/devices/cpu/scmp/scmp.cpp @@ -23,8 +23,8 @@ const device_type INS8060 = &device_creator; scmp_device::scmp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, SCMP, "INS 8050 SC/MP", tag, owner, clock, "ins8050", __FILE__) - , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0) - , m_flag_out_func(*this) + , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0), m_AC(0), m_ER(0), m_SR(0), m_program(nullptr), m_direct(nullptr), m_icount(0) + , m_flag_out_func(*this) , m_sout_func(*this) , m_sin_func(*this) , m_sensea_func(*this) @@ -36,8 +36,8 @@ scmp_device::scmp_device(const machine_config &mconfig, const char *tag, device_ scmp_device::scmp_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) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) - , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0) - , m_flag_out_func(*this) + , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0), m_AC(0), m_ER(0), m_SR(0), m_program(nullptr), m_direct(nullptr), m_icount(0) + , m_flag_out_func(*this) , m_sout_func(*this) , m_sin_func(*this) , m_sensea_func(*this) diff --git a/src/devices/cpu/se3208/se3208.cpp b/src/devices/cpu/se3208/se3208.cpp index 98a87335d33..c48a03442d9 100644 --- a/src/devices/cpu/se3208/se3208.cpp +++ b/src/devices/cpu/se3208/se3208.cpp @@ -44,7 +44,7 @@ const device_type SE3208 = &device_creator; se3208_device::se3208_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, SE3208, "SE3208", tag, owner, clock, "se3208", __FILE__) - , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0) + , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0), m_PC(0), m_SR(0), m_SP(0), m_ER(0), m_PPC(0), m_program(nullptr), m_direct(nullptr), m_IRQ(0), m_NMI(0), m_icount(0) { } diff --git a/src/devices/cpu/sm8500/sm8500.cpp b/src/devices/cpu/sm8500/sm8500.cpp index 6159d8a45fa..fa7f3b01b35 100644 --- a/src/devices/cpu/sm8500/sm8500.cpp +++ b/src/devices/cpu/sm8500/sm8500.cpp @@ -37,11 +37,11 @@ sm8500_cpu_device::sm8500_cpu_device(const machine_config &mconfig, const char * , m_program_config("program", ENDIANNESS_BIG, 8, 16, 0) , m_dma_func(*this) , m_timer_func(*this) - , m_PC(0) - , m_SYS(0) - , m_SP(0) + , m_PC(0), m_IE0(0), m_IE1(0), m_IR0(0), m_IR1(0) + , m_SYS(0), m_CKC(0), m_clock_changed(0) + , m_SP(0) , m_PS0(0) - , m_PS1(0) + , m_PS1(0), m_IFLAGS(0), m_CheckInterrupts(0), m_halted(0), m_icount(0), m_program(nullptr), m_oldpc(0) { } diff --git a/src/devices/cpu/superfx/superfx.cpp b/src/devices/cpu/superfx/superfx.cpp index b59be533acd..37877167ed5 100644 --- a/src/devices/cpu/superfx/superfx.cpp +++ b/src/devices/cpu/superfx/superfx.cpp @@ -10,7 +10,9 @@ const device_type SUPERFX = &device_creator; superfx_device::superfx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, SUPERFX, "SuperFX", tag, owner, clock, "superfx", __FILE__) , m_program_config("program", ENDIANNESS_LITTLE, 8, 32, 0) - , m_out_irq_func(*this) + , m_out_irq_func(*this), m_pipeline(0), m_ramaddr(0), m_sfr(0), m_pbr(0), m_rombr(0), m_rambr(0), m_cbr(0), m_scbr(0), m_scmr(0), m_colr(0), m_por(0), + m_bramr(0), m_vcr(0), m_cfgr(0), m_clsr(0), m_romcl(0), m_romdr(0), m_ramcl(0), m_ramar(0), m_ramdr(0), m_sreg(nullptr), m_sreg_idx(0), m_dreg(nullptr), + m_dreg_idx(0), m_r15_modified(0), m_irq(0), m_cache_access_speed(0), m_memory_access_speed(0), m_program(nullptr), m_icount(0), m_debugger_temp(0) { } diff --git a/src/devices/cpu/tms34010/tms34010.cpp b/src/devices/cpu/tms34010/tms34010.cpp index 9258a2b1836..70f2169728f 100644 --- a/src/devices/cpu/tms34010/tms34010.cpp +++ b/src/devices/cpu/tms34010/tms34010.cpp @@ -36,11 +36,11 @@ const device_type TMS34020 = &device_creator; tms340x0_device::tms340x0_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, __FILE__) , device_video_interface(mconfig, *this) - , m_program_config("program", ENDIANNESS_LITTLE, 16, 32, 3) - , m_halt_on_reset(FALSE) - , m_pixclock(0) - , m_pixperclock(0) - , m_output_int_cb(*this) + , m_program_config("program", ENDIANNESS_LITTLE, 16, 32, 3), m_pc(0), m_ppc(0), m_st(0), m_pixel_write(nullptr), m_pixel_read(nullptr), m_raster_op(nullptr), m_pixel_op(nullptr), m_pixel_op_timing(0), m_convsp(0), m_convdp(0), m_convmp(0), m_gfxcycles(0), m_pixelshift(0), m_is_34020(0), m_reset_deferred(false) + , m_halt_on_reset(FALSE), m_hblank_stable(0), m_external_host_access(0), m_executing(0), m_program(nullptr), m_direct(nullptr) + , m_pixclock(0) + , m_pixperclock(0), m_scantimer(nullptr), m_icount(0) + , m_output_int_cb(*this) { } diff --git a/src/devices/cpu/tms57002/tms57002.cpp b/src/devices/cpu/tms57002/tms57002.cpp index fb55dfa916c..aa12de85d4f 100644 --- a/src/devices/cpu/tms57002/tms57002.cpp +++ b/src/devices/cpu/tms57002/tms57002.cpp @@ -22,7 +22,7 @@ ADDRESS_MAP_END tms57002_device::tms57002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, TMS57002, "TMS57002", tag, owner, clock, "tms57002", __FILE__), - device_sound_interface(mconfig, *this), + device_sound_interface(mconfig, *this), macc(0), st0(0), st1(0), sti(0), txrd(0), program_config("program", ENDIANNESS_LITTLE, 32, 8, -2, ADDRESS_MAP_NAME(internal_pgm)), data_config("data", ENDIANNESS_LITTLE, 8, 20) diff --git a/src/devices/cpu/unsp/unsp.cpp b/src/devices/cpu/unsp/unsp.cpp index 717ddb2a0de..515e26ad685 100644 --- a/src/devices/cpu/unsp/unsp.cpp +++ b/src/devices/cpu/unsp/unsp.cpp @@ -18,7 +18,7 @@ const device_type UNSP = &device_creator; unsp_device::unsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, UNSP, "u'nSP", tag, owner, clock, "unsp", __FILE__) - , m_program_config("program", ENDIANNESS_BIG, 16, 23, -1) + , m_program_config("program", ENDIANNESS_BIG, 16, 23, -1), m_irq(0), m_fiq(0), m_curirq(0), m_sirq(0), m_sb(0), m_saved_sb(0), m_program(nullptr), m_icount(0), m_debugger_temp(0) { } diff --git a/src/devices/cpu/upd7725/upd7725.cpp b/src/devices/cpu/upd7725/upd7725.cpp index ce78b447f59..a9754d52f65 100644 --- a/src/devices/cpu/upd7725/upd7725.cpp +++ b/src/devices/cpu/upd7725/upd7725.cpp @@ -27,7 +27,7 @@ const device_type UPD96050 = &device_creator; necdsp_device::necdsp_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name, const char *shortname, const char *source) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source), m_program_config("program", ENDIANNESS_BIG, 32, abits, -2), // data bus width, address bus width, -2 means DWORD-addressable - m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1), // -1 for WORD-addressable + m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1), m_icount(0), // -1 for WORD-addressable m_irq(0), m_program(NULL), m_data(NULL), diff --git a/src/devices/cpu/z8000/z8000.cpp b/src/devices/cpu/z8000/z8000.cpp index 76ff93c76b8..3b1b20f883c 100644 --- a/src/devices/cpu/z8000/z8000.cpp +++ b/src/devices/cpu/z8000/z8000.cpp @@ -37,8 +37,8 @@ z8002_device::z8002_device(const machine_config &mconfig, const char *tag, devic : cpu_device(mconfig, Z8002, "Z8002", tag, owner, clock, "z8002", __FILE__) , m_program_config("program", ENDIANNESS_BIG, 16, 16, 0) , m_io_config("io", ENDIANNESS_BIG, 8, 16, 0) - , m_mo_out(*this) - , m_vector_mult(1) + , m_mo_out(*this), m_ppc(0), m_pc(0), m_psapseg(0), m_psapoff(0), m_fcw(0), m_refresh(0), m_nspseg(0), m_nspoff(0), m_irq_req(0), m_irq_vec(0), m_op_valid(0), m_nmi_state(0), m_mi(0), m_program(nullptr), m_data(nullptr), m_direct(nullptr), m_io(nullptr), m_icount(0) + , m_vector_mult(1) { } @@ -47,7 +47,7 @@ z8002_device::z8002_device(const machine_config &mconfig, device_type type, cons : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) , m_program_config("program", ENDIANNESS_BIG, 16, 20, 0) , m_io_config("io", ENDIANNESS_BIG, 16, 16, 0) - , m_mo_out(*this) + , m_mo_out(*this), m_ppc(0), m_pc(0), m_psapseg(0), m_psapoff(0), m_fcw(0), m_refresh(0), m_nspseg(0), m_nspoff(0), m_irq_req(0), m_irq_vec(0), m_op_valid(0), m_nmi_state(0), m_mi(0), m_program(nullptr), m_data(nullptr), m_direct(nullptr), m_io(nullptr), m_icount(0) , m_vector_mult(2) { } diff --git a/src/devices/machine/40105.cpp b/src/devices/machine/40105.cpp index e2f059dfed0..c220f9eb18c 100644 --- a/src/devices/machine/40105.cpp +++ b/src/devices/machine/40105.cpp @@ -37,7 +37,7 @@ const device_type CMOS_40105 = &device_creator; cmos_40105_device::cmos_40105_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CMOS_40105, "40105", tag, owner, clock, "40105", __FILE__), m_write_dir(*this), - m_write_dor(*this) + m_write_dor(*this), m_d(0), m_q(0), m_dir(0), m_dor(0), m_si(0), m_so(0) { } diff --git a/src/devices/machine/68230pit.cpp b/src/devices/machine/68230pit.cpp index d0acaf6ae45..cb066344784 100644 --- a/src/devices/machine/68230pit.cpp +++ b/src/devices/machine/68230pit.cpp @@ -31,8 +31,8 @@ pit68230_device::pit68230_device(const machine_config &mconfig, device_type type device_execute_interface (mconfig, *this) , m_icount (0) , m_write_pa (*this) - , m_write_h2 (*this) -{ + , m_write_h2 (*this), m_pgcr(0), m_psrr(0), m_paddr(0), m_pbddr(0), m_pcddr(0), m_pacr(0), m_pbcr(0), m_padr(0), m_pbdr(0), m_psr(0) + { } @@ -41,8 +41,8 @@ pit68230_device::pit68230_device(const machine_config &mconfig, const char *tag, device_execute_interface (mconfig, *this) , m_icount (0) , m_write_pa (*this) - , m_write_h2 (*this) -{ + , m_write_h2 (*this), m_pgcr(0), m_psrr(0), m_paddr(0), m_pbddr(0), m_pcddr(0), m_pacr(0), m_pbcr(0), m_padr(0), m_pbdr(0), m_psr(0) + { } //------------------------------------------------- diff --git a/src/devices/machine/68561mpcc.cpp b/src/devices/machine/68561mpcc.cpp index 1b8a8895fed..29c5673a052 100644 --- a/src/devices/machine/68561mpcc.cpp +++ b/src/devices/machine/68561mpcc.cpp @@ -28,7 +28,7 @@ const device_type MPCC68561 = &device_creator; ***************************************************************************/ mpcc68561_t::mpcc68561_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock, "mpcc68561", __FILE__), + device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock, "mpcc68561", __FILE__), mode(0), reg(0), status(0), IRQV(0), MasterIRQEnable(0), lastIRQStat(0), IRQType(), intrq_cb(*this) { } diff --git a/src/devices/machine/7200fifo.cpp b/src/devices/machine/7200fifo.cpp index ee44eada962..59e659ae9b5 100644 --- a/src/devices/machine/7200fifo.cpp +++ b/src/devices/machine/7200fifo.cpp @@ -21,7 +21,7 @@ const device_type FIFO7200 = &device_creator; fifo7200_device::fifo7200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock, "fifo7200", __FILE__), - m_ram_size(0), + m_ram_size(0), m_read_ptr(0), m_write_ptr(0), m_ef(0), m_ff(0), m_hf(0), m_ef_handler(*this), m_ff_handler(*this), m_hf_handler(*this) diff --git a/src/devices/machine/74123.cpp b/src/devices/machine/74123.cpp index f88b71dfab8..d5eddbe91a3 100644 --- a/src/devices/machine/74123.cpp +++ b/src/devices/machine/74123.cpp @@ -29,7 +29,7 @@ const device_type TTL74123 = &device_creator; //------------------------------------------------- ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, TTL74123, "74123 TTL", tag, owner, clock, "ttl74123", __FILE__), + : device_t(mconfig, TTL74123, "74123 TTL", tag, owner, clock, "ttl74123", __FILE__), m_timer(nullptr), m_connection_type(TTL74123_NOT_GROUNDED_NO_DIODE), m_res(1.0), m_cap(1.0), diff --git a/src/devices/machine/74181.cpp b/src/devices/machine/74181.cpp index 93070b4cccd..a58b2cd190c 100644 --- a/src/devices/machine/74181.cpp +++ b/src/devices/machine/74181.cpp @@ -32,7 +32,7 @@ ttl74181_device::ttl74181_device(const machine_config &mconfig, const char *tag, m_b(0), m_s(0), m_m(0), - m_c(0) + m_c(0), m_f(0), m_cn(0), m_g(0), m_p(0), m_equals(0) { } diff --git a/src/devices/machine/8530scc.cpp b/src/devices/machine/8530scc.cpp index 8ca86e173f6..c618fd57004 100644 --- a/src/devices/machine/8530scc.cpp +++ b/src/devices/machine/8530scc.cpp @@ -26,7 +26,7 @@ const device_type SCC8530 = &device_creator; ***************************************************************************/ scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, SCC8530, "Zilog 8530 SCC (Legacy)", tag, owner, clock, "scc8530l", __FILE__), + device_t(mconfig, SCC8530, "Zilog 8530 SCC (Legacy)", tag, owner, clock, "scc8530l", __FILE__), mode(0), reg(0), status(0), IRQV(0), MasterIRQEnable(0), lastIRQStat(0), IRQType(), intrq_cb(*this) { } diff --git a/src/devices/machine/aakart.cpp b/src/devices/machine/aakart.cpp index 762a1a2f8b9..7931f1c019d 100644 --- a/src/devices/machine/aakart.cpp +++ b/src/devices/machine/aakart.cpp @@ -40,9 +40,9 @@ const device_type AAKART = &device_creator; //------------------------------------------------- aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, AAKART, "AAKART", tag, owner, clock, "aakart", __FILE__), + : device_t(mconfig, AAKART, "AAKART", tag, owner, clock, "aakart", __FILE__), m_rxtimer(nullptr), m_txtimer(nullptr), m_mousetimer(nullptr), m_keybtimer(nullptr), m_out_tx_cb(*this), - m_out_rx_cb(*this) + m_out_rx_cb(*this), m_tx_latch(0), m_rx(0), m_new_command(0), m_status(0), m_mouse_enable(0), m_keyb_enable(0), m_keyb_row(0), m_keyb_col(0), m_keyb_state(0) { } diff --git a/src/devices/machine/adc0808.cpp b/src/devices/machine/adc0808.cpp index dc173cc178e..da7b21f883e 100644 --- a/src/devices/machine/adc0808.cpp +++ b/src/devices/machine/adc0808.cpp @@ -29,9 +29,9 @@ adc0808_device::adc0808_device(const machine_config &mconfig, const char *tag, d m_address(0), m_start(0), m_eoc(0), - m_next_eoc(0), + m_next_eoc(0), m_sar(0), m_cycle(0), - m_bit(0) + m_bit(0), m_cycle_timer(nullptr) { } diff --git a/src/devices/machine/adc1038.cpp b/src/devices/machine/adc1038.cpp index 46b2d7c8e76..1f1e2fb3180 100644 --- a/src/devices/machine/adc1038.cpp +++ b/src/devices/machine/adc1038.cpp @@ -16,7 +16,7 @@ const device_type ADC1038 = &device_creator; adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, ADC1038, "ADC1038", tag, owner, clock, "adc1038", __FILE__), + : device_t(mconfig, ADC1038, "ADC1038", tag, owner, clock, "adc1038", __FILE__), m_cycle(0), m_clk(0), m_adr(0), m_data_in(0), m_data_out(0), m_adc_data(0), m_sars(0), m_gticlub_hack(0) { } diff --git a/src/devices/machine/aicartc.cpp b/src/devices/machine/aicartc.cpp index dc6dba7c2e6..b4ebca893eb 100644 --- a/src/devices/machine/aicartc.cpp +++ b/src/devices/machine/aicartc.cpp @@ -32,7 +32,7 @@ const device_type AICARTC = &device_creator; aicartc_device::aicartc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, AICARTC, "AICA RTC", tag, owner, clock, "aicartc", __FILE__), - device_rtc_interface(mconfig, *this) + device_rtc_interface(mconfig, *this), m_rtc_reg_lo(0), m_rtc_reg_hi(0), m_rtc_tick(0), m_we(0), m_clock_timer(nullptr) { } diff --git a/src/devices/machine/amigafdc.cpp b/src/devices/machine/amigafdc.cpp index 0be33c07ec9..8b2622e2182 100644 --- a/src/devices/machine/amigafdc.cpp +++ b/src/devices/machine/amigafdc.cpp @@ -20,7 +20,7 @@ FLOPPY_FORMATS_END amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock, "amiga_fdc", __FILE__), - m_write_index(*this) + m_write_index(*this), floppy(nullptr), t_gen(nullptr), dsklen(0), pre_dsklen(0), dsksync(0), dskbyt(0), adkcon(0), dmacon(0), dskpt(0), dma_value(0), dma_state(0) { } diff --git a/src/devices/machine/ataflash.cpp b/src/devices/machine/ataflash.cpp index 914ba2bcc65..f6a1ea9192e 100644 --- a/src/devices/machine/ataflash.cpp +++ b/src/devices/machine/ataflash.cpp @@ -9,7 +9,7 @@ const device_type ATA_FLASH_PCCARD = &device_creator; ata_flash_pccard_device::ata_flash_pccard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - ide_hdd_device(mconfig, ATA_FLASH_PCCARD, "ATA Flash PCCARD", tag, owner, clock, "ataflash", __FILE__) + ide_hdd_device(mconfig, ATA_FLASH_PCCARD, "ATA Flash PCCARD", tag, owner, clock, "ataflash", __FILE__), m_gnetreadlock(0), m_locked(0) { } diff --git a/src/devices/machine/atahle.cpp b/src/devices/machine/atahle.cpp index 4bab8c790f5..6bd963f946c 100644 --- a/src/devices/machine/atahle.cpp +++ b/src/devices/machine/atahle.cpp @@ -66,7 +66,7 @@ ata_hle_device::ata_hle_device(const machine_config &mconfig, device_type type, m_pdiagin(0), m_pdiagout(0), m_single_device(0), - m_resetting(0) + m_resetting(0), m_busy_timer(nullptr), m_buffer_empty_timer(nullptr) { } diff --git a/src/devices/machine/cdp1852.cpp b/src/devices/machine/cdp1852.cpp index 7a91e4060c3..52fe18eb82b 100644 --- a/src/devices/machine/cdp1852.cpp +++ b/src/devices/machine/cdp1852.cpp @@ -43,7 +43,7 @@ cdp1852_device::cdp1852_device(const machine_config &mconfig, const char *tag, d m_read_mode(*this), m_write_sr(*this), m_read_data(*this), - m_write_data(*this) + m_write_data(*this), m_new_data(0), m_data(0), m_next_data(0), m_sr(0), m_next_sr(0), m_scan_timer(nullptr) { } diff --git a/src/devices/machine/dp8390.cpp b/src/devices/machine/dp8390.cpp index e67499538ac..52e66168322 100644 --- a/src/devices/machine/dp8390.cpp +++ b/src/devices/machine/dp8390.cpp @@ -21,12 +21,12 @@ rtl8019a_device::rtl8019a_device(const machine_config &mconfig, const char *tag, dp8390_device::dp8390_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, float bandwidth, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), - device_network_interface(mconfig, *this, bandwidth), + device_network_interface(mconfig, *this, bandwidth), m_type(0), m_irq_cb(*this), m_breq_cb(*this), m_mem_read_cb(*this), - m_mem_write_cb(*this) - { + m_mem_write_cb(*this), m_reset(0), m_cs(false), m_rdma_active(0) +{ } void dp8390_device::device_start() { diff --git a/src/devices/machine/ds1204.cpp b/src/devices/machine/ds1204.cpp index a35624a3c6a..72029b2aecc 100644 --- a/src/devices/machine/ds1204.cpp +++ b/src/devices/machine/ds1204.cpp @@ -34,7 +34,7 @@ ds1204_device::ds1204_device( const machine_config &mconfig, const char *tag, de device_nvram_interface(mconfig, *this), m_rst( 0 ), m_clk( 0 ), - m_dqw( 0 ) + m_dqw( 0 ), m_dqr(0), m_state(0), m_bit(0) { } diff --git a/src/devices/machine/ds1315.cpp b/src/devices/machine/ds1315.cpp index 8470aaaaf9c..5764158cefe 100644 --- a/src/devices/machine/ds1315.cpp +++ b/src/devices/machine/ds1315.cpp @@ -28,8 +28,8 @@ const device_type DS1315 = &device_creator; ds1315_device::ds1315_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__) -{ + : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__), m_mode(), m_count(0) + { } //------------------------------------------------- diff --git a/src/devices/machine/ds2401.cpp b/src/devices/machine/ds2401.cpp index 48182b2d2c3..7298fa888ee 100644 --- a/src/devices/machine/ds2401.cpp +++ b/src/devices/machine/ds2401.cpp @@ -30,7 +30,7 @@ inline void ds2401_device::verboselog(int n_level, const char *s_fmt, ...) const device_type DS2401 = &device_creator; ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__) + : device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__), m_state(0), m_bit(0), m_shift(0), m_byte(0), m_rx(false), m_tx(false), m_timer_main(nullptr), m_timer_reset(nullptr) { } diff --git a/src/devices/machine/ds2404.cpp b/src/devices/machine/ds2404.cpp index 57f8fa62d8f..9ba913c7250 100644 --- a/src/devices/machine/ds2404.cpp +++ b/src/devices/machine/ds2404.cpp @@ -26,7 +26,7 @@ const device_type DS2404 = &device_creator; ds2404_device::ds2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DS2404, "DS2404", tag, owner, clock, "ds2404", __FILE__), - device_nvram_interface(mconfig, *this), + device_nvram_interface(mconfig, *this), m_tick_timer(nullptr), m_ref_year(0), m_ref_month(0), m_ref_day(0), m_address(0), m_offset(0), m_end_offset(0), diff --git a/src/devices/machine/e0516.cpp b/src/devices/machine/e0516.cpp index 0fc743ba95c..f80cad5bdb5 100644 --- a/src/devices/machine/e0516.cpp +++ b/src/devices/machine/e0516.cpp @@ -40,7 +40,7 @@ const device_type E0516 = &device_creator; e0516_device::e0516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, E0516, "E05-16", tag, owner, clock, "e0516", __FILE__), - device_rtc_interface(mconfig, *this) + device_rtc_interface(mconfig, *this), m_cs(0), m_clk(0), m_data_latch(0), m_reg_latch(0), m_read_write(0), m_state(0), m_bits(0), m_dio(0), m_timer(nullptr) { } diff --git a/src/devices/machine/e05a30.cpp b/src/devices/machine/e05a30.cpp index 709f103d48c..8bb802f9265 100644 --- a/src/devices/machine/e05a30.cpp +++ b/src/devices/machine/e05a30.cpp @@ -35,7 +35,7 @@ e05a30_device::e05a30_device(const machine_config &mconfig, const char *tag, dev m_write_centronics_select(*this), m_printhead(0), m_pf_stepper(0), - m_cr_stepper(0) + m_cr_stepper(0), m_centronics_data(0), m_centronics_busy(0), m_centronics_nack(0), m_centronics_strobe(0), m_centronics_data_latch(0), m_centronics_data_latched(0) { } diff --git a/src/devices/machine/i8212.cpp b/src/devices/machine/i8212.cpp index 14b06841278..0ece5f05c1c 100644 --- a/src/devices/machine/i8212.cpp +++ b/src/devices/machine/i8212.cpp @@ -36,7 +36,7 @@ i8212_device::i8212_device(const machine_config &mconfig, const char *tag, devic m_read_di(*this), m_write_do(*this), m_md(I8212_MODE_INPUT), - m_stb(0) + m_stb(0), m_data(0) { } diff --git a/src/devices/machine/i8243.cpp b/src/devices/machine/i8243.cpp index d3393cea4fd..f63159b5739 100644 --- a/src/devices/machine/i8243.cpp +++ b/src/devices/machine/i8243.cpp @@ -23,7 +23,7 @@ const device_type I8243 = &device_creator; //------------------------------------------------- i8243_device::i8243_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, I8243, "8243 I/O Expander", tag, owner, clock, "i8243", __FILE__), + : device_t(mconfig, I8243, "8243 I/O Expander", tag, owner, clock, "i8243", __FILE__), m_p2out(0), m_p2(0), m_opcode(0), m_prog(0), m_readhandler(*this), m_writehandler(*this) { diff --git a/src/devices/machine/i8271.cpp b/src/devices/machine/i8271.cpp index 6e938162ada..c7b2c7cf175 100644 --- a/src/devices/machine/i8271.cpp +++ b/src/devices/machine/i8271.cpp @@ -6,11 +6,12 @@ const device_type I8271 = &device_creator; i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__), + : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__), ready_connected(false), mode(0), main_phase(0), intrq_cb(*this), drq_cb(*this), hdl_cb(*this), - opt_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), + precomp(0), perpmode(0), srate(0), hset(0), icnt(0), hload(0), sector_size(0), cur_rate(0) { select_connected = true; external_ready = false; diff --git a/src/devices/machine/idehd.cpp b/src/devices/machine/idehd.cpp index afc6de0c3de..ccab353472c 100644 --- a/src/devices/machine/idehd.cpp +++ b/src/devices/machine/idehd.cpp @@ -26,9 +26,9 @@ ata_mass_storage_device::ata_mass_storage_device(const machine_config &mconfig, m_can_identify_device(0), m_num_cylinders(0), m_num_sectors(0), - m_num_heads(0), - m_master_password(NULL), - m_user_password(NULL) + m_num_heads(0), m_cur_lba(0), m_block_count(0), m_sectors_until_int(0), m_master_password_enable(0), m_user_password_enable(0), + m_master_password(nullptr), + m_user_password(nullptr) { } diff --git a/src/devices/machine/ins8154.cpp b/src/devices/machine/ins8154.cpp index 1c36af845be..7c192ac66e0 100644 --- a/src/devices/machine/ins8154.cpp +++ b/src/devices/machine/ins8154.cpp @@ -48,7 +48,7 @@ ins8154_device::ins8154_device(const machine_config &mconfig, const char *tag, d m_out_a_cb(*this), m_in_b_cb(*this), m_out_b_cb(*this), - m_out_irq_cb(*this) + m_out_irq_cb(*this), m_in_a(0), m_in_b(0), m_out_a(0), m_out_b(0), m_mdr(0), m_odra(0), m_odrb(0) { } diff --git a/src/devices/machine/jvsdev.cpp b/src/devices/machine/jvsdev.cpp index 3357ce90f55..dc2c3db0acf 100644 --- a/src/devices/machine/jvsdev.cpp +++ b/src/devices/machine/jvsdev.cpp @@ -10,7 +10,7 @@ void jvs_device::static_set_jvs_host_tag(device_t &device, const char *jvs_host_ } jvs_device::jvs_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) + : device_t(mconfig, type, name, tag, owner, clock, shortname, source), jvs_outputs(0), jvs_address(0), jvs_reset_counter(0) { jvs_host_tag = 0; next_device = 0; diff --git a/src/devices/machine/jvshost.cpp b/src/devices/machine/jvshost.cpp index 1621d691cea..145b105d703 100644 --- a/src/devices/machine/jvshost.cpp +++ b/src/devices/machine/jvshost.cpp @@ -29,7 +29,7 @@ void jvs_host::device_reset() } jvs_host::jvs_host(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), send_size(0), recv_size(0), recv_is_encoded(false) { first_device = 0; } diff --git a/src/devices/machine/k033906.cpp b/src/devices/machine/k033906.cpp index 37ad31cff45..bd32fef29f1 100644 --- a/src/devices/machine/k033906.cpp +++ b/src/devices/machine/k033906.cpp @@ -23,7 +23,7 @@ const device_type K033906 = &device_creator; //------------------------------------------------- k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, K033906, "K033906 PCI bridge", tag, owner, clock, "k033906", __FILE__) + : device_t(mconfig, K033906, "K033906 PCI bridge", tag, owner, clock, "k033906", __FILE__), m_reg_set(0), m_voodoo_tag(nullptr), m_voodoo(nullptr) { } diff --git a/src/devices/machine/lh5810.cpp b/src/devices/machine/lh5810.cpp index 296a28a60ec..88b9b8d51c7 100644 --- a/src/devices/machine/lh5810.cpp +++ b/src/devices/machine/lh5810.cpp @@ -34,7 +34,7 @@ lh5810_device::lh5810_device(const machine_config &mconfig, const char *tag, dev m_portb_r_cb(*this), m_portb_w_cb(*this), m_portc_w_cb(*this), - m_out_int_cb(*this) + m_out_int_cb(*this), m_irq(0) { } diff --git a/src/devices/machine/linflash.cpp b/src/devices/machine/linflash.cpp index fe72efa921d..52b5c0204a8 100644 --- a/src/devices/machine/linflash.cpp +++ b/src/devices/machine/linflash.cpp @@ -5,7 +5,7 @@ linear_flash_pccard_device::linear_flash_pccard_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), device_memory_interface(mconfig, *this), - device_slot_card_interface(mconfig, *this) + device_slot_card_interface(mconfig, *this), m_space(nullptr) { } diff --git a/src/devices/machine/lpc-rtc.cpp b/src/devices/machine/lpc-rtc.cpp index d92d7b515d0..455ab99d2fb 100644 --- a/src/devices/machine/lpc-rtc.cpp +++ b/src/devices/machine/lpc-rtc.cpp @@ -15,7 +15,7 @@ DEVICE_ADDRESS_MAP_START(extmap, 32, lpc_rtc_device) ADDRESS_MAP_END lpc_rtc_device::lpc_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : lpc_device(mconfig, LPC_RTC, "LPC RTC", tag, owner, clock, "lpc_rtc", __FILE__) + : lpc_device(mconfig, LPC_RTC, "LPC RTC", tag, owner, clock, "lpc_rtc", __FILE__), cur_index(0), cur_extindex(0) { } diff --git a/src/devices/machine/m6m80011ap.cpp b/src/devices/machine/m6m80011ap.cpp index 776cbcae6e7..39fbd526235 100644 --- a/src/devices/machine/m6m80011ap.cpp +++ b/src/devices/machine/m6m80011ap.cpp @@ -29,7 +29,7 @@ const device_type M6M80011AP = &device_creator; m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M6M80011AP, "M6M80011AP EEPROM", tag, owner, clock, "m6m80011ap", __FILE__), - device_nvram_interface(mconfig, *this) + device_nvram_interface(mconfig, *this), m_latch(0), m_reset_line(0), m_cmd_stream_pos(0), m_current_cmd(0), m_read_latch(0), m_current_addr(0), m_eeprom_we(0), m_eeprom_state() { } diff --git a/src/devices/machine/mb14241.cpp b/src/devices/machine/mb14241.cpp index 732dccf8e1d..44c49fb4e88 100644 --- a/src/devices/machine/mb14241.cpp +++ b/src/devices/machine/mb14241.cpp @@ -18,7 +18,7 @@ const device_type MB14241 = &device_creator; mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, MB14241, "MB14241 Data Shifter", tag, owner, clock, "mb14241", __FILE__) + : device_t(mconfig, MB14241, "MB14241 Data Shifter", tag, owner, clock, "mb14241", __FILE__), m_shift_data(0), m_shift_count(0) { } diff --git a/src/devices/machine/mb3773.cpp b/src/devices/machine/mb3773.cpp index b2093787338..d749d8abc1a 100644 --- a/src/devices/machine/mb3773.cpp +++ b/src/devices/machine/mb3773.cpp @@ -28,7 +28,7 @@ const device_type MB3773 = &device_creator; //------------------------------------------------- mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) - : device_t(mconfig, MB3773, "MB3773 Power Supply Monitor", tag, owner, clock, "mb3773", __FILE__) + : device_t(mconfig, MB3773, "MB3773 Power Supply Monitor", tag, owner, clock, "mb3773", __FILE__), m_watchdog_timer(nullptr), m_ck(0) { } diff --git a/src/devices/machine/mb8795.cpp b/src/devices/machine/mb8795.cpp index 3a83f02af94..18d19c7060c 100644 --- a/src/devices/machine/mb8795.cpp +++ b/src/devices/machine/mb8795.cpp @@ -20,7 +20,8 @@ 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), + 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), drq_tx_cb(*this), diff --git a/src/devices/machine/mc146818.cpp b/src/devices/machine/mc146818.cpp index bf124031a5c..fcd71437c1d 100644 --- a/src/devices/machine/mc146818.cpp +++ b/src/devices/machine/mc146818.cpp @@ -34,7 +34,7 @@ mc146818_device::mc146818_device(const machine_config &mconfig, const char *tag, : device_t(mconfig, MC146818, "MC146818 RTC", tag, owner, clock, "mc146818", __FILE__), device_nvram_interface(mconfig, *this), m_index(0), - m_last_refresh(attotime::zero), + m_last_refresh(attotime::zero), m_clock_timer(nullptr), m_periodic_timer(nullptr), m_write_irq(*this), m_century_index(-1), m_epoch(0), @@ -49,7 +49,7 @@ mc146818_device::mc146818_device(const machine_config &mconfig, device_type type : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_nvram_interface(mconfig, *this), m_index(0), - m_last_refresh(attotime::zero), + m_last_refresh(attotime::zero), m_clock_timer(nullptr), m_periodic_timer(nullptr), m_write_irq(*this), m_century_index(-1), m_epoch(0), diff --git a/src/devices/machine/mc68328.cpp b/src/devices/machine/mc68328.cpp index a5945a6e611..3e2101dddf2 100644 --- a/src/devices/machine/mc68328.cpp +++ b/src/devices/machine/mc68328.cpp @@ -32,7 +32,7 @@ const device_type MC68328 = &device_creator; mc68328_device::mc68328_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, MC68328, "MC68328 (DragonBall) Integrated Processor", tag, owner, clock, "mc68328", __FILE__), + : device_t(mconfig, MC68328, "MC68328 (DragonBall) Integrated Processor", tag, owner, clock, "mc68328", __FILE__), m_rtc(nullptr), m_pwm(nullptr), m_out_port_a_cb(*this), m_out_port_b_cb(*this), m_out_port_c_cb(*this), diff --git a/src/devices/machine/microtch.cpp b/src/devices/machine/microtch.cpp index eee87447495..7e13d3c62f0 100644 --- a/src/devices/machine/microtch.cpp +++ b/src/devices/machine/microtch.cpp @@ -19,11 +19,12 @@ const device_type MICROTOUCH = &device_creator; 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), + 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"), m_touchx(*this, "TOUCH_X"), - m_touchy(*this, "TOUCH_Y") + m_touchy(*this, "TOUCH_Y"), m_timer(nullptr), m_output_valid(false), m_output(0) { } diff --git a/src/devices/machine/mm74c922.cpp b/src/devices/machine/mm74c922.cpp index 6b7f9b50d53..c822c783b33 100644 --- a/src/devices/machine/mm74c922.cpp +++ b/src/devices/machine/mm74c922.cpp @@ -43,13 +43,13 @@ mm74c922_device::mm74c922_device(const machine_config &mconfig, const char *tag, m_read_x2(*this), m_read_x3(*this), m_read_x4(*this), - m_read_x5(*this), + m_read_x5(*this), m_cap_osc(0), m_cap_debounce(0), m_max_y(5), // TODO 4 for 74C922, 5 for 74C923 m_inhibit(0), m_x(0), - m_y(0), + m_y(0), m_data(0), m_da(0), - m_next_da(0) + m_next_da(0), m_scan_timer(nullptr) { } diff --git a/src/devices/machine/mos6551.cpp b/src/devices/machine/mos6551.cpp index 6f240799af2..24901ee67e0 100644 --- a/src/devices/machine/mos6551.cpp +++ b/src/devices/machine/mos6551.cpp @@ -20,9 +20,9 @@ mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, d m_rxc_handler(*this), m_rts_handler(*this), m_dtr_handler(*this), - m_control(0), + m_control(0), m_command(0), m_status(0), - m_tdr(0), + m_tdr(0), m_rdr(0), m_irq_state(0), m_irq(0), m_txd(0), @@ -34,15 +34,15 @@ mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, d m_cts(1), m_dsr(1), m_dcd(1), - m_rxd(1), + m_rxd(1), m_wordlength(0), m_extrastop(0), m_brk(0), m_echo_mode(0), m_parity(0), m_rx_state(STATE_START), - m_rx_clock(0), - m_rx_counter(0), + m_rx_clock(0), m_rx_bits(0), m_rx_shift(0), m_rx_parity(0), + m_rx_counter(0), m_rx_irq_enable(0), m_rx_internal_clock(0), m_tx_state(STATE_START), m_tx_output(OUTPUT_MARK), - m_tx_clock(0), - m_tx_counter(0) + m_tx_clock(0), m_tx_bits(0), m_tx_shift(0), m_tx_parity(0), + m_tx_counter(0), m_tx_enable(0), m_tx_irq_enable(0), m_tx_internal_clock(0) { } diff --git a/src/devices/machine/ncr5380n.cpp b/src/devices/machine/ncr5380n.cpp index ed2270ba097..33e681b555a 100644 --- a/src/devices/machine/ncr5380n.cpp +++ b/src/devices/machine/ncr5380n.cpp @@ -31,7 +31,9 @@ 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__), + : 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 26e4218b226..6ccbdcdbbc3 100644 --- a/src/devices/machine/ncr5390.cpp +++ b/src/devices/machine/ncr5390.cpp @@ -22,7 +22,8 @@ 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__), + : 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 51aec5cf654..85fd2f93f48 100644 --- a/src/devices/machine/nsc810.cpp +++ b/src/devices/machine/nsc810.cpp @@ -23,7 +23,9 @@ const device_type NSC810 = &device_creator; 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__), + 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), m_portC_r(*this), diff --git a/src/devices/machine/nscsi_bus.cpp b/src/devices/machine/nscsi_bus.cpp index 182fe98e0aa..7618b298787 100644 --- a/src/devices/machine/nscsi_bus.cpp +++ b/src/devices/machine/nscsi_bus.cpp @@ -6,7 +6,7 @@ const device_type NSCSI_BUS = &device_creator; const device_type NSCSI_CONNECTOR = &device_creator; nscsi_bus_device::nscsi_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, NSCSI_BUS, "NSCSI Bus", tag, owner, clock, "nscsi_bus", __FILE__) + device_t(mconfig, NSCSI_BUS, "NSCSI Bus", tag, owner, clock, "nscsi_bus", __FILE__), data(0), ctrl(0) { devcnt = 0; memset(dev, 0, sizeof(dev)); diff --git a/src/devices/machine/nscsi_cb.cpp b/src/devices/machine/nscsi_cb.cpp index 5c3c12e8a34..94950098f6a 100644 --- a/src/devices/machine/nscsi_cb.cpp +++ b/src/devices/machine/nscsi_cb.cpp @@ -14,7 +14,7 @@ nscsi_callback_device::nscsi_callback_device(const machine_config &mconfig, cons m_write_io(*this), m_write_cd(*this), m_write_sel(*this), - m_write_bsy(*this) + m_write_bsy(*this), m_ctrl(0) { } diff --git a/src/devices/machine/nscsi_cd.cpp b/src/devices/machine/nscsi_cd.cpp index c8d8440b3ce..2cc3dc48ae5 100644 --- a/src/devices/machine/nscsi_cd.cpp +++ b/src/devices/machine/nscsi_cd.cpp @@ -6,7 +6,7 @@ const device_type NSCSI_CDROM = &device_creator; nscsi_cdrom_device::nscsi_cdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock, "scsi_cdrom", __FILE__) + nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock, "scsi_cdrom", __FILE__), cdrom(nullptr), bytes_per_sector(0), lba(0), cur_lba(0), blocks(0) { } diff --git a/src/devices/machine/nscsi_hd.cpp b/src/devices/machine/nscsi_hd.cpp index 96aec81979c..d7d3ccb5e5b 100644 --- a/src/devices/machine/nscsi_hd.cpp +++ b/src/devices/machine/nscsi_hd.cpp @@ -6,12 +6,12 @@ const device_type NSCSI_HARDDISK = &device_creator; nscsi_harddisk_device::nscsi_harddisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock, "scsi_harddisk", __FILE__) + nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock, "scsi_harddisk", __FILE__), harddisk(nullptr), lba(0), cur_lba(0), blocks(0), bytes_per_sector(0) { } nscsi_harddisk_device::nscsi_harddisk_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) : - nscsi_full_device(mconfig, type, name, tag, owner, clock, shortname, source) + nscsi_full_device(mconfig, type, name, tag, owner, clock, shortname, source), harddisk(nullptr), lba(0), cur_lba(0), blocks(0), bytes_per_sector(0) { } diff --git a/src/devices/machine/pc_lpt.cpp b/src/devices/machine/pc_lpt.cpp index 319a5cb0a2c..f483c7bb336 100644 --- a/src/devices/machine/pc_lpt.cpp +++ b/src/devices/machine/pc_lpt.cpp @@ -15,7 +15,7 @@ const device_type PC_LPT = &device_creator; pc_lpt_device::pc_lpt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC_LPT, "PC-LPT", tag, owner, clock, "pc_lpt", __FILE__), m_irq(1), - m_data(0xff), + m_data(0xff), m_control(0), m_irq_enabled(1), m_centronics_ack(1), m_irq_handler(*this), diff --git a/src/devices/machine/pla.cpp b/src/devices/machine/pla.cpp index e8ca43d448f..37051d99548 100644 --- a/src/devices/machine/pla.cpp +++ b/src/devices/machine/pla.cpp @@ -24,7 +24,7 @@ pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t m_outputs(0), m_terms(0), m_input_mask(0), - m_xor(0) + m_xor(0), m_cache_size(0), m_cache2_ptr(0) { } diff --git a/src/devices/machine/rf5c296.cpp b/src/devices/machine/rf5c296.cpp index 72fea9ede66..f2da08685ab 100644 --- a/src/devices/machine/rf5c296.cpp +++ b/src/devices/machine/rf5c296.cpp @@ -7,7 +7,7 @@ const device_type RF5C296 = &device_creator; rf5c296_device::rf5c296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, PCCARD_SLOT, "PCCARD SLOT", tag, owner, clock, "pccard", __FILE__) + device_t(mconfig, PCCARD_SLOT, "PCCARD SLOT", tag, owner, clock, "pccard", __FILE__), m_rf5c296_reg(0), m_pccard(nullptr), m_pccard_name(nullptr) { } diff --git a/src/devices/machine/rtc4543.cpp b/src/devices/machine/rtc4543.cpp index ccbf32b5faa..0d0211304cb 100644 --- a/src/devices/machine/rtc4543.cpp +++ b/src/devices/machine/rtc4543.cpp @@ -32,7 +32,7 @@ const device_type RTC4543 = &device_creator; rtc4543_device::rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, RTC4543, "R4543 RTC", tag, owner, clock, "rtc4543", __FILE__), device_rtc_interface(mconfig, *this), - data_cb(*this) + data_cb(*this), m_ce(0), m_clk(0), m_wr(0), m_data(0), m_shiftreg(0), m_curreg(0), m_curbit(0), m_clock_timer(nullptr) { } diff --git a/src/devices/machine/rtc9701.cpp b/src/devices/machine/rtc9701.cpp index afa46572ef4..ee7cff625c7 100644 --- a/src/devices/machine/rtc9701.cpp +++ b/src/devices/machine/rtc9701.cpp @@ -37,7 +37,7 @@ rtc9701_device::rtc9701_device(const machine_config &mconfig, const char *tag, d device_nvram_interface(mconfig, *this), m_latch(0), m_reset_line(CLEAR_LINE), - m_clock_line(CLEAR_LINE) + m_clock_line(CLEAR_LINE), rtc_state(), cmd_stream_pos(0), current_cmd(0), rtc9701_address_pos(0), rtc9701_current_address(0), rtc9701_current_data(0), rtc9701_data_pos(0) { } diff --git a/src/devices/machine/s3520cf.cpp b/src/devices/machine/s3520cf.cpp index 3a183982298..d37a6b2a542 100644 --- a/src/devices/machine/s3520cf.cpp +++ b/src/devices/machine/s3520cf.cpp @@ -36,7 +36,7 @@ const device_type S3520CF = &device_creator; //------------------------------------------------- s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, S3520CF, "S-3520CF RTC", tag, owner, clock, "s3520cf", __FILE__) + : device_t(mconfig, S3520CF, "S-3520CF RTC", tag, owner, clock, "s3520cf", __FILE__), m_dir(0), m_latch(0), m_reset_line(0), m_read_latch(0), m_current_cmd(0), m_cmd_stream_pos(0), m_rtc_addr(0), m_mode(0), m_sysr(0), m_rtc_state() { } diff --git a/src/devices/machine/s3c44b0.cpp b/src/devices/machine/s3c44b0.cpp index 9796c90d3a9..22d895fb5d9 100644 --- a/src/devices/machine/s3c44b0.cpp +++ b/src/devices/machine/s3c44b0.cpp @@ -33,7 +33,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const ch const device_type S3C44B0 = &device_creator; s3c44b0_device::s3c44b0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock, "s3c44b0", __FILE__), + : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock, "s3c44b0", __FILE__), m_cpu(nullptr), m_port_r_cb(*this), m_port_w_cb(*this), m_scl_w_cb(*this), diff --git a/src/devices/machine/serflash.cpp b/src/devices/machine/serflash.cpp index 60ff6712a2b..6660fd16aaa 100644 --- a/src/devices/machine/serflash.cpp +++ b/src/devices/machine/serflash.cpp @@ -24,7 +24,8 @@ const device_type SERFLASH = &device_creator; 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_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/spchrom.cpp b/src/devices/machine/spchrom.cpp index a49590e9e00..25210f26fa4 100644 --- a/src/devices/machine/spchrom.cpp +++ b/src/devices/machine/spchrom.cpp @@ -26,7 +26,7 @@ const device_type SPEECHROM = &device_creator; speechrom_device::speechrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__), + : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__), m_speechrom_data(nullptr), m_speechROMlen(0), m_speechROMaddr(0), m_load_pointer(0), m_ROM_bits_count(0), diff --git a/src/devices/machine/tms1024.cpp b/src/devices/machine/tms1024.cpp index f362349ef16..6e7d5c206e7 100644 --- a/src/devices/machine/tms1024.cpp +++ b/src/devices/machine/tms1024.cpp @@ -25,13 +25,13 @@ const device_type TMS1025 = &device_creator; //------------------------------------------------- tms1024_device::tms1024_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, TMS1024, "TMS1024 I/O Expander", tag, owner, clock, "tms1024", __FILE__), + : device_t(mconfig, TMS1024, "TMS1024 I/O Expander", tag, owner, clock, "tms1024", __FILE__), m_h(0), m_s(0), m_std(0), m_write_port1(*this), m_write_port2(*this), m_write_port3(*this), m_write_port4(*this), m_write_port5(*this), m_write_port6(*this), m_write_port7(*this) { } tms1024_device::tms1024_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), + : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_h(0), m_s(0), m_std(0), m_write_port1(*this), m_write_port2(*this), m_write_port3(*this), m_write_port4(*this), m_write_port5(*this), m_write_port6(*this), m_write_port7(*this) { } diff --git a/src/devices/machine/upd4701.cpp b/src/devices/machine/upd4701.cpp index 4a7adfda291..d2b103f1f5b 100644 --- a/src/devices/machine/upd4701.cpp +++ b/src/devices/machine/upd4701.cpp @@ -19,7 +19,8 @@ const device_type UPD4701 = &device_creator; 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__) + : 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/upd4992.cpp b/src/devices/machine/upd4992.cpp index 3636a7e7d75..5e53da565a6 100644 --- a/src/devices/machine/upd4992.cpp +++ b/src/devices/machine/upd4992.cpp @@ -35,7 +35,7 @@ const device_type UPD4992 = &device_creator; upd4992_device::upd4992_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, UPD4992, "uPD4992 RTC", tag, owner, clock, "upd4992", __FILE__), - device_rtc_interface(mconfig, *this) + device_rtc_interface(mconfig, *this), m_timer_clock(nullptr) { } diff --git a/src/devices/machine/upd7002.cpp b/src/devices/machine/upd7002.cpp index b74d1bbf1d0..30803adc481 100644 --- a/src/devices/machine/upd7002.cpp +++ b/src/devices/machine/upd7002.cpp @@ -19,7 +19,7 @@ const device_type UPD7002 = &device_creator; upd7002_device::upd7002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock, "upd7002", __FILE__) + : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock, "upd7002", __FILE__), m_status(0), m_data1(0), m_data0(0), m_digitalvalue(0), m_conversion_counter(0) { } diff --git a/src/devices/machine/v3021.cpp b/src/devices/machine/v3021.cpp index de8f8526f25..ab0057d9951 100644 --- a/src/devices/machine/v3021.cpp +++ b/src/devices/machine/v3021.cpp @@ -34,7 +34,7 @@ const device_type v3021 = &device_creator; //------------------------------------------------- v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, v3021, "V3021 RTC", tag, owner, clock, "v3021", __FILE__) + : device_t(mconfig, v3021, "V3021 RTC", tag, owner, clock, "v3021", __FILE__), m_cal_mask(0), m_cal_com(0), m_cal_cnt(0), m_cal_val(0) { } diff --git a/src/devices/machine/vrc4373.cpp b/src/devices/machine/vrc4373.cpp index 860b7ff601a..7f53cd68d7b 100644 --- a/src/devices/machine/vrc4373.cpp +++ b/src/devices/machine/vrc4373.cpp @@ -29,9 +29,9 @@ DEVICE_ADDRESS_MAP_START(target2_map, 32, vrc4373_device) ADDRESS_MAP_END vrc4373_device::vrc4373_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : pci_host_device(mconfig, VRC4373, "NEC VRC4373 System Controller", tag, owner, clock, "vrc4373", __FILE__), + : pci_host_device(mconfig, VRC4373, "NEC VRC4373 System Controller", tag, owner, clock, "vrc4373", __FILE__), m_cpu_space(nullptr), m_cpu(nullptr), cpu_tag(nullptr), m_mem_config("memory_space", ENDIANNESS_LITTLE, 32, 32), - m_io_config("io_space", ENDIANNESS_LITTLE, 32, 32) + m_io_config("io_space", ENDIANNESS_LITTLE, 32, 32), m_ram_size(0), m_ram_base(0), m_simm_size(0), m_simm_base(0), m_pci1_laddr(0), m_pci2_laddr(0), m_pci_io_laddr(0), m_target1_laddr(0), m_target2_laddr(0) { } diff --git a/src/devices/machine/vt82c496.cpp b/src/devices/machine/vt82c496.cpp index 0a05d9cf17a..f3e16232515 100644 --- a/src/devices/machine/vt82c496.cpp +++ b/src/devices/machine/vt82c496.cpp @@ -16,8 +16,8 @@ const device_type VT82C496 = &device_creator; vt82c496_device::vt82c496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, VT82C496, "VIA VT82C496G system chipset", tag, owner, clock, "vt82c496", __FILE__) -{ + : device_t(mconfig, VT82C496, "VIA VT82C496G system chipset", tag, owner, clock, "vt82c496", __FILE__), m_cpu_tag(nullptr), m_region_tag(nullptr), m_space(nullptr), m_ram(nullptr), m_rom(nullptr), m_reg_select(0) + { } void vt82c496_device::device_start() diff --git a/src/devices/machine/ym2148.cpp b/src/devices/machine/ym2148.cpp index d0f45fc8844..8f4df5af907 100644 --- a/src/devices/machine/ym2148.cpp +++ b/src/devices/machine/ym2148.cpp @@ -29,8 +29,8 @@ ym2148_device::ym2148_device(const machine_config &mconfig, const char *tag, dev , m_data_out(0) , m_data_in(0) , m_control(0) - , m_status(0) - , m_rxd(1) + , m_status(0), m_timer(nullptr) + , m_rxd(1) , m_tx_busy(false) { } diff --git a/src/devices/sound/315-5641.cpp b/src/devices/sound/315-5641.cpp index 9a14be61469..ec5477d778d 100644 --- a/src/devices/sound/315-5641.cpp +++ b/src/devices/sound/315-5641.cpp @@ -6,7 +6,7 @@ const device_type SEGA_315_5641_PCM = &device_creator; sega_315_5641_pcm_device::sega_315_5641_pcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : upd7759_device(mconfig, SEGA_315_5641_PCM, "315-5641 PCM", tag, owner, clock, "315-5641_pcm", __FILE__) + : upd7759_device(mconfig, SEGA_315_5641_PCM, "315-5641 PCM", tag, owner, clock, "315-5641_pcm", __FILE__), m_fifo_read(0), m_fifo_write(0) { } diff --git a/src/devices/sound/awacs.cpp b/src/devices/sound/awacs.cpp index 57668acaef5..b0c26e7dbff 100644 --- a/src/devices/sound/awacs.cpp +++ b/src/devices/sound/awacs.cpp @@ -26,7 +26,7 @@ const device_type AWACS = &device_creator; awacs_device::awacs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, AWACS, "AWACS", tag, owner, clock, "awacs", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), m_stream(nullptr), m_play_ptr(0), m_buffer_size(0), m_buffer_num(0), m_playback_enable(false), m_dma_space(nullptr), m_dma_offset_0(0), m_dma_offset_1(0), m_timer(nullptr) { } diff --git a/src/devices/sound/es1373.cpp b/src/devices/sound/es1373.cpp index 509b4a873d2..a23210c6374 100644 --- a/src/devices/sound/es1373.cpp +++ b/src/devices/sound/es1373.cpp @@ -24,8 +24,8 @@ ADDRESS_MAP_END es1373_device::es1373_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pci_device(mconfig, ES1373, "Creative Labs Ensoniq AudioPCI97 ES1373", tag, owner, clock, "es1373", __FILE__), - device_sound_interface(mconfig, *this), - m_eslog(NULL), + device_sound_interface(mconfig, *this), m_stream(nullptr), + m_eslog(nullptr), m_tempCount(0), m_timer(nullptr), m_memory_space(nullptr), m_cpu_tag(nullptr), m_cpu(nullptr), m_irq_num(-1) { } diff --git a/src/devices/sound/esqpump.cpp b/src/devices/sound/esqpump.cpp index 147f97786ca..496cc5c832a 100644 --- a/src/devices/sound/esqpump.cpp +++ b/src/devices/sound/esqpump.cpp @@ -14,8 +14,8 @@ const device_type ESQ_5505_5510_PUMP = &device_creator; esq_5505_5510_pump::esq_5505_5510_pump(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ESQ_5505_5510_PUMP, "ESQ_5505_5510_PUMP", tag, owner, clock, "esq_5505_5510_pump", __FILE__), - device_sound_interface(mconfig, *this), - m_esp_halted(true) + device_sound_interface(mconfig, *this), m_stream(nullptr), m_timer(nullptr), m_otis(nullptr), m_esp(nullptr), + m_esp_halted(true), ticks_spent_processing(0), samples_processed(0) { } diff --git a/src/devices/sound/i5000.cpp b/src/devices/sound/i5000.cpp index df86311904e..22d390cc89c 100644 --- a/src/devices/sound/i5000.cpp +++ b/src/devices/sound/i5000.cpp @@ -25,7 +25,7 @@ const device_type I5000_SND = &device_creator; i5000snd_device::i5000snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, I5000_SND, "I5000", tag, owner, clock, "i5000snd", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), m_stream(nullptr), m_rom_base(nullptr), m_rom_mask(0) { } diff --git a/src/devices/sound/ics2115.cpp b/src/devices/sound/ics2115.cpp index af3557c28c3..c76e043f8ac 100644 --- a/src/devices/sound/ics2115.cpp +++ b/src/devices/sound/ics2115.cpp @@ -19,9 +19,9 @@ const device_type ICS2115 = &device_creator; ics2115_device::ics2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ICS2115, "ICS2115", tag, owner, clock, "ics2115", __FILE__), - device_sound_interface(mconfig, *this), + device_sound_interface(mconfig, *this), m_stream(nullptr), m_rom(*this, DEVICE_SELF), - m_irq_cb(*this) + m_irq_cb(*this), m_active_osc(0), m_osc_select(0), m_reg_select(0), m_irq_enabled(0), m_irq_pending(0), m_irq_on(false), m_vmode(0) { } diff --git a/src/devices/sound/k054539.cpp b/src/devices/sound/k054539.cpp index 965ed5b9b58..350077fb96e 100644 --- a/src/devices/sound/k054539.cpp +++ b/src/devices/sound/k054539.cpp @@ -19,7 +19,8 @@ const device_type K054539 = &device_creator; k054539_device::k054539_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K054539, "K054539 ADPCM", tag, owner, clock, "k054539", __FILE__), - device_sound_interface(mconfig, *this), + device_sound_interface(mconfig, *this), flags(0), ram(nullptr), reverb_pos(0), cur_ptr(0), cur_limit(0), + cur_zone(nullptr), rom(nullptr), rom_size(0), rom_mask(0), stream(nullptr), m_timer(nullptr), m_timer_state(0), m_timer_handler(*this), m_rgnoverride(NULL) { diff --git a/src/devices/sound/k056800.cpp b/src/devices/sound/k056800.cpp index 1534783f8de..beac3a67b73 100644 --- a/src/devices/sound/k056800.cpp +++ b/src/devices/sound/k056800.cpp @@ -21,7 +21,7 @@ const device_type K056800 = &device_creator; //------------------------------------------------- k056800_device::k056800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, K056800, "K056800 MIRAC", tag, owner, clock, "k056800", __FILE__), + : device_t(mconfig, K056800, "K056800 MIRAC", tag, owner, clock, "k056800", __FILE__), m_int_pending(false), m_int_enabled(false), m_int_handler(*this) { } diff --git a/src/devices/sound/l7a1045_l6028_dsp_a.h b/src/devices/sound/l7a1045_l6028_dsp_a.h index c0283f36836..836c35b20d0 100644 --- a/src/devices/sound/l7a1045_l6028_dsp_a.h +++ b/src/devices/sound/l7a1045_l6028_dsp_a.h @@ -6,9 +6,9 @@ struct l7a1045_voice { - l7a1045_voice() : - pos(0), - frac(0) + l7a1045_voice() : end(0), mode(false), + pos(0), + frac(0), l_volume(0), r_volume(0) { //memset(regs, 0, sizeof(UINT32)*8); start = 0; diff --git a/src/devices/sound/mas3507d.cpp b/src/devices/sound/mas3507d.cpp index a7be9bb4ba1..d61b932a1bf 100644 --- a/src/devices/sound/mas3507d.cpp +++ b/src/devices/sound/mas3507d.cpp @@ -12,7 +12,8 @@ const device_type MAS3507D = &device_creator; mas3507d_device::mas3507d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MAS3507D, "MAS3507D", tag, owner, clock, "mas3507d", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), i2c_bus_state(), i2c_bus_address(), i2c_scli(false), i2c_sclo(false), i2c_sdai(false), i2c_sdao(false), + i2c_bus_curbit(0), i2c_bus_curval(0), i2c_subdest(), i2c_command(), i2c_bytecount(0), i2c_io_bank(0), i2c_io_adr(0), i2c_io_count(0), i2c_io_val(0) { } diff --git a/src/devices/sound/msm5232.cpp b/src/devices/sound/msm5232.cpp index 6bd36aac09e..5d3f2ddf8b0 100644 --- a/src/devices/sound/msm5232.cpp +++ b/src/devices/sound/msm5232.cpp @@ -15,7 +15,7 @@ const device_type MSM5232 = &device_creator; msm5232_device::msm5232_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MSM5232, "MSM5232", tag, owner, clock, "msm5232", __FILE__), - device_sound_interface(mconfig, *this), + device_sound_interface(mconfig, *this), m_stream(nullptr), m_noise_cnt(0), m_noise_step(0), m_noise_rng(0), m_noise_clocks(0), m_UpdateStep(0), m_control1(0), m_control2(0), m_gate(0), m_chip_clock(0), m_rate(0), m_gate_handler_cb(*this) { } diff --git a/src/devices/sound/tc8830f.cpp b/src/devices/sound/tc8830f.cpp index 824b9d78958..06759146d93 100644 --- a/src/devices/sound/tc8830f.cpp +++ b/src/devices/sound/tc8830f.cpp @@ -26,7 +26,7 @@ const device_type TC8830F = &device_creator; tc8830f_device::tc8830f_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC8830F, "TC8830F", tag, owner, clock, "tc8830f", __FILE__), - device_sound_interface(mconfig, *this), + device_sound_interface(mconfig, *this), m_stream(nullptr), m_playing(false), m_address(0), m_stop_address(0), @@ -37,7 +37,7 @@ tc8830f_device::tc8830f_device(const machine_config &mconfig, const char *tag, d m_output(0), m_command(0), m_cmd_rw(0), - m_phrase(0) + m_phrase(0), m_mem_base(nullptr), m_mem_mask(0) { } diff --git a/src/devices/sound/upd7752.cpp b/src/devices/sound/upd7752.cpp index bebe180f722..fb086e4af00 100644 --- a/src/devices/sound/upd7752.cpp +++ b/src/devices/sound/upd7752.cpp @@ -37,8 +37,8 @@ ADDRESS_MAP_END upd7752_device::upd7752_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, UPD7752, "uPD7752", tag, owner, clock, "upd7752", __FILE__), device_sound_interface(mconfig, *this), - device_memory_interface(mconfig, *this), - m_space_config("ram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(upd7752_ram)) + device_memory_interface(mconfig, *this), m_stream(nullptr), + m_space_config("ram", ENDIANNESS_LITTLE, 8, 16, 0, nullptr, *ADDRESS_MAP_NAME(upd7752_ram)), m_status(0), m_ram_addr(0), m_mode(0) { } diff --git a/src/devices/sound/vrc6.cpp b/src/devices/sound/vrc6.cpp index 91775d932b6..c3673afc2b3 100644 --- a/src/devices/sound/vrc6.cpp +++ b/src/devices/sound/vrc6.cpp @@ -31,7 +31,7 @@ const device_type VRC6 = &device_creator; vrc6snd_device::vrc6snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VRC6, "VRC6 sound", tag, owner, clock, "vrc6snd", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), m_freqctrl(0), m_sawrate(0), m_sawfrql(0), m_sawfrqh(0), m_sawclock(0), m_sawaccum(0), m_stream(nullptr) { } diff --git a/src/devices/sound/wave.cpp b/src/devices/sound/wave.cpp index 76f9bdda8d6..744c5acd068 100644 --- a/src/devices/sound/wave.cpp +++ b/src/devices/sound/wave.cpp @@ -32,9 +32,9 @@ const device_type WAVE = &device_creator; wave_device::wave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WAVE, "Wave", tag, owner, clock, "wave", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), m_cass(nullptr) { - m_cassette_tag = 0; + m_cassette_tag = nullptr; } //------------------------------------------------- diff --git a/src/devices/sound/ymz770.cpp b/src/devices/sound/ymz770.cpp index f367f4d10eb..f5ca4eab23f 100644 --- a/src/devices/sound/ymz770.cpp +++ b/src/devices/sound/ymz770.cpp @@ -32,13 +32,13 @@ const device_type YMZ770 = &device_creator; ymz770_device::ymz770_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, YMZ770, "Yamaha YMZ770", tag, owner, clock, "ymz770", __FILE__), - device_sound_interface(mconfig, *this), + device_sound_interface(mconfig, *this), m_stream(nullptr), m_cur_reg(0), m_mute(0), m_doen(0), m_vlma(0), m_bsl(0), - m_cpl(0) + m_cpl(0), m_rom_base(nullptr), m_rom_limit(0) { } diff --git a/src/devices/video/315_5313.cpp b/src/devices/video/315_5313.cpp index 88c21c7dc18..0ed77263bd3 100644 --- a/src/devices/video/315_5313.cpp +++ b/src/devices/video/315_5313.cpp @@ -15,11 +15,16 @@ const device_type SEGA315_5313 = &device_creator; sega315_5313_device::sega315_5313_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : sega315_5124_device(mconfig, SEGA315_5313, "Sega 315-5313 Megadrive VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5313", __FILE__), + : sega315_5124_device(mconfig, SEGA315_5313, "Sega 315-5313 Megadrive VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5313", __FILE__), m_render_bitmap(nullptr), + m_render_line(nullptr), m_render_line_raw(nullptr), m_megadriv_scanline_timer(nullptr), m_sndirqline_callback(*this), m_lv6irqline_callback(*this), - m_lv4irqline_callback(*this), - m_dma_delay(0) + m_lv4irqline_callback(*this), m_command_pending(0), m_command_part1(0), m_command_part2(0), m_vdp_code(0), m_vdp_address(0), m_vram_fill_pending(0), m_vram_fill_length(0), m_irq4counter(0), + m_imode_odd_frame(0), m_sprite_collision(0), m_irq6_pending(0), m_irq4_pending(0), m_scanline_counter(0), m_vblank_flag(0), m_imode(0), m_visible_scanlines(0), m_irq6_scanline(0), + m_z80irq_scanline(0), m_total_scanlines(0), m_base_total_scanlines(0), m_framerate(0), m_vdp_pal(0), m_use_cram(0), + m_dma_delay(0), m_regs(nullptr), m_vram(nullptr), m_cram(nullptr), m_vsram(nullptr), m_internal_sprite_attribute_table(nullptr), m_irq6_on_timer(nullptr), m_irq4_on_timer(nullptr), + m_render_timer(nullptr), m_sprite_renderline(nullptr), m_highpri_renderline(nullptr), m_video_renderline(nullptr), m_palette_lookup(nullptr), m_palette_lookup_sprite(nullptr), + m_palette_lookup_shadow(nullptr), m_palette_lookup_highlight(nullptr), m_space68k(nullptr), m_cpu68k(nullptr) { m_use_alt_timing = 0; m_palwrite_base = -1; diff --git a/src/devices/video/crtc_ega.cpp b/src/devices/video/crtc_ega.cpp index 102df087008..b1e5a5facda 100644 --- a/src/devices/video/crtc_ega.cpp +++ b/src/devices/video/crtc_ega.cpp @@ -24,8 +24,14 @@ crtc_ega_device::crtc_ega_device(const machine_config &mconfig, const char *tag, m_res_out_de_cb(*this), m_res_out_hsync_cb(*this), m_res_out_vsync_cb(*this), - m_res_out_vblank_cb(*this), - m_hpixels_per_column(0) + m_res_out_vblank_cb(*this), m_horiz_char_total(0), m_horiz_disp(0), m_horiz_blank_start(0), m_horiz_blank_end(0), m_ena_vert_access(0), m_de_skew(0), m_horiz_retr_start(0), m_horiz_retr_end(0), + m_horiz_retr_skew(0), m_vert_total(0), m_preset_row_scan(0), m_byte_panning(0), m_max_ras_addr(0), m_scan_doubling(0), m_cursor_start_ras(0), m_cursor_disable(0), m_cursor_end_ras(0), m_cursor_skew(0), + m_disp_start_addr(0), m_cursor_addr(0), m_light_pen_addr(0), m_vert_retr_start(0), m_vert_retr_end(0), m_protect(0), m_bandwidth(0), m_vert_disp_end(0), m_offset(0), m_underline_loc(0), m_vert_blank_start(0), + m_vert_blank_end(0), m_mode_control(0), m_line_compare(0), m_register_address_latch(0), m_cursor_state(false), m_cursor_blink_count(0), + m_hpixels_per_column(0), m_cur(0), m_hsync(0), m_vsync(0), m_vblank(0), m_de(0), m_character_counter(0), m_hsync_width_counter(0), m_line_counter(0), m_raster_counter(0), m_vsync_width_counter(0), + m_line_enable_ff(false), m_vsync_ff(0), m_adjust_active(0), m_line_address(0), m_cursor_x(0), m_line_timer(nullptr), m_de_off_timer(nullptr), m_cur_on_timer(nullptr), m_cur_off_timer(nullptr), + m_hsync_on_timer(nullptr), m_hsync_off_timer(nullptr), m_light_pen_latch_timer(nullptr), m_horiz_pix_total(0), m_vert_pix_total(0), m_max_visible_x(0), m_max_visible_y(0), m_hsync_on_pos(0), + m_hsync_off_pos(0), m_vsync_on_pos(0), m_vsync_off_pos(0), m_current_disp_addr(0), m_light_pen_latched(0), m_has_valid_parameters(false) { } diff --git a/src/devices/video/ef9340_1.cpp b/src/devices/video/ef9340_1.cpp index d3dd81f5d2e..1875ef3cf15 100644 --- a/src/devices/video/ef9340_1.cpp +++ b/src/devices/video/ef9340_1.cpp @@ -25,8 +25,8 @@ static const UINT8 bgr2rgb[8] = ef9340_1_device::ef9340_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EF9340_1, "EF9340+EF9341", tag, owner, clock, "ef9340_1", __FILE__) - , device_video_interface(mconfig, *this) - //, m_start_vpos(START_Y) + , device_video_interface(mconfig, *this), m_line_timer(nullptr) +//, m_start_vpos(START_Y) //, m_start_vblank(START_Y + SCREEN_HEIGHT) //, m_screen_lines(LINES) { diff --git a/src/devices/video/epic12.cpp b/src/devices/video/epic12.cpp index a22100e5543..15b5bdedfd5 100644 --- a/src/devices/video/epic12.cpp +++ b/src/devices/video/epic12.cpp @@ -11,7 +11,8 @@ const device_type EPIC12 = &device_creator; epic12_device::epic12_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EPIC12, "EP1C12 Blitter", tag, owner, clock, "epic12", __FILE__), - device_video_interface(mconfig, *this) + device_video_interface(mconfig, *this), m_ram16(nullptr), m_gfx_size(0), m_bitmaps(nullptr), m_use_ram(nullptr), + m_main_ramsize(0), m_main_rammask(0), m_maincpu(nullptr), m_ram16_copy(nullptr), m_work_queue(nullptr) { m_is_unsafe = 0; m_delay_scale = 0; diff --git a/src/devices/video/fixfreq.cpp b/src/devices/video/fixfreq.cpp index 033bcb5b301..3f3b35bc372 100644 --- a/src/devices/video/fixfreq.cpp +++ b/src/devices/video/fixfreq.cpp @@ -35,7 +35,7 @@ const device_type FIXFREQ = &device_creator; fixedfreq_device::fixedfreq_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), - device_video_interface(mconfig, *this, false), + device_video_interface(mconfig, *this, false), m_htotal(0), m_vtotal(0), m_vid(0), m_last_x(0), m_last_y(0), m_cur_bm(0), // default to NTSC "704x480@30i" m_monitor_clock(13500000), m_hvisible(704), @@ -48,7 +48,7 @@ fixedfreq_device::fixedfreq_device(const machine_config &mconfig, device_type ty m_vbackporch(525), m_fieldcount(2), m_sync_threshold(0.3), - m_gain(1.0 / 3.7) + m_gain(1.0 / 3.7), m_vint(0), m_int_trig(0), m_mult(0), m_sig_vsync(0), m_sig_composite(0), m_sig_field(0) { } diff --git a/src/devices/video/gf4500.cpp b/src/devices/video/gf4500.cpp index 498660b6b44..06cb8cd9030 100644 --- a/src/devices/video/gf4500.cpp +++ b/src/devices/video/gf4500.cpp @@ -36,8 +36,8 @@ const device_type GF4500 = &device_creator; gf4500_device::gf4500_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock, "gf4500", __FILE__) -{ + : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock, "gf4500", __FILE__), m_data(nullptr), m_screen_x(0), m_screen_y(0), m_screen_x_max(0), m_screen_y_max(0), m_screen_x_min(0), m_screen_y_min(0) + { } diff --git a/src/devices/video/h63484.cpp b/src/devices/video/h63484.cpp index 1fd79e565f5..04c123b90c9 100644 --- a/src/devices/video/h63484.cpp +++ b/src/devices/video/h63484.cpp @@ -43,7 +43,7 @@ h63484_device::h63484_device(const machine_config &mconfig, const char *tag, dev m_org_dn(0), m_org_dpd(0), m_cl0(0), - m_cl1(0), + m_cl1(0), m_ccmp(0), m_mask(0), m_cpx(0), m_dcr(0), m_space_config("videoram", ENDIANNESS_BIG, 16, 20, -1, NULL, *ADDRESS_MAP_NAME(h63484_vram)) { diff --git a/src/devices/video/huc6202.cpp b/src/devices/video/huc6202.cpp index 3f33a3eaa05..2e2c4e60b6a 100644 --- a/src/devices/video/huc6202.cpp +++ b/src/devices/video/huc6202.cpp @@ -27,7 +27,7 @@ huc6202_device::huc6202_device(const machine_config &mconfig, const char *tag, d m_vsync_changed_1_cb(*this), m_hsync_changed_1_cb(*this), m_read_1_cb(*this), - m_write_1_cb(*this) + m_write_1_cb(*this), m_window1(0), m_window2(0), m_io_device(0), m_map_index(0), m_map_dirty(0) { } diff --git a/src/devices/video/huc6261.cpp b/src/devices/video/huc6261.cpp index f22bdfba582..abdb14fa327 100644 --- a/src/devices/video/huc6261.cpp +++ b/src/devices/video/huc6261.cpp @@ -27,7 +27,7 @@ const device_type HUC6261 = &device_creator; huc6261_device::huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock, "huc6261", __FILE__), - device_video_interface(mconfig, *this) + device_video_interface(mconfig, *this), m_huc6270_a_tag(nullptr), m_huc6270_b_tag(nullptr), m_huc6270_a(nullptr), m_huc6270_b(nullptr), m_last_h(0), m_last_v(0), m_height(0), m_address(0), m_palette_latch(0), m_register(0), m_control(0), m_pixels_per_clock(0), m_pixel_data(0), m_pixel_clock(0), m_timer(nullptr), m_bmp(nullptr) { // Set up UV lookup table for ( int ur = 0; ur < 256; ur++ ) diff --git a/src/devices/video/msm6222b.cpp b/src/devices/video/msm6222b.cpp index f6c2c9564a3..a8e0d41c673 100644 --- a/src/devices/video/msm6222b.cpp +++ b/src/devices/video/msm6222b.cpp @@ -22,12 +22,12 @@ ROM_START( msm6222b_01 ) ROM_END msm6222b_device::msm6222b_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) + device_t(mconfig, type, name, tag, owner, clock, shortname, source), cursor_direction(false), cursor_blinking(false), two_line(false), shift_on_write(false), double_height(false), cursor_on(false), display_on(false), adc(0), shift(0), cgrom(nullptr) { } msm6222b_device::msm6222b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, MSM6222B, "msm6222b-xx", tag, owner, clock, "msm6222b", __FILE__) + device_t(mconfig, MSM6222B, "msm6222b-xx", tag, owner, clock, "msm6222b", __FILE__), cursor_direction(false), cursor_blinking(false), two_line(false), shift_on_write(false), double_height(false), cursor_on(false), display_on(false), adc(0), shift(0), cgrom(nullptr) { } diff --git a/src/devices/video/scn2674.cpp b/src/devices/video/scn2674.cpp index d448c02161b..bedf15dceca 100644 --- a/src/devices/video/scn2674.cpp +++ b/src/devices/video/scn2674.cpp @@ -21,7 +21,15 @@ scn2674_device::scn2674_device(const machine_config &mconfig, const char *tag, d : device_t(mconfig, SCN2674_VIDEO, "Signetics SCN2674 AVDC", tag, owner, clock, "scn2674_device", __FILE__), device_video_interface(mconfig, *this), device_memory_interface(mconfig, *this), - m_irq_cb(*this), + m_irq_cb(*this), m_IR_pointer(0), m_screen1_l(0), m_screen1_h(0), m_cursor_l(0), m_cursor_h(0), m_screen2_l(0), m_screen2_h(0), m_irq_register(0), m_status_register(0), m_irq_mask(0), + m_gfx_enabled(0), m_display_enabled(0), m_display_enabled_field(0), m_display_enabled_scanline(0), m_cursor_enabled(0), m_hpixels_per_column(0), m_text_hpixels_per_column(0), + m_gfx_hpixels_per_column(0), m_IR0_double_ht_wd(0), m_IR0_scanline_per_char_row(0), m_IR0_sync_select(0), m_IR0_buffer_mode_select(0), m_IR1_interlace_enable(0), m_IR1_equalizing_constant(0), + m_IR2_row_table(0), m_IR2_horz_sync_width(0), m_IR2_horz_back_porch(0), m_IR3_vert_front_porch(0), m_IR3_vert_back_porch(0), m_IR4_rows_per_screen(0), m_IR4_character_blink_rate_divisor(0), + m_IR5_character_per_row(0), m_IR6_cursor_first_scanline(0), m_IR6_cursor_last_scanline(0), m_IR7_cursor_underline_position(0), m_IR7_cursor_rate_divisor(0), m_IR7_cursor_blink(0), + m_IR7_vsync_width(0), m_IR8_display_buffer_first_address_LSB(0), m_IR9_display_buffer_first_address_MSB(0), m_IR9_display_buffer_last_address(0), m_IR10_display_pointer_address_lower(0), + m_IR11_display_pointer_address_upper(0), m_IR11_reset_scanline_counter_on_scrollup(0), m_IR11_reset_scanline_counter_on_scrolldown(0), m_IR12_scroll_start(0), m_IR12_split_register_1(0), + m_IR13_scroll_end(0), m_IR13_split_register_2(0), m_IR14_scroll_lines(0), m_IR14_double_1(0), m_IR14_double_2(0), m_spl1(0), m_spl2(0), m_dbl1(0), m_buffer(0), m_linecounter(0), m_address(0), + m_start1change(0), m_irq_state(0), m_scanline_timer(nullptr), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(scn2674_vram)) { } diff --git a/src/devices/video/sed1200.cpp b/src/devices/video/sed1200.cpp index 029ab01c236..06cd7ba7e83 100644 --- a/src/devices/video/sed1200.cpp +++ b/src/devices/video/sed1200.cpp @@ -32,7 +32,7 @@ ROM_START( sed1200x0b ) ROM_END sed1200_device::sed1200_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) + device_t(mconfig, type, name, tag, owner, clock, shortname, source), cursor_direction(false), cursor_blinking(false), cursor_full(false), cursor_on(false), display_on(false), cursor_address(0), cgram_address(0), cgrom(nullptr) { } @@ -83,7 +83,7 @@ void sed1200_device::device_start() if(memregion("cgrom")) cgrom = memregion("cgrom")->base(); else - cgrom = NULL; + cgrom = nullptr; soft_reset(); } diff --git a/src/devices/video/sed1520.cpp b/src/devices/video/sed1520.cpp index ba5c68145cd..98815057e65 100644 --- a/src/devices/video/sed1520.cpp +++ b/src/devices/video/sed1520.cpp @@ -29,8 +29,9 @@ const device_type SED1520 = &device_creator; //------------------------------------------------- sed1520_device::sed1520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, SED1520, "SED1520", tag, owner, clock, "sed1520", __FILE__), - m_screen_update_func(NULL) + device_t(mconfig, SED1520, "SED1520", tag, owner, clock, "sed1520", __FILE__), m_lcd_on(0), m_busy(0), m_page(0), m_column(0), m_old_column(0), m_start_line(0), + m_adc(0), m_static_drive(0), m_modify_write(false), + m_screen_update_func(nullptr) { } diff --git a/src/devices/video/t6a04.cpp b/src/devices/video/t6a04.cpp index 89bf9cf716a..771963d016f 100644 --- a/src/devices/video/t6a04.cpp +++ b/src/devices/video/t6a04.cpp @@ -37,7 +37,8 @@ void t6a04_device::device_validity_check(validity_checker &valid) const //------------------------------------------------- t6a04_device::t6a04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, T6A04, "T6A04", tag, owner, clock, "t6a04", __FILE__), + device_t(mconfig, T6A04, "T6A04", tag, owner, clock, "t6a04", __FILE__), m_busy_flag(0), m_display_on(0), m_contrast(0), m_xpos(0), m_ypos(0), m_zpos(0), m_direction(0), + m_active_counter(0), m_word_len(0), m_opa1(0), m_opa2(0), m_output_reg(0), m_height(0), m_width(0) {