Previous 199869 Revisions Next

r41796 Thursday 19th November, 2015 at 18:45:32 UTC by Miodrag Milanović
Fixed uninitialized class members
[src/devices/bus/isa]cga.cpp
[src/devices/cpu/arc]arc.cpp
[src/devices/cpu/e0c6200]e0c6200.h e0c6s46.cpp
[src/devices/cpu/h8]h8.cpp h83002.cpp h83006.cpp h83008.cpp h83048.cpp h83337.cpp h8_adc.cpp h8_intc.cpp h8_port.cpp h8_sci.cpp h8_timer16.cpp h8_timer8.cpp h8s2245.cpp h8s2320.cpp h8s2357.cpp h8s2655.cpp
[src/devices/cpu/hcd62121]hcd62121.cpp
[src/devices/cpu/i4004]i4004.cpp
[src/devices/cpu/i8089]i8089.cpp
[src/devices/cpu/i860]i860.cpp
[src/devices/cpu/i960]i960.cpp
[src/devices/cpu/ie15]ie15.cpp
[src/devices/cpu/m6502]m6502.cpp m6509.cpp m6510.cpp m65ce02.cpp m740.cpp
[src/devices/cpu/mb86233]mb86233.cpp
[src/devices/cpu/mcs96]i8x9x.cpp mcs96.cpp
[src/devices/cpu/melps4]m58846.cpp
[src/devices/cpu/mn10200]mn10200.h
[src/devices/cpu/pdp1]tx0.cpp
[src/devices/cpu/psx]dma.cpp irq.cpp mdec.cpp sio.cpp
[src/devices/cpu/s2650]s2650.cpp
[src/devices/cpu/saturn]saturn.cpp
[src/devices/cpu/scmp]scmp.cpp
[src/devices/cpu/se3208]se3208.cpp
[src/devices/cpu/sm8500]sm8500.cpp
[src/devices/cpu/superfx]superfx.cpp
[src/devices/cpu/tms34010]tms34010.cpp
[src/devices/cpu/tms57002]tms57002.cpp
[src/devices/cpu/unsp]unsp.cpp
[src/devices/cpu/upd7725]upd7725.cpp
[src/devices/cpu/z8000]z8000.cpp
[src/devices/machine]40105.cpp 68230pit.cpp 68561mpcc.cpp 7200fifo.cpp 74123.cpp 74181.cpp 8530scc.cpp aakart.cpp adc0808.cpp adc1038.cpp aicartc.cpp amigafdc.cpp ataflash.cpp atahle.cpp cdp1852.cpp dp8390.cpp ds1204.cpp ds1315.cpp ds2401.cpp ds2404.cpp e0516.cpp e05a30.cpp i8212.cpp i8243.cpp i8271.cpp idehd.cpp ins8154.cpp jvsdev.cpp jvshost.cpp k033906.cpp lh5810.cpp linflash.cpp lpc-rtc.cpp m6m80011ap.cpp mb14241.cpp mb3773.cpp mb8795.cpp mc146818.cpp mc68328.cpp microtch.cpp mm74c922.cpp mos6551.cpp ncr5380n.cpp ncr5390.cpp nsc810.cpp nscsi_bus.cpp nscsi_cb.cpp nscsi_cd.cpp nscsi_hd.cpp pc_lpt.cpp pla.cpp rf5c296.cpp rtc4543.cpp rtc9701.cpp s3520cf.cpp s3c44b0.cpp serflash.cpp spchrom.cpp tms1024.cpp upd4701.cpp upd4992.cpp upd7002.cpp v3021.cpp vrc4373.cpp vt82c496.cpp ym2148.cpp
[src/devices/sound]315-5641.cpp awacs.cpp es1373.cpp esqpump.cpp i5000.cpp ics2115.cpp k054539.cpp k056800.cpp l7a1045_l6028_dsp_a.h mas3507d.cpp msm5232.cpp tc8830f.cpp upd7752.cpp vrc6.cpp wave.cpp ymz770.cpp
[src/devices/video]315_5313.cpp crtc_ega.cpp ef9340_1.cpp epic12.cpp fixfreq.cpp gf4500.cpp h63484.cpp huc6202.cpp huc6261.cpp msm6222b.cpp scn2674.cpp sed1200.cpp sed1520.cpp t6a04.cpp

trunk/src/devices/bus/isa/cga.cpp
r250307r250308
308308      device_t(mconfig, ISA8_CGA, "IBM Color/Graphics Monitor Adapter", tag, owner, clock, "cga", __FILE__),
309309      device_isa8_card_interface(mconfig, *this),
310310      m_cga_config(*this, "cga_config"), m_framecnt(0), m_mode_control(0), m_color_select(0),
311      m_update_row_type(-1), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0),
311      m_update_row_type(-1), m_y(0), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0),
312312      m_vram_size( 0x4000 ), m_plantronics(0),
313313      m_palette(*this, "palette"),
314314      m_screen(*this, "screen")
r250307r250308
324324      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
325325      device_isa8_card_interface(mconfig, *this),
326326      m_cga_config(*this, "cga_config"), m_framecnt(0), m_mode_control(0), m_color_select(0),
327      m_update_row_type(-1), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0),
327      m_update_row_type(-1), m_y(0), m_chr_gen_base(nullptr), m_chr_gen(nullptr), m_vsync(0), m_hsync(0),
328328      m_vram_size( 0x4000 ), m_plantronics(0),
329329      m_palette(*this, "palette"),
330330      m_screen(*this, "screen")
trunk/src/devices/cpu/arc/arc.cpp
r250307r250308
1919
2020arc_device::arc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2121   : cpu_device(mconfig, ARC, "ARCtangent A4", tag, owner, clock, "arc", __FILE__)
22   , m_program_config("program", ENDIANNESS_BIG, 32, 24, 0) // some docs describe these as 'middle endian'?!
22   , m_program_config("program", ENDIANNESS_BIG, 32, 24, 0), m_pc(0), m_program(nullptr), m_icount(0), m_debugger_temp(0)
23// some docs describe these as 'middle endian'?!
2324{
2425}
2526
trunk/src/devices/cpu/e0c6200/e0c6200.h
r250307r250308
1919   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)
2020      : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
2121      , m_program_config("program", ENDIANNESS_BIG, 16, 13, -1, program)
22      , m_data_config("data", ENDIANNESS_BIG, 8, 12, 0, data)
22      , 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),
23      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)
2324   { }
2425
2526protected:
trunk/src/devices/cpu/e0c6200/e0c6s46.cpp
r250307r250308
4848e0c6s46_device::e0c6s46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
4949   : e0c6200_cpu_device(mconfig, E0C6S46, "E0C6S46", tag, owner, clock, ADDRESS_MAP_NAME(e0c6s46_program), ADDRESS_MAP_NAME(e0c6s46_data), "e0c6s46", __FILE__)
5050   , m_vram1(*this, "vram1")
51   , m_vram2(*this, "vram2")
52   , m_pixel_update_handler(NULL)
51   , m_vram2(*this, "vram2"), m_osc(0), m_svd(0), m_lcd_control(0), m_lcd_contrast(0)
52     , m_pixel_update_handler(nullptr)
5353   , m_write_r0(*this), m_write_r1(*this), m_write_r2(*this), m_write_r3(*this), m_write_r4(*this)
5454   , m_read_p0(*this), m_read_p1(*this), m_read_p2(*this), m_read_p3(*this)
55   , m_write_p0(*this), m_write_p1(*this), m_write_p2(*this), m_write_p3(*this)
55   , 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),
56   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),
57   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)
5658{ }
5759
5860
trunk/src/devices/cpu/h8/h8.cpp
r250307r250308
1616h8_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) :
1717   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
1818   program_config("program", ENDIANNESS_BIG, 16, mode_a16 ? 16 : 24, 0, map_delegate),
19   io_config("io", ENDIANNESS_BIG, 16, 16, -1)
19   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),
20   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)
2021{
2122   supports_advanced = false;
2223   mode_advanced = false;
trunk/src/devices/cpu/h8/h83002.cpp
r250307r250308
2323   timer16_3(*this, "timer16:3"),
2424   timer16_4(*this, "timer16:4"),
2525   sci0(*this, "sci0"),
26   sci1(*this, "sci1")
26   sci1(*this, "sci1"), syscr(0)
2727{
2828}
2929
trunk/src/devices/cpu/h8/h83006.cpp
r250307r250308
2828   timer16_2(*this, "timer16:2"),
2929   sci0(*this, "sci0"),
3030   sci1(*this, "sci1"),
31   sci2(*this, "sci2")
31   sci2(*this, "sci2"), syscr(0), ram_start(0)
3232{
3333}
3434
r250307r250308
5353   timer16_2(*this, "timer16:2"),
5454   sci0(*this, "sci0"),
5555   sci1(*this, "sci1"),
56   sci2(*this, "sci2")
56   sci2(*this, "sci2"), syscr(0)
5757{
5858   ram_start = 0xfff720;
5959}
trunk/src/devices/cpu/h8/h83008.cpp
r250307r250308
2525   timer16_1(*this, "timer16:1"),
2626   timer16_2(*this, "timer16:2"),
2727   sci0(*this, "sci0"),
28   sci1(*this, "sci1")
28   sci1(*this, "sci1"), syscr(0)
2929{
3030}
3131
trunk/src/devices/cpu/h8/h83048.cpp
r250307r250308
3030   timer16_3(*this, "timer16:3"),
3131   timer16_4(*this, "timer16:4"),
3232   sci0(*this, "sci0"),
33   sci1(*this, "sci1")
33   sci1(*this, "sci1"), ram_start(0), syscr(0)
3434{
3535}
3636
trunk/src/devices/cpu/h8/h83337.cpp
r250307r250308
2626   timer16(*this, "timer16"),
2727   timer16_0(*this, "timer16:0"),
2828   sci0(*this, "sci0"),
29   sci1(*this, "sci1")
29   sci1(*this, "sci1"), syscr(0), ram_start(0)
3030{
3131}
3232
r250307r250308
4848   timer16(*this, "timer16"),
4949   timer16_0(*this, "timer16:0"),
5050   sci0(*this, "sci0"),
51   sci1(*this, "sci1")
51   sci1(*this, "sci1"), syscr(0)
5252{
5353   ram_start = 0xf780;
5454}
trunk/src/devices/cpu/h8/h8_adc.cpp
r250307r250308
1212
1313h8_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) :
1414   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
15   cpu(*this, DEVICE_SELF_OWNER)
15   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),
16   end_channel(0), start_count(0), mode(0), channel(0), count(0), analog_powered(false), adtrg(false), next_event(0)
1617{
1718   suspend_on_interrupt = false;
1819   analog_power_control = false;
trunk/src/devices/cpu/h8/h8_intc.cpp
r250307r250308
99
1010h8_intc_device::h8_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1111   device_t(mconfig, H8_INTC, "H8 INTC", tag, owner, clock, "h8_intc", __FILE__),
12   cpu(*this, DEVICE_SELF_OWNER)
12   cpu(*this, DEVICE_SELF_OWNER), nmi_input(false), irq_input(0), ier(0), isr(0), iscr(0), icr_filter(0), ipr_filter(0)
1313{
1414   irq_vector_base = 4;
1515   irq_vector_nmi = 3;
1616}
1717
1818h8_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) :
19   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
20   cpu(*this, DEVICE_SELF_OWNER)
19   device_t(mconfig, type, name, tag, owner, clock, shortname, source), irq_vector_base(0), irq_vector_nmi(0),
20   cpu(*this, DEVICE_SELF_OWNER), nmi_input(false), irq_input(0), ier(0), isr(0), iscr(0), icr_filter(0), ipr_filter(0)
2121{
2222}
2323
trunk/src/devices/cpu/h8/h8_port.cpp
r250307r250308
77
88h8_port_device::h8_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
99   device_t(mconfig, H8_PORT, "H8 digital port", tag, owner, clock, "h8_digital_port", __FILE__),
10   cpu(*this, DEVICE_SELF_OWNER)
10   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)
1111{
1212}
1313
trunk/src/devices/cpu/h8/h8_sci.cpp
r250307r250308
1111   device_t(mconfig, H8_SCI, "H8 Serial Communications Interface", tag, owner, clock, "h8_sci", __FILE__),
1212   cpu(*this, DEVICE_SELF_OWNER),
1313   tx_cb(*this),
14   clk_cb(*this)
14   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),
15   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),
16   rdr(0), tdr(0), smr(0), scr(0), ssr(0), brr(0), rsr(0), tsr(0), clock_base(0), divider(0)
1517{
1618   external_clock_period = attotime::never;
1719}
trunk/src/devices/cpu/h8/h8_timer16.cpp
r250307r250308
1212
1313h8_timer16_channel_device::h8_timer16_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1414   device_t(mconfig, H8_TIMER16_CHANNEL, "H8 16-bits timer channel", tag, owner, clock, "h8_16bits_timer_channel", __FILE__),
15   cpu(*this, "^^")
15   cpu(*this, "^^"), chained_timer(nullptr), intc(nullptr), intc_tag(nullptr), tier_mask(0), tgr_count(0), tbr_count(0), tgr_clearing(0), tcr(0), tier(0), ier(0), isr(0), clock_type(0),
16   clock_divider(0), tcnt(0), last_clock_update(0), event_time(0), phase(0), counter_cycle(0), counter_incrementing(false), channel_active(false)
1617{
1718   chain_tag = NULL;
1819}
1920
2021h8_timer16_channel_device::h8_timer16_channel_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) :
2122   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
22   cpu(*this, "^^")
23   cpu(*this, "^^"), chained_timer(nullptr), intc(nullptr), intc_tag(nullptr), tier_mask(0), tgr_count(0), tbr_count(0), tgr_clearing(0), tcr(0), tier(0), ier(0), isr(0), clock_type(0),
24   clock_divider(0), tcnt(0), last_clock_update(0), event_time(0), phase(0), counter_cycle(0), counter_incrementing(false), channel_active(false)
2325{
2426   chain_tag = NULL;
2527}
trunk/src/devices/cpu/h8/h8_timer8.cpp
r250307r250308
88
99h8_timer8_channel_device::h8_timer8_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1010   device_t(mconfig, H8_TIMER8_CHANNEL, "H8 8-bits timer channel", tag, owner, clock, "h8_8bits_timer_channel", __FILE__),
11   cpu(*this, "^")
11   cpu(*this, "^"), chained_timer(nullptr), intc(nullptr), chain_tag(nullptr), intc_tag(nullptr), irq_ca(0), irq_cb(0), irq_v(0), chain_type(0), tcr(0), tcsr(0), tcnt(0), extra_clock_bit(false),
12   has_adte(false), has_ice(false), clock_type(0), clock_divider(0), clear_type(0), counter_cycle(0), last_clock_update(0), event_time(0)
1213{
1314}
1415
1516h8_timer8_channel_device::h8_timer8_channel_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) :
1617   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
17   cpu(*this, "^")
18   cpu(*this, "^"), chained_timer(nullptr), intc(nullptr), chain_tag(nullptr), intc_tag(nullptr), irq_ca(0), irq_cb(0), irq_v(0), chain_type(0), tcr(0), tcsr(0), tcnt(0), extra_clock_bit(false),
19   has_adte(false), has_ice(false), clock_type(0), clock_divider(0), clear_type(0), counter_cycle(0), last_clock_update(0), event_time(0)
1820{
1921}
2022
trunk/src/devices/cpu/h8/h8s2245.cpp
r250307r250308
3333   timer16_2(*this, "timer16:2"),
3434   sci0(*this, "sci0"),
3535   sci1(*this, "sci1"),
36   sci2(*this, "sci2")
36   sci2(*this, "sci2"), ram_start(0), syscr(0)
3737{
3838}
3939
trunk/src/devices/cpu/h8/h8s2320.cpp
r250307r250308
4242   timer16_5(*this, "timer16:5"),
4343   sci0(*this, "sci0"),
4444   sci1(*this, "sci1"),
45   sci2(*this, "sci2")
45   sci2(*this, "sci2"), ram_start(0), syscr(0)
4646{
4747}
4848
trunk/src/devices/cpu/h8/h8s2357.cpp
r250307r250308
3838   timer16_5(*this, "timer16:5"),
3939   sci0(*this, "sci0"),
4040   sci1(*this, "sci1"),
41   sci2(*this, "sci2")
41   sci2(*this, "sci2"), ram_start(0), syscr(0)
4242{
4343}
4444
trunk/src/devices/cpu/h8/h8s2655.cpp
r250307r250308
3434   timer16_5(*this, "timer16:5"),
3535   sci0(*this, "sci0"),
3636   sci1(*this, "sci1"),
37   sci2(*this, "sci2")
37   sci2(*this, "sci2"), syscr(0)
3838{
3939   has_trace = true;
4040}
trunk/src/devices/cpu/hcd62121/hcd62121.cpp
r250307r250308
3232hcd62121_cpu_device::hcd62121_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3333   : cpu_device(mconfig, HCD62121, "Hitachi HCD62121", tag, owner, clock, "hcd62121", __FILE__)
3434   , m_program_config("program", ENDIANNESS_BIG, 8, 24, 0)
35   , m_io_config("io", ENDIANNESS_BIG, 8, 8, 0)
36   , m_sp(0)
35   , m_io_config("io", ENDIANNESS_BIG, 8, 8, 0), m_prev_pc(0)
36     , m_sp(0)
3737   , m_ip(0)
3838   , m_dsize(0)
3939   , m_cseg(0)
4040   , m_dseg(0)
4141   , m_sseg(0)
4242   , m_f(0)
43   , m_lar(0)
43   , m_lar(0), m_program(nullptr), m_io(nullptr), m_icount(0)
4444{
4545}
4646
trunk/src/devices/cpu/i4004/i4004.cpp
r250307r250308
2828   : cpu_device(mconfig, I4004, "Intel I4004", tag, owner, clock, "i4004", __FILE__)
2929   , m_program_config("program", ENDIANNESS_LITTLE, 8, 12, 0)
3030   , m_io_config("io", ENDIANNESS_LITTLE, 8, 6, 0)
31   , m_data_config("data", ENDIANNESS_LITTLE, 8, 12, 0)
31   , 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)
3232{
3333   m_is_octal = true;
3434}
trunk/src/devices/cpu/i8089/i8089.cpp
r250307r250308
3838   m_ch1(*this, "1"),
3939   m_ch2(*this, "2"),
4040   m_write_sintr1(*this),
41   m_write_sintr2(*this),
41   m_write_sintr2(*this), m_databus_width(0), m_mem(nullptr), m_io(nullptr),
4242   m_sysbus(0),
4343   m_scb(0),
44   m_soc(0),
44   m_soc(0), m_initialized(false),
4545   m_master(false),
4646   m_current_tp(0),
4747   m_ca(0),
48   m_sel(0)
48   m_sel(0), m_last_chan(false)
4949{
5050}
5151
trunk/src/devices/cpu/i860/i860.cpp
r250307r250308
3636
3737i860_cpu_device::i860_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3838   : cpu_device(mconfig, I860, "i860XR", tag, owner, clock, "i860xr", __FILE__)
39   , m_program_config("program", ENDIANNESS_LITTLE, 64, 32, 0)
39   , 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)
4040{
4141}
4242
trunk/src/devices/cpu/i960/i960.cpp
r250307r250308
1818
1919i960_cpu_device::i960_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2020   : cpu_device(mconfig, I960, "i960kb", tag, owner, clock, "i960kb", __FILE__)
21   , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0)
21   , 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),
22   m_immediate_vector(0), m_immediate_pri(0), m_program(nullptr), m_direct(nullptr), m_icount(0)
2223{
2324}
2425
trunk/src/devices/cpu/ie15/ie15.cpp
r250307r250308
3131ie15_device::ie15_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3232   : cpu_device(mconfig, IE15, "ie15", tag, owner, clock, "ie15_cpu", __FILE__),
3333      m_program_config("program", ENDIANNESS_LITTLE, 8, 14),
34      m_io_config("io", ENDIANNESS_LITTLE, 8, 8),
35      m_program(0),
34      m_io_config("io", ENDIANNESS_LITTLE, 8, 8), m_A(0), m_CF(0), m_ZF(0), m_RF(0), m_flags(0),
35      m_program(0), m_io(nullptr),
3636      m_direct(0)
3737{
3838   // set our instruction counter
trunk/src/devices/cpu/m6502/m6502.cpp
r250307r250308
1818   cpu_device(mconfig, M6502, "M6502", tag, owner, clock, "m6502", __FILE__),
1919   sync_w(*this),
2020   program_config("program", ENDIANNESS_LITTLE, 8, 16),
21   sprogram_config("decrypted_opcodes", ENDIANNESS_LITTLE, 8, 16)
21   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),
22   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)
2223{
2324   direct_disabled = false;
2425}
2526
2627m6502_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) :
27   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
28   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
2829   sync_w(*this),
2930   program_config("program", ENDIANNESS_LITTLE, 8, 16),
30   sprogram_config("decrypted_opcodes", ENDIANNESS_LITTLE, 8, 16)
31   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),
32   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)
3133{
3234   direct_disabled = false;
3335}
trunk/src/devices/cpu/m6502/m6509.cpp
r250307r250308
1414const device_type M6509 = &device_creator<m6509_device>;
1515
1616m6509_device::m6509_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
17   m6502_device(mconfig, M6509, "M6509", tag, owner, clock, "m6509", __FILE__)
17   m6502_device(mconfig, M6509, "M6509", tag, owner, clock, "m6509", __FILE__), XPC(0), bank_i(0), bank_y(0)
1818{
1919   program_config.m_addrbus_width = 20;
2020   program_config.m_logaddr_width = 20;
trunk/src/devices/cpu/m6502/m6510.cpp
r250307r250308
1616m6510_device::m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1717   m6502_device(mconfig, M6510, "M6510", tag, owner, clock, "m6510", __FILE__),
1818   read_port(*this),
19   write_port(*this)
19   write_port(*this), dir(0), port(0), drive(0)
2020{
2121   pullup = 0x00;
2222   floating = 0x00;
r250307r250308
2525m6510_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) :
2626   m6502_device(mconfig, type, name, tag, owner, clock, shortname, source),
2727   read_port(*this),
28   write_port(*this)
28   write_port(*this), dir(0), port(0), drive(0)
2929{
3030   pullup = 0x00;
3131   floating = 0x00;
trunk/src/devices/cpu/m6502/m65ce02.cpp
r250307r250308
1414const device_type M65CE02 = &device_creator<m65ce02_device>;
1515
1616m65ce02_device::m65ce02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
17   m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock, "m65ce02", __FILE__)
17   m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock, "m65ce02", __FILE__), TMP3(0), Z(0), B(0)
1818{
1919}
2020
2121m65ce02_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) :
22   m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source)
22   m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source), TMP3(0), Z(0), B(0)
2323{
2424}
2525
trunk/src/devices/cpu/m6502/m740.cpp
r250307r250308
1414const device_type M740 = &device_creator<m740_device>;
1515
1616m740_device::m740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
17   m6502_device(mconfig, M740, "M740", tag, owner, clock, "m740", __FILE__)
17   m6502_device(mconfig, M740, "M740", tag, owner, clock, "m740", __FILE__), m_irq_multiplex(0), m_irq_vector(0)
1818{
1919}
2020
2121m740_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) :
22   m6502_device(mconfig, type, name, tag, owner, clock, shortname, source)
22   m6502_device(mconfig, type, name, tag, owner, clock, shortname, source), m_irq_multiplex(0), m_irq_vector(0)
2323{
2424}
2525
trunk/src/devices/cpu/mb86233/mb86233.cpp
r250307r250308
2626mb86233_cpu_device::mb86233_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2727   : cpu_device(mconfig, MB86233, "MB86233", tag, owner, clock, "mb86233", __FILE__)
2828   , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, -2)
29   , m_data_config("data", ENDIANNESS_LITTLE, 32, 32, 0)
30   , m_fifo_read_cb(*this)
29   , 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),
30   m_fpucontrol(0), m_program(nullptr), m_direct(nullptr), m_icount(0), m_fifo_wait(0)
31     , m_fifo_read_cb(*this)
3132   , m_fifo_read_ok_cb(*this)
3233   , m_fifo_write_cb(*this)
33   , m_tablergn(NULL)
34   , m_Tables(NULL)
34   , m_tablergn(nullptr), m_ARAM(nullptr), m_BRAM(nullptr)
35     , m_Tables(nullptr)
3536{
3637}
3738
trunk/src/devices/cpu/mcs96/i8x9x.cpp
r250307r250308
1313
1414i8x9x_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) :
1515   mcs96_device(mconfig, type, name, tag, owner, clock, 8, "i8x9x", __FILE__),
16   io_config("io", ENDIANNESS_LITTLE, 16, 16, -1)
16   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),
17   ios0(0), ios1(0), ioc0(0), ioc1(0), sbuf(0), sp_stat(0), serial_send_buf(0), serial_send_timer(0)
1718{
1819}
1920
trunk/src/devices/cpu/mcs96/mcs96.cpp
r250307r250308
1414
1515mcs96_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) :
1616   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
17   program_config("program", ENDIANNESS_LITTLE, data_width, 16)
17   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),
18   PC(0), PPC(0), PSW(0), OP1(0), OP2(0), OP3(0), OPI(0), TMP(0), irq_requested(false)
1819{
1920}
2021
trunk/src/devices/cpu/melps4/m58846.cpp
r250307r250308
2525
2626// device definitions
2727m58846_device::m58846_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28   : 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__)
28   : 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)
2929{ }
3030
3131
trunk/src/devices/cpu/mn10200/mn10200.h
r250307r250308
4848   // construction/destruction
4949   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)
5050      : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
51      , m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0, program)
52      , m_read_port0(*this), m_read_port1(*this), m_read_port2(*this), m_read_port3(*this), m_read_port4(*this)
53      , m_write_port0(*this), m_write_port1(*this), m_write_port2(*this), m_write_port3(*this), m_write_port4(*this)
51      , m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0, program), m_program(nullptr)
52        , m_read_port0(*this), m_read_port1(*this), m_read_port2(*this), m_read_port3(*this), m_read_port4(*this)
53      , 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),
54      m_extmdl(0), m_extmdh(0), m_possible_irq(false), m_pplul(0), m_ppluh(0), m_p3md(0), m_p4(0)
5455   { }
5556
5657   // static configuration helpers
trunk/src/devices/cpu/pdp1/tx0.cpp
r250307r250308
4646
4747tx0_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)
4848   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
49   , m_program_config("program", ENDIANNESS_BIG, 32, addr_bits , -2)
50   , m_address_mask(address_mask)
51   , m_ir_mask(ir_mask)
52   , m_cpy_handler(*this)
49   , 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),
50   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)
51     , m_address_mask(address_mask)
52   , m_ir_mask(ir_mask), m_icount(0), m_program(nullptr)
53     , m_cpy_handler(*this)
5354   , m_r1l_handler(*this)
5455   , m_dis_handler(*this)
5556   , m_r3l_handler(*this)
trunk/src/devices/cpu/psx/dma.cpp
r250307r250308
2828const device_type PSX_DMA = &device_creator<psxdma_device>;
2929
3030psxdma_device::psxdma_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, PSX_DMA, "Sony PSX DMA", tag, owner, clock, "psxdma", __FILE__),
31   device_t(mconfig, PSX_DMA, "Sony PSX DMA", tag, owner, clock, "psxdma", __FILE__), m_ram( ), m_ramsize(0), m_dpcp(0), m_dicr(0),
3232   m_irq_handler(*this)
3333{
3434}
trunk/src/devices/cpu/psx/irq.cpp
r250307r250308
3030const device_type PSX_IRQ = &device_creator<psxirq_device>;
3131
3232psxirq_device::psxirq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
33   device_t(mconfig, PSX_IRQ, "Sony PSX IRQ", tag, owner, clock, "psxirq", __FILE__),
33   device_t(mconfig, PSX_IRQ, "Sony PSX IRQ", tag, owner, clock, "psxirq", __FILE__), n_irqdata(0), n_irqmask(0),
3434   m_irq_handler(*this)
3535{
3636}
trunk/src/devices/cpu/psx/mdec.cpp
r250307r250308
3131const device_type PSX_MDEC = &device_creator<psxmdec_device>;
3232
3333psxmdec_device::psxmdec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : device_t(mconfig, PSX_MDEC, "Sony PSX MDEC", tag, owner, clock, "psxmdec", __FILE__)
34   : 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)
3535{
3636}
3737
trunk/src/devices/cpu/psx/sio.cpp
r250307r250308
3939
4040psxsio_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) :
4141   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
42   m_status(SIO_STATUS_TX_EMPTY | SIO_STATUS_TX_RDY),
43   m_rxd(1),
42   m_status(SIO_STATUS_TX_EMPTY | SIO_STATUS_TX_RDY), m_mode(0), m_control(0), m_baud(0),
43   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),
4444   m_irq_handler(*this),
4545   m_sck_handler(*this),
4646   m_txd_handler(*this),
trunk/src/devices/cpu/s2650/s2650.cpp
r250307r250308
3535   : cpu_device(mconfig, S2650, "S2650", tag, owner, clock, "s2650", __FILE__ )
3636   , m_program_config("program", ENDIANNESS_LITTLE, 8, 15)
3737   , m_io_config("io", ENDIANNESS_LITTLE, 8, 9)
38   , m_flag_handler(*this)
39   , m_halt(0)
40   , m_debugger_temp(0)
38   , 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)
39     , m_halt(0), m_ir(0), m_irq_state(0), m_icount(0), m_program(nullptr), m_direct(nullptr), m_io(nullptr)
40     , m_debugger_temp(0)
4141{
4242   memset(m_reg, 0x00, sizeof(m_reg));
4343}
trunk/src/devices/cpu/saturn/saturn.cpp
r250307r250308
5252   , m_unconfig_func(*this)
5353   , m_id_func(*this)
5454   , m_crc_func(*this)
55   , m_rsi_func(*this)
55   , 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),
56   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)
5657{
5758}
5859
trunk/src/devices/cpu/scmp/scmp.cpp
r250307r250308
2323
2424scmp_device::scmp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2525   : cpu_device(mconfig, SCMP, "INS 8050 SC/MP", tag, owner, clock, "ins8050", __FILE__)
26   , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0)
27   , m_flag_out_func(*this)
26   , 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)
27     , m_flag_out_func(*this)
2828   , m_sout_func(*this)
2929   , m_sin_func(*this)
3030   , m_sensea_func(*this)
r250307r250308
3636
3737scmp_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)
3838   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
39   , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0)
40   , m_flag_out_func(*this)
39   , 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)
40     , m_flag_out_func(*this)
4141   , m_sout_func(*this)
4242   , m_sin_func(*this)
4343   , m_sensea_func(*this)
trunk/src/devices/cpu/se3208/se3208.cpp
r250307r250308
4444
4545se3208_device::se3208_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
4646   : cpu_device(mconfig, SE3208, "SE3208", tag, owner, clock, "se3208", __FILE__)
47   , m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0)
47   , 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)
4848{
4949}
5050
trunk/src/devices/cpu/sm8500/sm8500.cpp
r250307r250308
3737   , m_program_config("program", ENDIANNESS_BIG, 8, 16, 0)
3838   , m_dma_func(*this)
3939   , m_timer_func(*this)
40   , m_PC(0)
41   , m_SYS(0)
42   , m_SP(0)
40   , m_PC(0), m_IE0(0), m_IE1(0), m_IR0(0), m_IR1(0)
41     , m_SYS(0), m_CKC(0), m_clock_changed(0)
42     , m_SP(0)
4343   , m_PS0(0)
44   , m_PS1(0)
44   , m_PS1(0), m_IFLAGS(0), m_CheckInterrupts(0), m_halted(0), m_icount(0), m_program(nullptr), m_oldpc(0)
4545{
4646}
4747
trunk/src/devices/cpu/superfx/superfx.cpp
r250307r250308
1010superfx_device::superfx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1111   : cpu_device(mconfig, SUPERFX, "SuperFX", tag, owner, clock, "superfx", __FILE__)
1212   , m_program_config("program", ENDIANNESS_LITTLE, 8, 32, 0)
13   , m_out_irq_func(*this)
13   , 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),
14   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),
15   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)
1416{
1517}
1618
trunk/src/devices/cpu/tms34010/tms34010.cpp
r250307r250308
3636tms340x0_device::tms340x0_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname)
3737   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, __FILE__)
3838   , device_video_interface(mconfig, *this)
39   , m_program_config("program", ENDIANNESS_LITTLE, 16, 32, 3)
40   , m_halt_on_reset(FALSE)
41   , m_pixclock(0)
42   , m_pixperclock(0)
43   , m_output_int_cb(*this)
39   , 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)
40     , m_halt_on_reset(FALSE), m_hblank_stable(0), m_external_host_access(0), m_executing(0), m_program(nullptr), m_direct(nullptr)
41     , m_pixclock(0)
42   , m_pixperclock(0), m_scantimer(nullptr), m_icount(0)
43     , m_output_int_cb(*this)
4444{
4545}
4646
trunk/src/devices/cpu/tms57002/tms57002.cpp
r250307r250308
2222
2323tms57002_device::tms57002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2424   : cpu_device(mconfig, TMS57002, "TMS57002", tag, owner, clock, "tms57002", __FILE__),
25      device_sound_interface(mconfig, *this),
25      device_sound_interface(mconfig, *this), macc(0), st0(0), st1(0), sti(0),
2626      txrd(0),
2727      program_config("program", ENDIANNESS_LITTLE, 32, 8, -2, ADDRESS_MAP_NAME(internal_pgm)),
2828      data_config("data", ENDIANNESS_LITTLE, 8, 20)
trunk/src/devices/cpu/unsp/unsp.cpp
r250307r250308
1818
1919unsp_device::unsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2020   : cpu_device(mconfig, UNSP, "u'nSP", tag, owner, clock, "unsp", __FILE__)
21   , m_program_config("program", ENDIANNESS_BIG, 16, 23, -1)
21   , 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)
2222{
2323}
2424
trunk/src/devices/cpu/upd7725/upd7725.cpp
r250307r250308
2727necdsp_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)
2828   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
2929      m_program_config("program", ENDIANNESS_BIG, 32, abits, -2), // data bus width, address bus width, -2 means DWORD-addressable
30      m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1),   // -1 for WORD-addressable
30      m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1), m_icount(0),   // -1 for WORD-addressable
3131      m_irq(0),
3232      m_program(NULL),
3333      m_data(NULL),
trunk/src/devices/cpu/z8000/z8000.cpp
r250307r250308
3737   : cpu_device(mconfig, Z8002, "Z8002", tag, owner, clock, "z8002", __FILE__)
3838   , m_program_config("program", ENDIANNESS_BIG, 16, 16, 0)
3939   , m_io_config("io", ENDIANNESS_BIG, 8, 16, 0)
40   , m_mo_out(*this)
41   , m_vector_mult(1)
40   , 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)
41     , m_vector_mult(1)
4242{
4343}
4444
r250307r250308
4747   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
4848   , m_program_config("program", ENDIANNESS_BIG, 16, 20, 0)
4949   , m_io_config("io", ENDIANNESS_BIG, 16, 16, 0)
50   , m_mo_out(*this)
50   , 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)
5151   , m_vector_mult(2)
5252{
5353}
trunk/src/devices/machine/40105.cpp
r250307r250308
3737cmos_40105_device::cmos_40105_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3838   : device_t(mconfig, CMOS_40105, "40105", tag, owner, clock, "40105", __FILE__),
3939      m_write_dir(*this),
40      m_write_dor(*this)
40      m_write_dor(*this), m_d(0), m_q(0), m_dir(0), m_dor(0), m_si(0), m_so(0)
4141{
4242}
4343
trunk/src/devices/machine/68230pit.cpp
r250307r250308
3131      device_execute_interface (mconfig, *this)
3232      , m_icount (0)
3333      , m_write_pa (*this)
34      , m_write_h2 (*this)
35{
34      , 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)
35   {
3636}
3737
3838
r250307r250308
4141      device_execute_interface (mconfig, *this)
4242      , m_icount (0)
4343      , m_write_pa (*this)
44      , m_write_h2 (*this)
45{
44      , 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)
45   {
4646}
4747
4848//-------------------------------------------------
trunk/src/devices/machine/68561mpcc.cpp
r250307r250308
2828***************************************************************************/
2929
3030mpcc68561_t::mpcc68561_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock, "mpcc68561", __FILE__),
31   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(),
3232   intrq_cb(*this)
3333{
3434}
trunk/src/devices/machine/7200fifo.cpp
r250307r250308
2121
2222fifo7200_device::fifo7200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2323   : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock, "fifo7200", __FILE__),
24      m_ram_size(0),
24      m_ram_size(0), m_read_ptr(0), m_write_ptr(0), m_ef(0), m_ff(0), m_hf(0),
2525      m_ef_handler(*this),
2626      m_ff_handler(*this),
2727      m_hf_handler(*this)
trunk/src/devices/machine/74123.cpp
r250307r250308
2929//-------------------------------------------------
3030
3131ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
32   : device_t(mconfig, TTL74123, "74123 TTL", tag, owner, clock, "ttl74123", __FILE__),
32   : device_t(mconfig, TTL74123, "74123 TTL", tag, owner, clock, "ttl74123", __FILE__), m_timer(nullptr),
3333      m_connection_type(TTL74123_NOT_GROUNDED_NO_DIODE),
3434      m_res(1.0),
3535      m_cap(1.0),
trunk/src/devices/machine/74181.cpp
r250307r250308
3232   m_b(0),
3333   m_s(0),
3434   m_m(0),
35   m_c(0)
35   m_c(0), m_f(0), m_cn(0), m_g(0), m_p(0), m_equals(0)
3636{
3737}
3838
trunk/src/devices/machine/8530scc.cpp
r250307r250308
2626***************************************************************************/
2727
2828scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
29   device_t(mconfig, SCC8530, "Zilog 8530 SCC (Legacy)", tag, owner, clock, "scc8530l", __FILE__),
29   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(),
3030   intrq_cb(*this)
3131{
3232}
trunk/src/devices/machine/aakart.cpp
r250307r250308
4040//-------------------------------------------------
4141
4242aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   : device_t(mconfig, AAKART, "AAKART", tag, owner, clock, "aakart", __FILE__),
43   : device_t(mconfig, AAKART, "AAKART", tag, owner, clock, "aakart", __FILE__), m_rxtimer(nullptr), m_txtimer(nullptr), m_mousetimer(nullptr), m_keybtimer(nullptr),
4444      m_out_tx_cb(*this),
45      m_out_rx_cb(*this)
45      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)
4646{
4747}
4848
trunk/src/devices/machine/adc0808.cpp
r250307r250308
2929      m_address(0),
3030      m_start(0),
3131      m_eoc(0),
32      m_next_eoc(0),
32      m_next_eoc(0), m_sar(0),
3333      m_cycle(0),
34      m_bit(0)
34      m_bit(0), m_cycle_timer(nullptr)
3535{
3636}
3737
trunk/src/devices/machine/adc1038.cpp
r250307r250308
1616const device_type ADC1038 = &device_creator<adc1038_device>;
1717
1818adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
19   : device_t(mconfig, ADC1038, "ADC1038", tag, owner, clock, "adc1038", __FILE__),
19   : 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),
2020      m_gticlub_hack(0)
2121{
2222}
trunk/src/devices/machine/aicartc.cpp
r250307r250308
3232
3333aicartc_device::aicartc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3434   : device_t(mconfig, AICARTC, "AICA RTC", tag, owner, clock, "aicartc", __FILE__),
35      device_rtc_interface(mconfig, *this)
35      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)
3636{
3737}
3838
trunk/src/devices/machine/amigafdc.cpp
r250307r250308
2020
2121amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
2222   device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock, "amiga_fdc", __FILE__),
23   m_write_index(*this)
23   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)
2424{
2525}
2626
trunk/src/devices/machine/ataflash.cpp
r250307r250308
99const device_type ATA_FLASH_PCCARD = &device_creator<ata_flash_pccard_device>;
1010
1111ata_flash_pccard_device::ata_flash_pccard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
12   ide_hdd_device(mconfig, ATA_FLASH_PCCARD, "ATA Flash PCCARD", tag, owner, clock, "ataflash", __FILE__)
12   ide_hdd_device(mconfig, ATA_FLASH_PCCARD, "ATA Flash PCCARD", tag, owner, clock, "ataflash", __FILE__), m_gnetreadlock(0), m_locked(0)
1313{
1414}
1515
trunk/src/devices/machine/atahle.cpp
r250307r250308
6666   m_pdiagin(0),
6767   m_pdiagout(0),
6868   m_single_device(0),
69   m_resetting(0)
69   m_resetting(0), m_busy_timer(nullptr), m_buffer_empty_timer(nullptr)
7070{
7171}
7272
trunk/src/devices/machine/cdp1852.cpp
r250307r250308
4343   m_read_mode(*this),
4444   m_write_sr(*this),
4545   m_read_data(*this),
46   m_write_data(*this)
46   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)
4747{
4848}
4949
trunk/src/devices/machine/dp8390.cpp
r250307r250308
2121
2222dp8390_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)
2323   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
24      device_network_interface(mconfig, *this, bandwidth),
24      device_network_interface(mconfig, *this, bandwidth), m_type(0),
2525      m_irq_cb(*this),
2626      m_breq_cb(*this),
2727      m_mem_read_cb(*this),
28      m_mem_write_cb(*this)
29      {
28      m_mem_write_cb(*this), m_reset(0), m_cs(false), m_rdma_active(0)
29{
3030}
3131
3232void dp8390_device::device_start() {
trunk/src/devices/machine/ds1204.cpp
r250307r250308
3434   device_nvram_interface(mconfig, *this),
3535   m_rst( 0 ),
3636   m_clk( 0 ),
37   m_dqw( 0 )
37   m_dqw( 0 ), m_dqr(0), m_state(0), m_bit(0)
3838{
3939}
4040
trunk/src/devices/machine/ds1315.cpp
r250307r250308
2828const device_type DS1315 = &device_creator<ds1315_device>;
2929
3030ds1315_device::ds1315_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31            : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__)
32{
31            : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__), m_mode(), m_count(0)
32         {
3333}
3434
3535//-------------------------------------------------
trunk/src/devices/machine/ds2401.cpp
r250307r250308
3030const device_type DS2401 = &device_creator<ds2401_device>;
3131
3232ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
33   : device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__)
33   : 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)
3434{
3535}
3636
trunk/src/devices/machine/ds2404.cpp
r250307r250308
2626
2727ds2404_device::ds2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2828   : device_t(mconfig, DS2404, "DS2404", tag, owner, clock, "ds2404", __FILE__),
29      device_nvram_interface(mconfig, *this),
29      device_nvram_interface(mconfig, *this), m_tick_timer(nullptr), m_ref_year(0), m_ref_month(0), m_ref_day(0),
3030      m_address(0),
3131      m_offset(0),
3232      m_end_offset(0),
trunk/src/devices/machine/e0516.cpp
r250307r250308
4040
4141e0516_device::e0516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
4242   : device_t(mconfig, E0516, "E05-16", tag, owner, clock, "e0516", __FILE__),
43      device_rtc_interface(mconfig, *this)
43      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)
4444{
4545}
4646
trunk/src/devices/machine/e05a30.cpp
r250307r250308
3535   m_write_centronics_select(*this),
3636   m_printhead(0),
3737   m_pf_stepper(0),
38   m_cr_stepper(0)
38   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)
3939{
4040}
4141
trunk/src/devices/machine/i8212.cpp
r250307r250308
3636   m_read_di(*this),
3737   m_write_do(*this),
3838   m_md(I8212_MODE_INPUT),
39   m_stb(0)
39   m_stb(0), m_data(0)
4040{
4141}
4242
trunk/src/devices/machine/i8243.cpp
r250307r250308
2323//-------------------------------------------------
2424
2525i8243_device::i8243_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, I8243, "8243 I/O Expander", tag, owner, clock, "i8243", __FILE__),
26   : 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),
2727      m_readhandler(*this),
2828      m_writehandler(*this)
2929{
trunk/src/devices/machine/i8271.cpp
r250307r250308
66const device_type I8271 = &device_creator<i8271_device>;
77
88i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
9   : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__),
9   : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__), ready_connected(false), mode(0), main_phase(0),
1010   intrq_cb(*this),
1111   drq_cb(*this),
1212   hdl_cb(*this),
13   opt_cb(*this)
13   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),
14   precomp(0), perpmode(0), srate(0), hset(0), icnt(0), hload(0), sector_size(0), cur_rate(0)
1415{
1516   select_connected = true;
1617   external_ready = false;
trunk/src/devices/machine/idehd.cpp
r250307r250308
2626   m_can_identify_device(0),
2727   m_num_cylinders(0),
2828   m_num_sectors(0),
29   m_num_heads(0),
30   m_master_password(NULL),
31   m_user_password(NULL)
29   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),
30   m_master_password(nullptr),
31   m_user_password(nullptr)
3232{
3333}
3434
trunk/src/devices/machine/ins8154.cpp
r250307r250308
4848   m_out_a_cb(*this),
4949   m_in_b_cb(*this),
5050   m_out_b_cb(*this),
51   m_out_irq_cb(*this)
51   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)
5252{
5353}
5454
trunk/src/devices/machine/jvsdev.cpp
r250307r250308
1010}
1111
1212jvs_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)
13   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
13   : device_t(mconfig, type, name, tag, owner, clock, shortname, source), jvs_outputs(0), jvs_address(0), jvs_reset_counter(0)
1414{
1515   jvs_host_tag = 0;
1616   next_device = 0;
trunk/src/devices/machine/jvshost.cpp
r250307r250308
2929}
3030
3131jvs_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)
32   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
32   : device_t(mconfig, type, name, tag, owner, clock, shortname, source), send_size(0), recv_size(0), recv_is_encoded(false)
3333{
3434   first_device = 0;
3535}
trunk/src/devices/machine/k033906.cpp
r250307r250308
2323//-------------------------------------------------
2424
2525k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, K033906, "K033906 PCI bridge", tag, owner, clock, "k033906", __FILE__)
26   : device_t(mconfig, K033906, "K033906 PCI bridge", tag, owner, clock, "k033906", __FILE__), m_reg_set(0), m_voodoo_tag(nullptr), m_voodoo(nullptr)
2727{
2828}
2929
trunk/src/devices/machine/lh5810.cpp
r250307r250308
3434   m_portb_r_cb(*this),
3535   m_portb_w_cb(*this),
3636   m_portc_w_cb(*this),
37   m_out_int_cb(*this)
37   m_out_int_cb(*this), m_irq(0)
3838{
3939}
4040
trunk/src/devices/machine/linflash.cpp
r250307r250308
55linear_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) :
66   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
77   device_memory_interface(mconfig, *this),
8   device_slot_card_interface(mconfig, *this)
8   device_slot_card_interface(mconfig, *this), m_space(nullptr)
99{
1010}
1111
trunk/src/devices/machine/lpc-rtc.cpp
r250307r250308
1515ADDRESS_MAP_END
1616
1717lpc_rtc_device::lpc_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18   : lpc_device(mconfig, LPC_RTC, "LPC RTC", tag, owner, clock, "lpc_rtc", __FILE__)
18   : lpc_device(mconfig, LPC_RTC, "LPC RTC", tag, owner, clock, "lpc_rtc", __FILE__), cur_index(0), cur_extindex(0)
1919{
2020}
2121
trunk/src/devices/machine/m6m80011ap.cpp
r250307r250308
2929
3030m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3131   : device_t(mconfig, M6M80011AP, "M6M80011AP EEPROM", tag, owner, clock, "m6m80011ap", __FILE__),
32      device_nvram_interface(mconfig, *this)
32      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()
3333{
3434}
3535
trunk/src/devices/machine/mb14241.cpp
r250307r250308
1818const device_type MB14241 = &device_creator<mb14241_device>;
1919
2020mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
21   : device_t(mconfig, MB14241, "MB14241 Data Shifter", tag, owner, clock, "mb14241", __FILE__)
21   : device_t(mconfig, MB14241, "MB14241 Data Shifter", tag, owner, clock, "mb14241", __FILE__), m_shift_data(0), m_shift_count(0)
2222{
2323}
2424
trunk/src/devices/machine/mb3773.cpp
r250307r250308
2828//-------------------------------------------------
2929
3030mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
31   : device_t(mconfig, MB3773, "MB3773 Power Supply Monitor", tag, owner, clock, "mb3773", __FILE__)
31   : device_t(mconfig, MB3773, "MB3773 Power Supply Monitor", tag, owner, clock, "mb3773", __FILE__), m_watchdog_timer(nullptr), m_ck(0)
3232{
3333}
3434
trunk/src/devices/machine/mb8795.cpp
r250307r250308
2020
2121mb8795_device::mb8795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
2222   device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock, "mb8795", __FILE__),
23   device_network_interface(mconfig, *this, 10),
23   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),
24   drq_rx(false), irq_tx(false), irq_rx(false), timer_tx(nullptr), timer_rx(nullptr),
2425   irq_tx_cb(*this),
2526   irq_rx_cb(*this),
2627   drq_tx_cb(*this),
trunk/src/devices/machine/mc146818.cpp
r250307r250308
3434   : device_t(mconfig, MC146818, "MC146818 RTC", tag, owner, clock, "mc146818", __FILE__),
3535      device_nvram_interface(mconfig, *this),
3636      m_index(0),
37      m_last_refresh(attotime::zero),
37      m_last_refresh(attotime::zero), m_clock_timer(nullptr), m_periodic_timer(nullptr),
3838      m_write_irq(*this),
3939      m_century_index(-1),
4040      m_epoch(0),
r250307r250308
4949   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
5050      device_nvram_interface(mconfig, *this),
5151      m_index(0),
52      m_last_refresh(attotime::zero),
52      m_last_refresh(attotime::zero), m_clock_timer(nullptr), m_periodic_timer(nullptr),
5353      m_write_irq(*this),
5454      m_century_index(-1),
5555      m_epoch(0),
trunk/src/devices/machine/mc68328.cpp
r250307r250308
3232
3333
3434mc68328_device::mc68328_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35            : device_t(mconfig, MC68328, "MC68328 (DragonBall) Integrated Processor", tag, owner, clock, "mc68328", __FILE__),
35            : device_t(mconfig, MC68328, "MC68328 (DragonBall) Integrated Processor", tag, owner, clock, "mc68328", __FILE__), m_rtc(nullptr), m_pwm(nullptr),
3636            m_out_port_a_cb(*this),
3737            m_out_port_b_cb(*this),
3838            m_out_port_c_cb(*this),
trunk/src/devices/machine/microtch.cpp
r250307r250308
1919
2020microtouch_device::microtouch_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
2121   device_t(mconfig, MICROTOUCH, "Microtouch Touchscreen", tag, owner, clock, "microtouch", __FILE__),
22   device_serial_interface(mconfig, *this),
22   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),
23   m_last_x(0), m_last_y(0),
2324   m_out_stx_func(*this),
2425   m_touch(*this, "TOUCH"),
2526   m_touchx(*this, "TOUCH_X"),
26   m_touchy(*this, "TOUCH_Y")
27   m_touchy(*this, "TOUCH_Y"), m_timer(nullptr), m_output_valid(false), m_output(0)
2728{
2829}
2930
trunk/src/devices/machine/mm74c922.cpp
r250307r250308
4343   m_read_x2(*this),
4444   m_read_x3(*this),
4545   m_read_x4(*this),
46   m_read_x5(*this),
46   m_read_x5(*this), m_cap_osc(0), m_cap_debounce(0),
4747   m_max_y(5), // TODO 4 for 74C922, 5 for 74C923
4848   m_inhibit(0),
4949   m_x(0),
50   m_y(0),
50   m_y(0), m_data(0),
5151   m_da(0),
52   m_next_da(0)
52   m_next_da(0), m_scan_timer(nullptr)
5353{
5454}
5555
trunk/src/devices/machine/mos6551.cpp
r250307r250308
2020   m_rxc_handler(*this),
2121   m_rts_handler(*this),
2222   m_dtr_handler(*this),
23   m_control(0),
23   m_control(0), m_command(0),
2424   m_status(0),
25   m_tdr(0),
25   m_tdr(0), m_rdr(0),
2626   m_irq_state(0),
2727   m_irq(0),
2828   m_txd(0),
r250307r250308
3434   m_cts(1),
3535   m_dsr(1),
3636   m_dcd(1),
37   m_rxd(1),
37   m_rxd(1), m_wordlength(0), m_extrastop(0), m_brk(0), m_echo_mode(0), m_parity(0),
3838   m_rx_state(STATE_START),
39   m_rx_clock(0),
40   m_rx_counter(0),
39   m_rx_clock(0), m_rx_bits(0), m_rx_shift(0), m_rx_parity(0),
40   m_rx_counter(0), m_rx_irq_enable(0),
4141   m_rx_internal_clock(0),
4242   m_tx_state(STATE_START),
4343   m_tx_output(OUTPUT_MARK),
44   m_tx_clock(0),
45   m_tx_counter(0)
44   m_tx_clock(0), m_tx_bits(0), m_tx_shift(0), m_tx_parity(0),
45   m_tx_counter(0), m_tx_enable(0), m_tx_irq_enable(0), m_tx_internal_clock(0)
4646{
4747}
4848
trunk/src/devices/machine/ncr5380n.cpp
r250307r250308
3131ADDRESS_MAP_END
3232
3333ncr5380n_device::ncr5380n_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34      : nscsi_device(mconfig, NCR5380N, "5380 SCSI (new)", tag, owner, clock, "ncr5380", __FILE__),
34      : nscsi_device(mconfig, NCR5380N, "5380 SCSI (new)", tag, owner, clock, "ncr5380", __FILE__), tm(nullptr), status(0), istatus(0), m_mode(0),
35   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),
36   seq(0), tcount(0), mode(0), state(0), irq(false), drq(false),
3537   m_irq_handler(*this),
3638   m_drq_handler(*this)
3739{
trunk/src/devices/machine/ncr5390.cpp
r250307r250308
2222ADDRESS_MAP_END
2323
2424ncr5390_device::ncr5390_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25      : nscsi_device(mconfig, NCR5390, "5390 SCSI", tag, owner, clock, "ncr5390", __FILE__),
25      : 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),
26   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),
2627   m_irq_handler(*this),
2728   m_drq_handler(*this)
2829{
trunk/src/devices/machine/nsc810.cpp
r250307r250308
2323const device_type NSC810 = &device_creator<nsc810_device>;
2424
2525nsc810_device::nsc810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
26   device_t(mconfig, NSC810, "National Semiconductor NSC810", tag, owner, clock, "nsc810", __FILE__),
26   device_t(mconfig, NSC810, "National Semiconductor NSC810", tag, owner, clock, "nsc810", __FILE__), m_portA_latch(0), m_portB_latch(0), m_portC_latch(0),
27   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),
28   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),
2729   m_portA_r(*this),
2830   m_portB_r(*this),
2931   m_portC_r(*this),
trunk/src/devices/machine/nscsi_bus.cpp
r250307r250308
66const device_type NSCSI_CONNECTOR = &device_creator<nscsi_connector>;
77
88nscsi_bus_device::nscsi_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
9   device_t(mconfig, NSCSI_BUS, "NSCSI Bus", tag, owner, clock, "nscsi_bus", __FILE__)
9   device_t(mconfig, NSCSI_BUS, "NSCSI Bus", tag, owner, clock, "nscsi_bus", __FILE__), data(0), ctrl(0)
1010{
1111   devcnt = 0;
1212   memset(dev, 0, sizeof(dev));
trunk/src/devices/machine/nscsi_cb.cpp
r250307r250308
1414      m_write_io(*this),
1515      m_write_cd(*this),
1616      m_write_sel(*this),
17      m_write_bsy(*this)
17      m_write_bsy(*this), m_ctrl(0)
1818{
1919}
2020
trunk/src/devices/machine/nscsi_cd.cpp
r250307r250308
66const device_type NSCSI_CDROM = &device_creator<nscsi_cdrom_device>;
77
88nscsi_cdrom_device::nscsi_cdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
9   nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock, "scsi_cdrom", __FILE__)
9   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)
1010{
1111}
1212
trunk/src/devices/machine/nscsi_hd.cpp
r250307r250308
66const device_type NSCSI_HARDDISK = &device_creator<nscsi_harddisk_device>;
77
88nscsi_harddisk_device::nscsi_harddisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
9   nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock, "scsi_harddisk", __FILE__)
9   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)
1010{
1111}
1212
1313nscsi_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) :
14   nscsi_full_device(mconfig, type, name, tag, owner, clock, shortname, source)
14   nscsi_full_device(mconfig, type, name, tag, owner, clock, shortname, source), harddisk(nullptr), lba(0), cur_lba(0), blocks(0), bytes_per_sector(0)
1515{
1616}
1717
trunk/src/devices/machine/pc_lpt.cpp
r250307r250308
1515pc_lpt_device::pc_lpt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1616   : device_t(mconfig, PC_LPT, "PC-LPT", tag, owner, clock, "pc_lpt", __FILE__),
1717   m_irq(1),
18   m_data(0xff),
18   m_data(0xff), m_control(0),
1919   m_irq_enabled(1),
2020   m_centronics_ack(1),
2121   m_irq_handler(*this),
trunk/src/devices/machine/pla.cpp
r250307r250308
2424      m_outputs(0),
2525      m_terms(0),
2626      m_input_mask(0),
27      m_xor(0)
27      m_xor(0), m_cache_size(0), m_cache2_ptr(0)
2828{
2929}
3030
trunk/src/devices/machine/rf5c296.cpp
r250307r250308
77const device_type RF5C296 = &device_creator<rf5c296_device>;
88
99rf5c296_device::rf5c296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
10   device_t(mconfig, PCCARD_SLOT, "PCCARD SLOT", tag, owner, clock, "pccard", __FILE__)
10   device_t(mconfig, PCCARD_SLOT, "PCCARD SLOT", tag, owner, clock, "pccard", __FILE__), m_rf5c296_reg(0), m_pccard(nullptr), m_pccard_name(nullptr)
1111{
1212}
1313
trunk/src/devices/machine/rtc4543.cpp
r250307r250308
3232rtc4543_device::rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3333   : device_t(mconfig, RTC4543, "R4543 RTC", tag, owner, clock, "rtc4543", __FILE__),
3434      device_rtc_interface(mconfig, *this),
35      data_cb(*this)
35      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)
3636{
3737}
3838
trunk/src/devices/machine/rtc9701.cpp
r250307r250308
3737      device_nvram_interface(mconfig, *this),
3838      m_latch(0),
3939      m_reset_line(CLEAR_LINE),
40      m_clock_line(CLEAR_LINE)
40      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)
4141{
4242}
4343
trunk/src/devices/machine/s3520cf.cpp
r250307r250308
3636//-------------------------------------------------
3737
3838s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39   : device_t(mconfig, S3520CF, "S-3520CF RTC", tag, owner, clock, "s3520cf", __FILE__)
39   : 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()
4040{
4141}
4242
trunk/src/devices/machine/s3c44b0.cpp
r250307r250308
3333const device_type S3C44B0 = &device_creator<s3c44b0_device>;
3434
3535s3c44b0_device::s3c44b0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36            : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock, "s3c44b0", __FILE__),
36            : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock, "s3c44b0", __FILE__), m_cpu(nullptr),
3737               m_port_r_cb(*this),
3838               m_port_w_cb(*this),
3939               m_scl_w_cb(*this),
trunk/src/devices/machine/serflash.cpp
r250307r250308
2424serflash_device::serflash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2525   : device_t(mconfig, SERFLASH, "Serial Flash", tag, owner, clock, "serflash", __FILE__),
2626      device_nvram_interface(mconfig, *this),
27      m_length(0)
27      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),
28   m_flash_col(0), m_flash_page_addr(0), m_flash_page_index(0), m_last_flash_cmd(0), m_flash_addr(0)
2829{
2930}
3031
trunk/src/devices/machine/spchrom.cpp
r250307r250308
2626const device_type SPEECHROM = &device_creator<speechrom_device>;
2727
2828speechrom_device::speechrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
29   : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__),
29   : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__), m_speechrom_data(nullptr), m_speechROMlen(0),
3030   m_speechROMaddr(0),
3131   m_load_pointer(0),
3232   m_ROM_bits_count(0),
trunk/src/devices/machine/tms1024.cpp
r250307r250308
2525//-------------------------------------------------
2626
2727tms1024_device::tms1024_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28   : device_t(mconfig, TMS1024, "TMS1024 I/O Expander", tag, owner, clock, "tms1024", __FILE__),
28   : device_t(mconfig, TMS1024, "TMS1024 I/O Expander", tag, owner, clock, "tms1024", __FILE__), m_h(0), m_s(0), m_std(0),
2929   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)
3030{
3131}
3232
3333tms1024_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)
34   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
34   : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_h(0), m_s(0), m_std(0),
3535   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)
3636{
3737}
trunk/src/devices/machine/upd4701.cpp
r250307r250308
1919const device_type UPD4701 = &device_creator<upd4701_device>;
2020
2121upd4701_device::upd4701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, UPD4701, "uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__)
22   : 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),
23   m_startx(0), m_starty(0), m_x(0), m_y(0), m_switches(0), m_latchswitches(0), m_cf(0)
2324{
2425}
2526
trunk/src/devices/machine/upd4992.cpp
r250307r250308
3535
3636upd4992_device::upd4992_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3737   : device_t(mconfig, UPD4992, "uPD4992 RTC", tag, owner, clock, "upd4992", __FILE__),
38      device_rtc_interface(mconfig, *this)
38      device_rtc_interface(mconfig, *this), m_timer_clock(nullptr)
3939{
4040}
4141
trunk/src/devices/machine/upd7002.cpp
r250307r250308
1919const device_type UPD7002 = &device_creator<upd7002_device>;
2020
2121upd7002_device::upd7002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock, "upd7002", __FILE__)
22   : 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)
2323{
2424}
2525
trunk/src/devices/machine/v3021.cpp
r250307r250308
3434//-------------------------------------------------
3535
3636v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37   : device_t(mconfig, v3021, "V3021 RTC", tag, owner, clock, "v3021", __FILE__)
37   : 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)
3838{
3939}
4040
trunk/src/devices/machine/vrc4373.cpp
r250307r250308
2929ADDRESS_MAP_END
3030
3131vrc4373_device::vrc4373_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
32   : pci_host_device(mconfig, VRC4373, "NEC VRC4373 System Controller", tag, owner, clock, "vrc4373", __FILE__),
32   : pci_host_device(mconfig, VRC4373, "NEC VRC4373 System Controller", tag, owner, clock, "vrc4373", __FILE__), m_cpu_space(nullptr), m_cpu(nullptr), cpu_tag(nullptr),
3333      m_mem_config("memory_space", ENDIANNESS_LITTLE, 32, 32),
34      m_io_config("io_space", ENDIANNESS_LITTLE, 32, 32)
34      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)
3535
3636{
3737}
trunk/src/devices/machine/vt82c496.cpp
r250307r250308
1616
1717
1818vt82c496_device::vt82c496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
19      : device_t(mconfig, VT82C496, "VIA VT82C496G system chipset", tag, owner, clock, "vt82c496", __FILE__)
20{
19      : 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)
20   {
2121}
2222
2323void vt82c496_device::device_start()
trunk/src/devices/machine/ym2148.cpp
r250307r250308
2929   , m_data_out(0)
3030   , m_data_in(0)
3131   , m_control(0)
32   , m_status(0)
33   , m_rxd(1)
32   , m_status(0), m_timer(nullptr)
33     , m_rxd(1)
3434   , m_tx_busy(false)
3535{
3636}
trunk/src/devices/sound/315-5641.cpp
r250307r250308
66const device_type SEGA_315_5641_PCM = &device_creator<sega_315_5641_pcm_device>;
77
88sega_315_5641_pcm_device::sega_315_5641_pcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
9   : upd7759_device(mconfig, SEGA_315_5641_PCM, "315-5641 PCM", tag, owner, clock, "315-5641_pcm", __FILE__)
9   : 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)
1010{
1111}
1212
trunk/src/devices/sound/awacs.cpp
r250307r250308
2626
2727awacs_device::awacs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2828   : device_t(mconfig, AWACS, "AWACS", tag, owner, clock, "awacs", __FILE__),
29      device_sound_interface(mconfig, *this)
29      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)
3030{
3131}
3232
trunk/src/devices/sound/es1373.cpp
r250307r250308
2424
2525es1373_device::es1373_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2626   : pci_device(mconfig, ES1373, "Creative Labs Ensoniq AudioPCI97 ES1373", tag, owner, clock, "es1373", __FILE__),
27      device_sound_interface(mconfig, *this),
28      m_eslog(NULL),
27      device_sound_interface(mconfig, *this), m_stream(nullptr),
28      m_eslog(nullptr), m_tempCount(0), m_timer(nullptr), m_memory_space(nullptr), m_cpu_tag(nullptr), m_cpu(nullptr),
2929      m_irq_num(-1)
3030{
3131}
trunk/src/devices/sound/esqpump.cpp
r250307r250308
1414
1515esq_5505_5510_pump::esq_5505_5510_pump(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1616   : device_t(mconfig, ESQ_5505_5510_PUMP, "ESQ_5505_5510_PUMP", tag, owner, clock, "esq_5505_5510_pump", __FILE__),
17      device_sound_interface(mconfig, *this),
18      m_esp_halted(true)
17      device_sound_interface(mconfig, *this), m_stream(nullptr), m_timer(nullptr), m_otis(nullptr), m_esp(nullptr),
18      m_esp_halted(true), ticks_spent_processing(0), samples_processed(0)
1919{
2020}
2121
trunk/src/devices/sound/i5000.cpp
r250307r250308
2525
2626i5000snd_device::i5000snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2727   : device_t(mconfig, I5000_SND, "I5000", tag, owner, clock, "i5000snd", __FILE__),
28      device_sound_interface(mconfig, *this)
28      device_sound_interface(mconfig, *this), m_stream(nullptr), m_rom_base(nullptr), m_rom_mask(0)
2929{
3030}
3131
trunk/src/devices/sound/ics2115.cpp
r250307r250308
1919
2020ics2115_device::ics2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2121   : device_t(mconfig, ICS2115, "ICS2115", tag, owner, clock, "ics2115", __FILE__),
22      device_sound_interface(mconfig, *this),
22      device_sound_interface(mconfig, *this), m_stream(nullptr),
2323      m_rom(*this, DEVICE_SELF),
24      m_irq_cb(*this)
24      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)
2525{
2626}
2727
trunk/src/devices/sound/k054539.cpp
r250307r250308
1919
2020k054539_device::k054539_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2121   : device_t(mconfig, K054539, "K054539 ADPCM", tag, owner, clock, "k054539", __FILE__),
22      device_sound_interface(mconfig, *this),
22      device_sound_interface(mconfig, *this), flags(0), ram(nullptr), reverb_pos(0), cur_ptr(0), cur_limit(0),
23   cur_zone(nullptr), rom(nullptr), rom_size(0), rom_mask(0), stream(nullptr), m_timer(nullptr), m_timer_state(0),
2324      m_timer_handler(*this),
2425      m_rgnoverride(NULL)
2526{
trunk/src/devices/sound/k056800.cpp
r250307r250308
2121//-------------------------------------------------
2222
2323k056800_device::k056800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24            : device_t(mconfig, K056800, "K056800 MIRAC", tag, owner, clock, "k056800", __FILE__),
24            : device_t(mconfig, K056800, "K056800 MIRAC", tag, owner, clock, "k056800", __FILE__), m_int_pending(false), m_int_enabled(false),
2525   m_int_handler(*this)
2626{
2727}
trunk/src/devices/sound/l7a1045_l6028_dsp_a.h
r250307r250308
66
77struct l7a1045_voice
88{
9   l7a1045_voice() :
10      pos(0),
11      frac(0)
9   l7a1045_voice() : end(0), mode(false),
10                     pos(0),
11      frac(0), l_volume(0), r_volume(0)
1212   {
1313      //memset(regs, 0, sizeof(UINT32)*8);
1414      start = 0;
trunk/src/devices/sound/mas3507d.cpp
r250307r250308
1212
1313mas3507d_device::mas3507d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1414   : device_t(mconfig, MAS3507D, "MAS3507D", tag, owner, clock, "mas3507d", __FILE__),
15      device_sound_interface(mconfig, *this)
15      device_sound_interface(mconfig, *this), i2c_bus_state(), i2c_bus_address(), i2c_scli(false), i2c_sclo(false), i2c_sdai(false), i2c_sdao(false),
16   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)
1617{
1718}
1819
trunk/src/devices/sound/msm5232.cpp
r250307r250308
1515
1616msm5232_device::msm5232_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1717   : device_t(mconfig, MSM5232, "MSM5232", tag, owner, clock, "msm5232", __FILE__),
18      device_sound_interface(mconfig, *this),
18      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),
1919      m_gate_handler_cb(*this)
2020{
2121}
trunk/src/devices/sound/tc8830f.cpp
r250307r250308
2626
2727tc8830f_device::tc8830f_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2828   : device_t(mconfig, TC8830F, "TC8830F", tag, owner, clock, "tc8830f", __FILE__),
29      device_sound_interface(mconfig, *this),
29      device_sound_interface(mconfig, *this), m_stream(nullptr),
3030      m_playing(false),
3131      m_address(0),
3232      m_stop_address(0),
r250307r250308
3737      m_output(0),
3838      m_command(0),
3939      m_cmd_rw(0),
40      m_phrase(0)
40      m_phrase(0), m_mem_base(nullptr), m_mem_mask(0)
4141{
4242}
4343
trunk/src/devices/sound/upd7752.cpp
r250307r250308
3737upd7752_device::upd7752_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3838   : device_t(mconfig, UPD7752, "uPD7752", tag, owner, clock, "upd7752", __FILE__),
3939      device_sound_interface(mconfig, *this),
40      device_memory_interface(mconfig, *this),
41      m_space_config("ram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(upd7752_ram))
40      device_memory_interface(mconfig, *this), m_stream(nullptr),
41      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)
4242{
4343}
4444
trunk/src/devices/sound/vrc6.cpp
r250307r250308
3131
3232vrc6snd_device::vrc6snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3333   : device_t(mconfig, VRC6, "VRC6 sound", tag, owner, clock, "vrc6snd", __FILE__),
34      device_sound_interface(mconfig, *this)
34      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)
3535{
3636}
3737
trunk/src/devices/sound/wave.cpp
r250307r250308
3232
3333wave_device::wave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3434   : device_t(mconfig, WAVE, "Wave", tag, owner, clock, "wave", __FILE__),
35      device_sound_interface(mconfig, *this)
35      device_sound_interface(mconfig, *this), m_cass(nullptr)
3636{
37   m_cassette_tag = 0;
37   m_cassette_tag = nullptr;
3838}
3939
4040//-------------------------------------------------
trunk/src/devices/sound/ymz770.cpp
r250307r250308
3232
3333ymz770_device::ymz770_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
3434   : device_t(mconfig, YMZ770, "Yamaha YMZ770", tag, owner, clock, "ymz770", __FILE__),
35      device_sound_interface(mconfig, *this),
35      device_sound_interface(mconfig, *this), m_stream(nullptr),
3636      m_cur_reg(0),
3737      m_mute(0),
3838      m_doen(0),
3939      m_vlma(0),
4040      m_bsl(0),
41      m_cpl(0)
41      m_cpl(0), m_rom_base(nullptr), m_rom_limit(0)
4242{
4343}
4444
trunk/src/devices/video/315_5313.cpp
r250307r250308
1515const device_type SEGA315_5313 = &device_creator<sega315_5313_device>;
1616
1717sega315_5313_device::sega315_5313_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18   : sega315_5124_device(mconfig, SEGA315_5313, "Sega 315-5313 Megadrive VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5313", __FILE__),
18   : 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),
19   m_render_line(nullptr), m_render_line_raw(nullptr), m_megadriv_scanline_timer(nullptr),
1920   m_sndirqline_callback(*this),
2021   m_lv6irqline_callback(*this),
21   m_lv4irqline_callback(*this),
22   m_dma_delay(0)
22   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),
23   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),
24   m_z80irq_scanline(0), m_total_scanlines(0), m_base_total_scanlines(0), m_framerate(0), m_vdp_pal(0), m_use_cram(0),
25   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),
26   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),
27   m_palette_lookup_shadow(nullptr), m_palette_lookup_highlight(nullptr), m_space68k(nullptr), m_cpu68k(nullptr)
2328{
2429   m_use_alt_timing = 0;
2530   m_palwrite_base = -1;
trunk/src/devices/video/crtc_ega.cpp
r250307r250308
2424      m_res_out_de_cb(*this),
2525      m_res_out_hsync_cb(*this),
2626      m_res_out_vsync_cb(*this),
27      m_res_out_vblank_cb(*this),
28      m_hpixels_per_column(0)
27      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),
28   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),
29   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),
30   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),
31      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),
32   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),
33   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),
34   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)
2935{
3036}
3137
trunk/src/devices/video/ef9340_1.cpp
r250307r250308
2525
2626ef9340_1_device::ef9340_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2727   : device_t(mconfig, EF9340_1, "EF9340+EF9341", tag, owner, clock, "ef9340_1", __FILE__)
28   , device_video_interface(mconfig, *this)
29   //, m_start_vpos(START_Y)
28   , device_video_interface(mconfig, *this), m_line_timer(nullptr)
29//, m_start_vpos(START_Y)
3030   //, m_start_vblank(START_Y + SCREEN_HEIGHT)
3131   //, m_screen_lines(LINES)
3232{
trunk/src/devices/video/epic12.cpp
r250307r250308
1111
1212epic12_device::epic12_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1313   : device_t(mconfig, EPIC12, "EP1C12 Blitter", tag, owner, clock, "epic12", __FILE__),
14      device_video_interface(mconfig, *this)
14      device_video_interface(mconfig, *this), m_ram16(nullptr), m_gfx_size(0), m_bitmaps(nullptr), m_use_ram(nullptr),
15   m_main_ramsize(0), m_main_rammask(0), m_maincpu(nullptr), m_ram16_copy(nullptr), m_work_queue(nullptr)
1516{
1617   m_is_unsafe = 0;
1718   m_delay_scale = 0;
trunk/src/devices/video/fixfreq.cpp
r250307r250308
3535
3636fixedfreq_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)
3737   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
38      device_video_interface(mconfig, *this, false),
38      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),
3939      // default to NTSC "704x480@30i"
4040      m_monitor_clock(13500000),
4141      m_hvisible(704),
r250307r250308
4848      m_vbackporch(525),
4949      m_fieldcount(2),
5050      m_sync_threshold(0.3),
51      m_gain(1.0 / 3.7)
51      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)
5252{
5353}
5454
trunk/src/devices/video/gf4500.cpp
r250307r250308
3636
3737
3838gf4500_device::gf4500_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39            : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock, "gf4500", __FILE__)
40{
39            : 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)
40         {
4141}
4242
4343
trunk/src/devices/video/h63484.cpp
r250307r250308
4343   m_org_dn(0),
4444   m_org_dpd(0),
4545   m_cl0(0),
46   m_cl1(0),
46   m_cl1(0), m_ccmp(0), m_mask(0), m_cpx(0),
4747   m_dcr(0),
4848   m_space_config("videoram", ENDIANNESS_BIG, 16, 20, -1, NULL, *ADDRESS_MAP_NAME(h63484_vram))
4949{
trunk/src/devices/video/huc6202.cpp
r250307r250308
2727      m_vsync_changed_1_cb(*this),
2828      m_hsync_changed_1_cb(*this),
2929      m_read_1_cb(*this),
30      m_write_1_cb(*this)
30      m_write_1_cb(*this), m_window1(0), m_window2(0), m_io_device(0), m_map_index(0), m_map_dirty(0)
3131{
3232}
3333
trunk/src/devices/video/huc6261.cpp
r250307r250308
2727
2828huc6261_device::huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2929   :   device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock, "huc6261", __FILE__),
30      device_video_interface(mconfig, *this)
30      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)
3131{
3232   // Set up UV lookup table
3333   for ( int ur = 0; ur < 256; ur++ )
trunk/src/devices/video/msm6222b.cpp
r250307r250308
2222ROM_END
2323
2424msm6222b_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) :
25   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
25   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)
2626{
2727}
2828
2929msm6222b_device::msm6222b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
30   device_t(mconfig, MSM6222B, "msm6222b-xx", tag, owner, clock, "msm6222b", __FILE__)
30   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)
3131{
3232}
3333
trunk/src/devices/video/scn2674.cpp
r250307r250308
2121   : device_t(mconfig, SCN2674_VIDEO, "Signetics SCN2674 AVDC", tag, owner, clock, "scn2674_device", __FILE__),
2222      device_video_interface(mconfig, *this),
2323      device_memory_interface(mconfig, *this),
24      m_irq_cb(*this),
24      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),
25   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),
26   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),
27   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),
28   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),
29   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),
30   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),
31   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),
32   m_start1change(0), m_irq_state(0), m_scanline_timer(nullptr),
2533      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(scn2674_vram))
2634{
2735}
trunk/src/devices/video/sed1200.cpp
r250307r250308
3232ROM_END
3333
3434sed1200_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) :
35   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
35   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)
3636{
3737}
3838
r250307r250308
8383   if(memregion("cgrom"))
8484      cgrom = memregion("cgrom")->base();
8585   else
86      cgrom = NULL;
86      cgrom = nullptr;
8787
8888   soft_reset();
8989}
trunk/src/devices/video/sed1520.cpp
r250307r250308
2929//-------------------------------------------------
3030
3131sed1520_device::sed1520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
32   device_t(mconfig, SED1520, "SED1520", tag, owner, clock, "sed1520", __FILE__),
33   m_screen_update_func(NULL)
32   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),
33   m_adc(0), m_static_drive(0), m_modify_write(false),
34   m_screen_update_func(nullptr)
3435{
3536}
3637
trunk/src/devices/video/t6a04.cpp
r250307r250308
3737//-------------------------------------------------
3838
3939t6a04_device::t6a04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
40   device_t(mconfig, T6A04, "T6A04", tag, owner, clock, "t6a04", __FILE__),
40   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),
41   m_active_counter(0), m_word_len(0), m_opa1(0), m_opa2(0), m_output_reg(0),
4142   m_height(0),
4243   m_width(0)
4344{


Previous 199869 Revisions Next


© 1997-2024 The MAME Team