summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2022-03-25 00:15:48 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2022-03-25 00:15:48 +1100
commit971c2c80c89a5859d2d66e735b2678578c6ffd2f (patch)
tree2c686aff20efe0af756a390a1aaf49ade51fabe9
parent399576e1f4fa58aa553921f9753d80ba2981a004 (diff)
init vars for coverity (drivers/m)
-rw-r--r--src/mame/drivers/marywu.cpp2
-rw-r--r--src/mame/drivers/mastboy.cpp6
-rw-r--r--src/mame/drivers/maygayv1.cpp12
-rw-r--r--src/mame/drivers/mazerbla.cpp10
-rw-r--r--src/mame/drivers/mc10.cpp4
-rw-r--r--src/mame/drivers/mc1502.cpp14
-rw-r--r--src/mame/drivers/mechatt.cpp4
-rw-r--r--src/mame/drivers/mediagx.cpp48
-rw-r--r--src/mame/drivers/megaplay.cpp18
-rw-r--r--src/mame/drivers/megazone.cpp6
-rw-r--r--src/mame/drivers/merit.cpp8
-rw-r--r--src/mame/drivers/metlfrzr.cpp4
-rw-r--r--src/mame/drivers/meyc8088.cpp4
-rw-r--r--src/mame/drivers/mfabfz.cpp2
-rw-r--r--src/mame/drivers/mgames.cpp6
-rw-r--r--src/mame/drivers/mgavegas.cpp50
-rw-r--r--src/mame/drivers/mgolf.cpp8
-rw-r--r--src/mame/drivers/midzeus.cpp4
-rw-r--r--src/mame/drivers/mikrosha.cpp2
-rw-r--r--src/mame/drivers/mil4000.cpp16
-rw-r--r--src/mame/drivers/milton6805.cpp6
-rw-r--r--src/mame/drivers/mindset.cpp2
-rw-r--r--src/mame/drivers/minicom.cpp6
-rw-r--r--src/mame/drivers/miniframe.cpp10
-rw-r--r--src/mame/drivers/minitel_2_rpic.cpp12
-rw-r--r--src/mame/drivers/mips.cpp10
-rw-r--r--src/mame/drivers/mirage.cpp2
-rw-r--r--src/mame/drivers/mirax.cpp8
-rw-r--r--src/mame/drivers/mjsenpu.cpp4
-rw-r--r--src/mame/drivers/mk98.cpp18
-rw-r--r--src/mame/drivers/mmm.cpp2
-rw-r--r--src/mame/drivers/mogura.cpp2
-rw-r--r--src/mame/drivers/mole.cpp4
-rw-r--r--src/mame/drivers/molecular.cpp8
-rw-r--r--src/mame/drivers/mpu12wbk.cpp2
-rw-r--r--src/mame/drivers/mpu3.cpp58
-rw-r--r--src/mame/drivers/mpu4dealem.cpp2
-rw-r--r--src/mame/drivers/ms0515.cpp12
-rw-r--r--src/mame/drivers/ms6102.cpp2
-rw-r--r--src/mame/drivers/mstation.cpp8
-rw-r--r--src/mame/drivers/multi8.cpp28
-rw-r--r--src/mame/drivers/mvme147.cpp8
-rw-r--r--src/mame/drivers/mvme162.cpp8
-rw-r--r--src/mame/drivers/zac_2.cpp67
44 files changed, 264 insertions, 253 deletions
diff --git a/src/mame/drivers/marywu.cpp b/src/mame/drivers/marywu.cpp
index 2c9c6209f61..0908ff18d91 100644
--- a/src/mame/drivers/marywu.cpp
+++ b/src/mame/drivers/marywu.cpp
@@ -46,7 +46,7 @@ private:
void io_map(address_map &map);
void program_map(address_map &map);
- uint8_t m_selected_7seg_module;
+ uint8_t m_selected_7seg_module = 0;
virtual void machine_start() override;
output_finder<32> m_digits;
output_finder<30> m_leds;
diff --git a/src/mame/drivers/mastboy.cpp b/src/mame/drivers/mastboy.cpp
index 99dac482c9f..4cbdf335a35 100644
--- a/src/mame/drivers/mastboy.cpp
+++ b/src/mame/drivers/mastboy.cpp
@@ -490,9 +490,9 @@ private:
required_shared_ptr<uint8_t> m_colram;
required_shared_ptr<uint8_t> m_vram;
- int m_irq0_ack;
- int m_m5205_next;
- int m_m5205_part;
+ int m_irq0_ack = 0;
+ int m_m5205_next = 0;
+ int m_m5205_part = 0;
uint8_t vram_r(offs_t offset);
void vram_w(offs_t offset, uint8_t data);
diff --git a/src/mame/drivers/maygayv1.cpp b/src/mame/drivers/maygayv1.cpp
index f7e999f9ae2..a5d562152ba 100644
--- a/src/mame/drivers/maygayv1.cpp
+++ b/src/mame/drivers/maygayv1.cpp
@@ -267,12 +267,12 @@ private:
std::unique_ptr<uint8_t[]> line_buf; // there's actually two
};
- int m_lamp_strobe;
- int m_old_lamp_strobe;
- int m_vsync_latch_preset;
- uint8_t m_p1;
- uint8_t m_p3;
- int m_d68681_val;
+ int m_lamp_strobe = 0;
+ int m_old_lamp_strobe = 0;
+ int m_vsync_latch_preset = 0;
+ uint8_t m_p1 = 0;
+ uint8_t m_p3 = 0;
+ int m_d68681_val = 0;
i82716_t m_i82716;
output_finder<8 * 256> m_lamp;
};
diff --git a/src/mame/drivers/mazerbla.cpp b/src/mame/drivers/mazerbla.cpp
index 6eda5e0cf7c..d1ca163e398 100644
--- a/src/mame/drivers/mazerbla.cpp
+++ b/src/mame/drivers/mazerbla.cpp
@@ -187,8 +187,8 @@ private:
output_finder<3> m_leds;
output_finder<2> m_lamps;
- uint8_t m_port02_status;
- uint32_t m_gfx_rom_bank; /* graphics ROMs are banked */
+ uint8_t m_port02_status = 0;
+ uint32_t m_gfx_rom_bank = 0; /* graphics ROMs are banked */
double m_weights_r[2];
double m_weights_g[3];
@@ -198,11 +198,11 @@ private:
uint8_t m_ls670_0[4];
uint8_t m_ls670_1[4];
- uint8_t m_zpu_int_vector;
+ uint8_t m_zpu_int_vector = 0;
- uint8_t m_bcd_7445;
+ uint8_t m_bcd_7445 = 0;
- uint8_t m_vsb_ls273;
+ uint8_t m_vsb_ls273 = 0;
};
diff --git a/src/mame/drivers/mc10.cpp b/src/mame/drivers/mc10.cpp
index ba4459479e4..2ee93ab7e7a 100644
--- a/src/mame/drivers/mc10.cpp
+++ b/src/mame/drivers/mc10.cpp
@@ -71,8 +71,8 @@ protected:
required_device<ram_device> m_ram;
optional_device<mc10cart_slot_device> m_mc10cart;
- uint8_t m_keyboard_strobe;
- uint8_t m_port2;
+ uint8_t m_keyboard_strobe = 0;
+ uint8_t m_port2 = 0;
uint8_t read_keyboard_strobe(bool single_line);
diff --git a/src/mame/drivers/mc1502.cpp b/src/mame/drivers/mc1502.cpp
index a8461a599f2..9f007bd6d0c 100644
--- a/src/mame/drivers/mc1502.cpp
+++ b/src/mame/drivers/mc1502.cpp
@@ -96,14 +96,14 @@ private:
TIMER_CALLBACK_MEMBER(keyb_signal_callback);
struct {
- uint8_t pulsing;
- uint16_t mask; /* input lines */
- emu_timer *keyb_signal_timer;
+ uint8_t pulsing = 0;
+ uint16_t mask = 0; /* input lines */
+ emu_timer *keyb_signal_timer = nullptr;
} m_kbd;
- uint8_t m_ppi_portb;
- uint8_t m_ppi_portc;
- uint8_t m_spkrdata;
+ uint8_t m_ppi_portb = 0;
+ uint8_t m_ppi_portc = 0;
+ uint8_t m_spkrdata = 0;
DECLARE_WRITE_LINE_MEMBER(mc1502_pit8253_out1_changed);
DECLARE_WRITE_LINE_MEMBER(mc1502_pit8253_out2_changed);
@@ -120,7 +120,7 @@ private:
void mc1502_io(address_map &map);
void mc1502_map(address_map &map);
- int m_pit_out2;
+ int m_pit_out2 = 0;
};
diff --git a/src/mame/drivers/mechatt.cpp b/src/mame/drivers/mechatt.cpp
index d176230b408..0b28e9b1425 100644
--- a/src/mame/drivers/mechatt.cpp
+++ b/src/mame/drivers/mechatt.cpp
@@ -186,8 +186,8 @@ private:
required_ioport_array<4> m_gun_io;
output_finder<2> m_gun_recoil;
- tilemap_t *m_fix_tilemap;
- tilemap_t *m_pf_tilemap[2];
+ tilemap_t *m_fix_tilemap = nullptr;
+ tilemap_t *m_pf_tilemap[2]{};
TILE_GET_INFO_MEMBER(get_tile_info);
template <int Layer, int Gfx> TILE_GET_INFO_MEMBER(get_pf_tile_info);
diff --git a/src/mame/drivers/mediagx.cpp b/src/mame/drivers/mediagx.cpp
index fa5f7b9b831..670f735b71c 100644
--- a/src/mame/drivers/mediagx.cpp
+++ b/src/mame/drivers/mediagx.cpp
@@ -176,41 +176,41 @@ private:
optional_ioport_array<9> m_ports; // but parallel_pointer takes values 0 -> 23
- uint32_t m_disp_ctrl_reg[256/4];
- int m_frame_width;
- int m_frame_height;
+ uint32_t m_disp_ctrl_reg[256/4]{};
+ int m_frame_width = 0;
+ int m_frame_height = 0;
- uint32_t m_memory_ctrl_reg[256/4];
- int m_pal_index;
+ uint32_t m_memory_ctrl_reg[256/4]{};
+ int m_pal_index = 0;
- uint32_t m_biu_ctrl_reg[256/4];
+ uint32_t m_biu_ctrl_reg[256/4]{};
- uint8_t m_mediagx_config_reg_sel;
- uint8_t m_mediagx_config_regs[256];
+ uint8_t m_mediagx_config_reg_sel = 0;
+ uint8_t m_mediagx_config_regs[256]{};
- //uint8_t m_controls_data;
- uint8_t m_parallel_pointer;
- uint8_t m_parallel_latched;
- uint32_t m_parport;
- //int m_control_num;
- //int m_control_num2;
- //int m_control_read;
+ //uint8_t m_controls_data = 0;
+ uint8_t m_parallel_pointer = 0;
+ uint8_t m_parallel_latched = 0;
+ uint32_t m_parport = 0;
+ //int m_control_num = 0;
+ //int m_control_num2 = 0;
+ //int m_control_read = 0;
- uint32_t m_cx5510_regs[256/4];
+ uint32_t m_cx5510_regs[256/4]{};
std::unique_ptr<int16_t[]> m_dacl;
std::unique_ptr<int16_t[]> m_dacr;
- int m_dacl_ptr;
- int m_dacr_ptr;
+ int m_dacl_ptr = 0;
+ int m_dacr_ptr = 0;
- uint8_t m_ad1847_regs[16];
- uint32_t m_ad1847_sample_counter;
- uint32_t m_ad1847_sample_rate;
+ uint8_t m_ad1847_regs[16]{};
+ uint32_t m_ad1847_sample_counter = 0;
+ uint32_t m_ad1847_sample_rate = 0;
#if SPEEDUP_HACKS
- const speedup_entry *m_speedup_table;
- uint32_t m_speedup_hits[12];
- int m_speedup_count;
+ const speedup_entry *m_speedup_table = nullptr;
+ uint32_t m_speedup_hits[12]{};
+ int m_speedup_count = 0;
#endif
using speedup_handler = std::pair<uint32_t (mediagx_state::*)(address_space &), const char *>;
diff --git a/src/mame/drivers/megaplay.cpp b/src/mame/drivers/megaplay.cpp
index 9be8b1eba48..5a843cc2745 100644
--- a/src/mame/drivers/megaplay.cpp
+++ b/src/mame/drivers/megaplay.cpp
@@ -88,17 +88,17 @@ private:
void megaplay_bios_io_map(address_map &map);
void megaplay_bios_map(address_map &map);
- uint32_t m_bios_mode; // determines whether ROM banks or Game data is to read from 0x8000-0xffff
+ uint32_t m_bios_mode = 0; // determines whether ROM banks or Game data is to read from 0x8000-0xffff
- uint32_t m_bios_bank; // ROM bank selection
- uint16_t m_game_banksel; // Game bank selection
- uint32_t m_readpos; // serial bank selection position (9-bit)
- uint32_t m_bios_bank_addr;
+ uint32_t m_bios_bank = 0; // ROM bank selection
+ uint16_t m_game_banksel = 0; // Game bank selection
+ uint32_t m_readpos = 0; // serial bank selection position (9-bit)
+ uint32_t m_bios_bank_addr = 0;
- uint32_t m_bios_width; // determines the way the game info ROM is read
- uint8_t m_bios_6600;
- uint8_t m_bios_6403;
- uint8_t m_bios_6404;
+ uint32_t m_bios_width = 0; // determines the way the game info ROM is read
+ uint8_t m_bios_6600 = 0;
+ uint8_t m_bios_6403 = 0;
+ uint8_t m_bios_6404 = 0;
std::unique_ptr<uint16_t[]> m_ic36_ram;
std::unique_ptr<uint8_t[]> m_ic37_ram;
diff --git a/src/mame/drivers/megazone.cpp b/src/mame/drivers/megazone.cpp
index 8572ea434b4..f762fe13059 100644
--- a/src/mame/drivers/megazone.cpp
+++ b/src/mame/drivers/megazone.cpp
@@ -239,11 +239,11 @@ private:
// video-related
std::unique_ptr<bitmap_ind16> m_tmpbitmap;
- bool m_flipscreen;
+ bool m_flipscreen = 0;
// misc
- uint8_t m_i8039_status;
- bool m_irq_mask;
+ uint8_t m_i8039_status = 0;
+ bool m_irq_mask = false;
// devices
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/merit.cpp b/src/mame/drivers/merit.cpp
index bc4eaf7af9c..af2c8a456c4 100644
--- a/src/mame/drivers/merit.cpp
+++ b/src/mame/drivers/merit.cpp
@@ -163,10 +163,10 @@ private:
required_shared_ptr<uint8_t> m_ram_attr;
required_shared_ptr<uint8_t> m_ram_video;
std::unique_ptr<uint8_t[]> m_ram_palette;
- uint8_t m_lscnblk;
- int m_extra_video_bank_bit;
- int m_question_address;
- int m_decryption_key;
+ uint8_t m_lscnblk = 0;
+ int m_extra_video_bank_bit = 0;
+ int m_question_address = 0;
+ int m_decryption_key = 0;
optional_shared_ptr<uint8_t> m_backup_ram;
required_device<cpu_device> m_maincpu;
required_device_array<i8255_device, 2> m_ppi;
diff --git a/src/mame/drivers/metlfrzr.cpp b/src/mame/drivers/metlfrzr.cpp
index dbfc732e54c..fb0497660ca 100644
--- a/src/mame/drivers/metlfrzr.cpp
+++ b/src/mame/drivers/metlfrzr.cpp
@@ -70,8 +70,8 @@ private:
void output_w(uint8_t data);
TIMER_DEVICE_CALLBACK_MEMBER(scanline);
- uint8_t m_fg_tilebank;
- bool m_rowscroll_enable;
+ uint8_t m_fg_tilebank = 0;
+ bool m_rowscroll_enable = false;
void decrypted_opcodes_map(address_map &map);
void metlfrzr_map(address_map &map);
};
diff --git a/src/mame/drivers/meyc8088.cpp b/src/mame/drivers/meyc8088.cpp
index 24c9cbb5068..47cc00bd80d 100644
--- a/src/mame/drivers/meyc8088.cpp
+++ b/src/mame/drivers/meyc8088.cpp
@@ -62,8 +62,8 @@ private:
output_finder<16> m_lamps;
- uint8_t m_status;
- uint8_t m_common;
+ uint8_t m_status = 0;
+ uint8_t m_common = 0;
void drive_w(uint8_t data);
void video5_flip_w(uint8_t data);
diff --git a/src/mame/drivers/mfabfz.cpp b/src/mame/drivers/mfabfz.cpp
index e6fd3181054..bc66f6591d8 100644
--- a/src/mame/drivers/mfabfz.cpp
+++ b/src/mame/drivers/mfabfz.cpp
@@ -79,7 +79,7 @@ private:
DECLARE_WRITE_LINE_MEMBER(kansas_r);
DECLARE_WRITE_LINE_MEMBER(kansas_w);
u8 m_cass_data[5]{};
- bool m_cassoutbit, m_cassbit, m_cassold;
+ bool m_cassoutbit = false, m_cassbit = false, m_cassold = false;
required_device<cpu_device> m_maincpu;
required_device<cassette_image_device> m_cass;
required_device<i8251_device> m_uart;
diff --git a/src/mame/drivers/mgames.cpp b/src/mame/drivers/mgames.cpp
index 85ad9574e08..dddf610f2a5 100644
--- a/src/mame/drivers/mgames.cpp
+++ b/src/mame/drivers/mgames.cpp
@@ -239,7 +239,7 @@ public:
void mgames(machine_config &config);
private:
- tilemap_t *m_tilemap;
+ tilemap_t *m_tilemap = nullptr;
uint8_t mixport_r();
void outport0_w(uint8_t data);
@@ -259,9 +259,9 @@ private:
virtual void machine_start() override;
- uint8_t m_output[8];
+ uint8_t m_output[8]{};
required_shared_ptr<uint8_t> m_video;
- int m_mixdata;
+ int m_mixdata = 0;
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
diff --git a/src/mame/drivers/mgavegas.cpp b/src/mame/drivers/mgavegas.cpp
index 6fcd9c17ca5..609f1208a30 100644
--- a/src/mame/drivers/mgavegas.cpp
+++ b/src/mame/drivers/mgavegas.cpp
@@ -104,31 +104,31 @@ private:
uint8_t m_anar;
uint8_t m_pl;
uint8_t m_pc;
- uint8_t m_pr;
- uint8_t m_luz_250_rul;
- uint8_t m_luz_100_rul;
- uint8_t m_luz_50_rlul;
- uint8_t m_luz_25_lrul;
- uint8_t m_luz_25_rrul;
- uint8_t m_fl;
- uint8_t m_fc;
- uint8_t m_fr;
- uint8_t m_insert_coin;
- uint8_t m_no_cambio;
- uint8_t m_fuse;
- uint8_t m_falta;
- uint8_t m_anag;
- uint8_t m_cl;
- uint8_t m_cc;
- uint8_t m_cr;
- uint8_t m_premio_s;
- uint8_t m_100;
- uint8_t m_200;
- uint8_t m_300;
- uint8_t m_500;
- uint8_t m_ml;
- uint8_t m_mc;
- uint8_t m_mr;
+ uint8_t m_pr = 0;
+ uint8_t m_luz_250_rul = 0;
+ uint8_t m_luz_100_rul = 0;
+ uint8_t m_luz_50_rlul = 0;
+ uint8_t m_luz_25_lrul = 0;
+ uint8_t m_luz_25_rrul = 0;
+ uint8_t m_fl = 0;
+ uint8_t m_fc = 0;
+ uint8_t m_fr = 0;
+ uint8_t m_insert_coin = 0;
+ uint8_t m_no_cambio = 0;
+ uint8_t m_fuse = 0;
+ uint8_t m_falta = 0;
+ uint8_t m_anag = 0;
+ uint8_t m_cl = 0;
+ uint8_t m_cc = 0;
+ uint8_t m_cr = 0;
+ uint8_t m_premio_s = 0;
+ uint8_t m_100 = 0;
+ uint8_t m_200 = 0;
+ uint8_t m_300 = 0;
+ uint8_t m_500 = 0;
+ uint8_t m_ml = 0;
+ uint8_t m_mc = 0;
+ uint8_t m_mr = 0;
uint8_t start_read();
diff --git a/src/mame/drivers/mgolf.cpp b/src/mame/drivers/mgolf.cpp
index d8a2d4cc6d9..f5923330dd7 100644
--- a/src/mame/drivers/mgolf.cpp
+++ b/src/mame/drivers/mgolf.cpp
@@ -65,14 +65,14 @@ private:
required_shared_ptr<uint8_t> m_video_ram;
/* video-related */
- tilemap_t* m_bg_tilemap;
+ tilemap_t* m_bg_tilemap = nullptr;
/* misc */
- uint8_t m_prev;
- uint8_t m_mask;
+ uint8_t m_prev = 0;
+ uint8_t m_mask = 0;
attotime m_time_pushed;
attotime m_time_released;
- emu_timer *m_interrupt_timer;
+ emu_timer *m_interrupt_timer = nullptr;
};
diff --git a/src/mame/drivers/midzeus.cpp b/src/mame/drivers/midzeus.cpp
index 2256e616d9a..9c951065bf8 100644
--- a/src/mame/drivers/midzeus.cpp
+++ b/src/mame/drivers/midzeus.cpp
@@ -115,8 +115,8 @@ private:
void update_firewire_irq();
uint32_t m_disk_asic[0x10];
- int m_fw_int_enable;
- int m_fw_int;
+ int m_fw_int_enable = 0;
+ int m_fw_int = 0;
required_device<zeus2_device> m_zeus;
required_device<tsb12lv01a_device> m_fw_link;
diff --git a/src/mame/drivers/mikrosha.cpp b/src/mame/drivers/mikrosha.cpp
index b78ce877403..79bd6b78f50 100644
--- a/src/mame/drivers/mikrosha.cpp
+++ b/src/mame/drivers/mikrosha.cpp
@@ -40,7 +40,7 @@ private:
void io_map(address_map &map);
void mem_map(address_map &map);
- uint8_t m_mikrosha_font_page;
+ uint8_t m_mikrosha_font_page = 0;
};
void mikrosha_state::machine_reset()
diff --git a/src/mame/drivers/mil4000.cpp b/src/mame/drivers/mil4000.cpp
index c0335a32821..09a9a8b46b2 100644
--- a/src/mame/drivers/mil4000.cpp
+++ b/src/mame/drivers/mil4000.cpp
@@ -157,14 +157,14 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
output_finder<7> m_lamps;
- tilemap_t *m_sc0_tilemap;
- tilemap_t *m_sc1_tilemap;
- tilemap_t *m_sc2_tilemap;
- tilemap_t *m_sc3_tilemap;
- uint16_t m_vblank;
- uint16_t m_hblank;
- uint8_t m_mcucomm;
- uint8_t m_mcudata;
+ tilemap_t *m_sc0_tilemap = nullptr;
+ tilemap_t *m_sc1_tilemap = nullptr;
+ tilemap_t *m_sc2_tilemap = nullptr;
+ tilemap_t *m_sc3_tilemap = nullptr;
+ uint16_t m_vblank = 0;
+ uint16_t m_hblank = 0;
+ uint8_t m_mcucomm = 0;
+ uint8_t m_mcudata = 0;
uint16_t hvretrace_r();
uint16_t unk_r();
diff --git a/src/mame/drivers/milton6805.cpp b/src/mame/drivers/milton6805.cpp
index 1377e8d85a2..dd973260a41 100644
--- a/src/mame/drivers/milton6805.cpp
+++ b/src/mame/drivers/milton6805.cpp
@@ -56,8 +56,8 @@ private:
required_device<milton_filter_device> m_filter;
required_ioport_array<5> m_inputs;
- u8 m_data;
- u8 m_control;
+ u8 m_data = 0;
+ u8 m_control = 0xff;
void data_w(u8 data);
u8 data_r();
@@ -93,7 +93,7 @@ protected:
virtual void sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) override;
private:
- sound_stream *m_stream;
+ sound_stream *m_stream = nullptr;
output_finder<> m_led_out;
};
diff --git a/src/mame/drivers/mindset.cpp b/src/mame/drivers/mindset.cpp
index 0e62b9a4d1a..b0c2d8e2c9a 100644
--- a/src/mame/drivers/mindset.cpp
+++ b/src/mame/drivers/mindset.cpp
@@ -170,7 +170,7 @@ protected:
virtual void device_reset() override;
private:
- u8 m_p1, m_p2;
+ u8 m_p1 = 0, m_p2 = 0;
required_device<i8042_device> m_soundcpu;
required_device<dac_byte_interface> m_dac;
diff --git a/src/mame/drivers/minicom.cpp b/src/mame/drivers/minicom.cpp
index 1a8850bc20e..050da20b75f 100644
--- a/src/mame/drivers/minicom.cpp
+++ b/src/mame/drivers/minicom.cpp
@@ -65,9 +65,9 @@ private:
uint8_t i87c52_p1_r();
uint8_t i87c52_p2_r();
- uint8_t m_p[4];
- uint16_t m_display_data;
- int m_digit_index;
+ uint8_t m_p[4]{};
+ uint16_t m_display_data = 0;
+ int m_digit_index = 0;
virtual void machine_start() override;
virtual void machine_reset() override;
required_device<i87c52_device> m_maincpu;
diff --git a/src/mame/drivers/miniframe.cpp b/src/mame/drivers/miniframe.cpp
index 18df442e5a4..e9bfa741abc 100644
--- a/src/mame/drivers/miniframe.cpp
+++ b/src/mame/drivers/miniframe.cpp
@@ -63,11 +63,11 @@ private:
void miniframe_mem(address_map &map);
void ramrombank_map(address_map &map);
- uint16_t *m_ramptr;
- uint32_t m_ramsize;
- uint16_t m_diskdmasize;
- uint32_t m_diskdmaptr;
- bool m_fdc_intrq;
+ uint16_t *m_ramptr = nullptr;
+ uint32_t m_ramsize = 0;
+ uint16_t m_diskdmasize = 0;
+ uint32_t m_diskdmaptr = 0;
+ bool m_fdc_intrq = false;
};
diff --git a/src/mame/drivers/minitel_2_rpic.cpp b/src/mame/drivers/minitel_2_rpic.cpp
index 55027ef01bf..1b4301c0c24 100644
--- a/src/mame/drivers/minitel_2_rpic.cpp
+++ b/src/mame/drivers/minitel_2_rpic.cpp
@@ -151,15 +151,15 @@ private:
required_ioport_array<16> m_io_kbd;
virtual void machine_start() override;
- uint8_t port1, port3;
+ uint8_t port1 = 0, port3 = 0;
- int keyboard_para_ser;
- uint8_t keyboard_x_row_reg;
+ int keyboard_para_ser = 0;
+ uint8_t keyboard_x_row_reg = 0;
- uint8_t last_ctrl_reg;
+ uint8_t last_ctrl_reg = 0;
- int lineconnected;
- int tonedetect;
+ int lineconnected = 0;
+ int tonedetect = 0;
};
void minitel_state::machine_start()
diff --git a/src/mame/drivers/mips.cpp b/src/mame/drivers/mips.cpp
index 853e5abc4a9..ec9fb45bfae 100644
--- a/src/mame/drivers/mips.cpp
+++ b/src/mame/drivers/mips.cpp
@@ -341,9 +341,9 @@ private:
optional_shared_ptr<u32> m_vram;
// machine state
- u16 m_mmu[32];
+ u16 m_mmu[32]{};
- u8 m_iop_interface;
+ u8 m_iop_interface = 0;
};
class rx3230_state : public driver_device
@@ -439,9 +439,9 @@ private:
GFX_COLOR_RSV = 0xce, // reserved
};
- u8 m_int_reg;
- int m_int0_state;
- int m_int1_state;
+ u8 m_int_reg = 0;
+ int m_int0_state = 0;
+ int m_int1_state = 0;
};
void rx2030_state::machine_start()
diff --git a/src/mame/drivers/mirage.cpp b/src/mame/drivers/mirage.cpp
index 0fd650ec566..9e4dbf7806a 100644
--- a/src/mame/drivers/mirage.cpp
+++ b/src/mame/drivers/mirage.cpp
@@ -73,7 +73,7 @@ public:
private:
/* misc */
- uint8_t m_mux_data;
+ uint8_t m_mux_data = 0;
/* devices */
required_device<m68000_device> m_maincpu;
diff --git a/src/mame/drivers/mirax.cpp b/src/mame/drivers/mirax.cpp
index e92f71cf7ef..564f89a4200 100644
--- a/src/mame/drivers/mirax.cpp
+++ b/src/mame/drivers/mirax.cpp
@@ -145,10 +145,10 @@ private:
required_shared_ptr<uint8_t> m_spriteram;
required_shared_ptr<uint8_t> m_colorram;
- uint8_t m_nAyCtrl;
- uint8_t m_nmi_mask;
- uint8_t m_flipscreen_x;
- uint8_t m_flipscreen_y;
+ uint8_t m_nAyCtrl = 0;
+ uint8_t m_nmi_mask = 0;
+ uint8_t m_flipscreen_x = 0;
+ uint8_t m_flipscreen_y = 0;
void audio_w(offs_t offset, uint8_t data);
DECLARE_WRITE_LINE_MEMBER(nmi_mask_w);
diff --git a/src/mame/drivers/mjsenpu.cpp b/src/mame/drivers/mjsenpu.cpp
index 5d3954855ca..d699314e5bc 100644
--- a/src/mame/drivers/mjsenpu.cpp
+++ b/src/mame/drivers/mjsenpu.cpp
@@ -80,8 +80,8 @@ private:
uint8_t m_pal[0x200];
uint32_t m_vram0[0x20000 / 4];
uint32_t m_vram1[0x20000 / 4];
- uint8_t m_control;
- uint8_t m_mux;
+ uint8_t m_control = 0;
+ uint8_t m_mux = 0;
uint8_t palette_low_r(offs_t offset);
uint8_t palette_high_r(offs_t offset);
diff --git a/src/mame/drivers/mk98.cpp b/src/mame/drivers/mk98.cpp
index 0d1036abde0..4039ad0db31 100644
--- a/src/mame/drivers/mk98.cpp
+++ b/src/mame/drivers/mk98.cpp
@@ -108,17 +108,17 @@ private:
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
// crtc
- u8 m_crtc[64], m_cursor_start_ras;
- u16 m_disp_start_addr, m_cursor_addr;
- int m_register_address_latch, m_font_upload;
- bool m_graphics_mode;
+ u8 m_crtc[64]{}, m_cursor_start_ras = 0;
+ u16 m_disp_start_addr = 0, m_cursor_addr = 0;
+ int m_register_address_latch = 0, m_font_upload = 0;
+ bool m_graphics_mode = false;
// from pt68k4.cpp
- bool m_kclk;
- uint8_t m_kdata;
- uint8_t m_scancode;
- uint8_t m_kbdflag;
- int m_kbit;
+ bool m_kclk = false;
+ uint8_t m_kdata = 0;
+ uint8_t m_scancode = 0;
+ uint8_t m_kbdflag = 0;
+ int m_kbit = 0;
};
diff --git a/src/mame/drivers/mmm.cpp b/src/mame/drivers/mmm.cpp
index 8a80b1d940c..67b4ff9b14c 100644
--- a/src/mame/drivers/mmm.cpp
+++ b/src/mame/drivers/mmm.cpp
@@ -39,7 +39,7 @@ private:
required_device<z80_device> m_maincpu;
required_device<z80ctc_device> m_ctc;
required_ioport_array<8> m_inputs;
- u8 m_strobe;
+ u8 m_strobe = 0;
};
diff --git a/src/mame/drivers/mogura.cpp b/src/mame/drivers/mogura.cpp
index 73d5ba52939..c43af657c5c 100644
--- a/src/mame/drivers/mogura.cpp
+++ b/src/mame/drivers/mogura.cpp
@@ -36,7 +36,7 @@ private:
required_shared_ptr<uint8_t> m_tileram;
required_device<gfxdecode_device> m_gfxdecode;
- tilemap_t *m_tilemap;
+ tilemap_t *m_tilemap = nullptr;
void mogura_tileram_w(offs_t offset, uint8_t data);
void mogura_dac_w(uint8_t data);
void mogura_gfxram_w(offs_t offset, uint8_t data);
diff --git a/src/mame/drivers/mole.cpp b/src/mame/drivers/mole.cpp
index 03eb0d06172..c3a42fdb32f 100644
--- a/src/mame/drivers/mole.cpp
+++ b/src/mame/drivers/mole.cpp
@@ -74,8 +74,8 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
/* video-related */
- tilemap_t *m_bg_tilemap;
- int m_tile_bank;
+ tilemap_t *m_bg_tilemap = nullptr;
+ int m_tile_bank = 0;
/* memory */
uint16_t m_tileram[0x400];
diff --git a/src/mame/drivers/molecular.cpp b/src/mame/drivers/molecular.cpp
index 367b13a55db..585a4e5dfcc 100644
--- a/src/mame/drivers/molecular.cpp
+++ b/src/mame/drivers/molecular.cpp
@@ -79,8 +79,8 @@ private:
// devices
required_device<cpu_device> m_filecpu;
- uint8_t *m_file_rom;
- uint8_t *m_app_rom;
+ uint8_t *m_file_rom = nullptr;
+ uint8_t *m_app_rom = nullptr;
std::unique_ptr<uint8_t[]> m_file_ram;
std::unique_ptr<uint8_t[]> m_app_ram;
@@ -99,8 +99,8 @@ private:
uint8_t sio_r(offs_t offset);
void sio_w(offs_t offset, uint8_t data);
- uint8_t app_ram_enable;
- uint8_t file_ram_enable;
+ uint8_t app_ram_enable = 0;
+ uint8_t file_ram_enable = 0;
void molecula_palette(palette_device &palette) const;
diff --git a/src/mame/drivers/mpu12wbk.cpp b/src/mame/drivers/mpu12wbk.cpp
index 4ecded19497..ef527a48032 100644
--- a/src/mame/drivers/mpu12wbk.cpp
+++ b/src/mame/drivers/mpu12wbk.cpp
@@ -464,7 +464,7 @@ private:
required_shared_ptr<uint8_t> m_videoram;
required_shared_ptr<uint8_t> m_colorram;
void mpu12wbk_palette(palette_device &palette) const;
- tilemap_t *m_bg_tilemap;
+ tilemap_t *m_bg_tilemap = nullptr;
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<ticket_dispenser_device> m_hopper;
diff --git a/src/mame/drivers/mpu3.cpp b/src/mame/drivers/mpu3.cpp
index 79b301e6b08..2fb62b71fab 100644
--- a/src/mame/drivers/mpu3.cpp
+++ b/src/mame/drivers/mpu3.cpp
@@ -239,35 +239,35 @@ private:
virtual void machine_reset() override;
void mpu3_basemap(address_map &map);
- int m_triac_ic3;
- int m_triac_ic4;
- int m_triac_ic5;
- int m_ic3_data;
- int m_IC11G1;
- int m_IC11G2A;
- int m_IC11G2B;
- int m_IC11GC;
- int m_IC11GB;
- int m_IC11GA;
-
- int m_ic10_output;
- int m_ic11_active;
- int m_disp_func;
-
- int m_ic4_input_a;
- int m_aux1_input;
- int m_aux2_input;
- int m_input_strobe; /* IC11 74LS138 A = CA2 IC3, B = CA2 IC4, C = CA2 IC5 */
- uint8_t m_lamp_strobe;
- uint8_t m_led_strobe;
- int m_signal_50hz;
-
- const mpu3_chr_table* m_current_chr_table;
- int m_prot_col;
-
- int m_optic_pattern;
-
- emu_timer *m_ic21_timer;
+ int m_triac_ic3 = 0;
+ int m_triac_ic4 = 0;
+ int m_triac_ic5 = 0;
+ int m_ic3_data = 0;
+ int m_IC11G1 = 0;
+ int m_IC11G2A = 0;
+ int m_IC11G2B = 0;
+ int m_IC11GC = 0;
+ int m_IC11GB = 0;
+ int m_IC11GA = 0;
+
+ int m_ic10_output = 0;
+ int m_ic11_active = 0;
+ int m_disp_func = 0;
+
+ int m_ic4_input_a = 0;
+ int m_aux1_input = 0;
+ int m_aux2_input = 0;
+ int m_input_strobe = 0; /* IC11 74LS138 A = CA2 IC3, B = CA2 IC4, C = CA2 IC5 */
+ uint8_t m_lamp_strobe = 0;
+ uint8_t m_led_strobe = 0;
+ int m_signal_50hz = 0;
+
+ const mpu3_chr_table* m_current_chr_table = nullptr;
+ int m_prot_col = 0;
+
+ int m_optic_pattern = 0;
+
+ emu_timer *m_ic21_timer = nullptr;
required_device<cpu_device> m_maincpu;
required_shared_ptr<uint8_t> m_nvram;
diff --git a/src/mame/drivers/mpu4dealem.cpp b/src/mame/drivers/mpu4dealem.cpp
index 7edc140c156..dc00839cdc8 100644
--- a/src/mame/drivers/mpu4dealem.cpp
+++ b/src/mame/drivers/mpu4dealem.cpp
@@ -45,7 +45,7 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
void dealem_memmap(address_map &map);
TILE_GET_INFO_MEMBER(tile_info);
- tilemap_t *m_tilemap;
+ tilemap_t *m_tilemap = nullptr;
};
diff --git a/src/mame/drivers/ms0515.cpp b/src/mame/drivers/ms0515.cpp
index 8bb0c34c5ba..3c7ccc25ef8 100644
--- a/src/mame/drivers/ms0515.cpp
+++ b/src/mame/drivers/ms0515.cpp
@@ -134,12 +134,12 @@ private:
output_finder<> m_led16;
output_finder<> m_led17;
- uint8_t *m_video_ram;
- uint8_t m_sysrega, m_sysregc;
- uint16_t m_bankreg, m_haltreg;
- uint16_t m_irqs;
- int m_blink;
- floppy_image_device *m_floppy;
+ uint8_t *m_video_ram = nullptr;
+ uint8_t m_sysrega = 0, m_sysregc = 0;
+ uint16_t m_bankreg = 0, m_haltreg = 0;
+ uint16_t m_irqs = 0;
+ int m_blink = 0;
+ floppy_image_device *m_floppy = nullptr;
};
void ms0515_state::ms0515_mem(address_map &map)
diff --git a/src/mame/drivers/ms6102.cpp b/src/mame/drivers/ms6102.cpp
index a9dc17d9a51..72168560a13 100644
--- a/src/mame/drivers/ms6102.cpp
+++ b/src/mame/drivers/ms6102.cpp
@@ -104,7 +104,7 @@ private:
void crtc_w(offs_t offset, u8 data);
u8 misc_status_r();
- u16 m_dmaaddr;
+ u16 m_dmaaddr = 0;
void kbd_uart_clock_w(u8 data);
diff --git a/src/mame/drivers/mstation.cpp b/src/mame/drivers/mstation.cpp
index c96c359ca65..451cb0517fd 100644
--- a/src/mame/drivers/mstation.cpp
+++ b/src/mame/drivers/mstation.cpp
@@ -68,10 +68,10 @@ private:
uint8_t m_bank1[2];
uint8_t m_bank2[2];
std::unique_ptr<uint8_t[]> m_vram;
- uint8_t m_screen_column;
- uint8_t m_port2;
- uint8_t m_irq;
- uint16_t m_kb_matrix;
+ uint8_t m_screen_column = 0;
+ uint8_t m_port2 = 0;
+ uint8_t m_irq = 0;
+ uint16_t m_kb_matrix = 0;
uint8_t modem_r();
void modem_w(uint8_t data);
diff --git a/src/mame/drivers/multi8.cpp b/src/mame/drivers/multi8.cpp
index 1db7c5ea2fe..8386c98fce1 100644
--- a/src/mame/drivers/multi8.cpp
+++ b/src/mame/drivers/multi8.cpp
@@ -75,20 +75,20 @@ private:
void io_map(address_map &map);
void mem_map(address_map &map);
- uint8_t *m_p_vram;
- uint8_t *m_p_wram;
- uint8_t *m_p_kanji;
- uint8_t m_mcu_init;
- uint8_t m_keyb_press;
- uint8_t m_keyb_press_flag;
- uint8_t m_shift_press_flag;
- uint8_t m_display_reg;
- uint8_t m_vram_bank;
- uint8_t m_pen_clut[8];
- uint8_t m_bw_mode;
- uint16_t m_knj_addr;
- u8 m_cass_data[4];
- bool m_cassbit, m_cassold;
+ uint8_t *m_p_vram = nullptr;
+ uint8_t *m_p_wram = nullptr;
+ uint8_t *m_p_kanji = nullptr;
+ uint8_t m_mcu_init = 0;
+ uint8_t m_keyb_press = 0;
+ uint8_t m_keyb_press_flag = 0;
+ uint8_t m_shift_press_flag = 0;
+ uint8_t m_display_reg = 0;
+ uint8_t m_vram_bank = 0;
+ uint8_t m_pen_clut[8]{};
+ uint8_t m_bw_mode = 0;
+ uint16_t m_knj_addr = 0;
+ u8 m_cass_data[4]{};
+ bool m_cassbit = 0, m_cassold = 0;
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void video_start() override;
diff --git a/src/mame/drivers/mvme147.cpp b/src/mame/drivers/mvme147.cpp
index 741ba1106b2..f27ba4ed6b7 100644
--- a/src/mame/drivers/mvme147.cpp
+++ b/src/mame/drivers/mvme147.cpp
@@ -225,14 +225,14 @@ private:
required_device<scc85c30_device> m_sccterm2;
// Pointer to System ROMs needed by bootvect_r and masking RAM buffer for post reset accesses
- uint32_t *m_sysrom;
- uint32_t m_sysram[2];
+ uint32_t *m_sysrom = nullptr;
+ uint32_t m_sysram[2]{};
// PCC registers
- uint8_t m_genpurp_stat;
+ uint8_t m_genpurp_stat = 0;
// VME chip registers
- uint8_t m_vc_cntl_conf;
+ uint8_t m_vc_cntl_conf = 0;
};
void mvme147_state::mvme147_mem(address_map &map)
diff --git a/src/mame/drivers/mvme162.cpp b/src/mame/drivers/mvme162.cpp
index 4f770d9bb95..1df311c877b 100644
--- a/src/mame/drivers/mvme162.cpp
+++ b/src/mame/drivers/mvme162.cpp
@@ -217,14 +217,14 @@ private:
//required_device<scc85230_device> m_sccterm2;
// Pointer to System ROMs needed by bootvect_r and masking RAM buffer for post reset accesses
- uint32_t *m_sysrom;
- uint32_t m_sysram[2];
+ uint32_t *m_sysrom = nullptr;
+ uint32_t m_sysram[2]{};
// PCC registers
- uint8_t m_genpurp_stat;
+ uint8_t m_genpurp_stat = 0;
// VME chip registers
- uint8_t m_vc_cntl_conf;
+ uint8_t m_vc_cntl_conf = 0;
};
void mvme162_state::mvme162_mem(address_map &map)
diff --git a/src/mame/drivers/zac_2.cpp b/src/mame/drivers/zac_2.cpp
index 9ec3df6676c..fe1600c4f09 100644
--- a/src/mame/drivers/zac_2.cpp
+++ b/src/mame/drivers/zac_2.cpp
@@ -1186,48 +1186,59 @@ ROM_END
} // anonymous namespace
-GAME(1986, bbeltzac, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1986, bbeltzaci, bbeltzac, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria, Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1986, bbeltzacg, bbeltzac, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria, German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1986, bbeltzacf, bbeltzac, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria, French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1985, clown, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Clown", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+// 1B1170 sound (IMDB), 1B1370 (schematics)
+GAME(1982, socrking, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1982, socrkinga, socrking, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings (alternate set)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1982, socrkingi, socrking, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1982, socrkingg, socrking, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, pinchamp, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pinball Champ", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, pinchampg, pinchamp, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pinball Champ (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, pinchampi, pinchamp, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pinball Champ (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, pinchamp7, pinchamp, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Pinball Champ (7 digits)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, pinchamp7g, pinchamp, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Pinball Champ (7 digits German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, pinchamp7i, pinchamp, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Pinball Champ (7 digits Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+
+// 1B11136 or 1B13136
+GAME(1983, tmachzac, 0, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Time Machine (Zaccaria)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, tmachzacg, tmachzac, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Time Machine (Zaccaria, German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, tmachzacf, tmachzac, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Time Machine (Zaccaria, French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, farfalla, 0, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Farfalla", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, farfallai, farfalla, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Farfalla (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1983, farfallag, farfalla, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Farfalla (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, dvlrider, 0, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Devil Riders", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, dvlrideri, dvlrider, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Devil Riders (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, dvlriderg, dvlrider, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Devil Riders (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, dvlriderf, dvlrider, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Devil Riders (French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, farfalla, 0, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Farfalla", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, farfallai, farfalla, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Farfalla (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, farfallag, farfalla, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Farfalla (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, mcastle, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Magic Castle", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, mcastlei, mcastle, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Magic Castle (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, mcastleg, mcastle, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Magic Castle (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1984, mcastlef, mcastle, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Magic Castle (French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1986, mexico, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Mexico 86 (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1987, nstrphnx, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "New Star's Phoenix (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1987, nstrphnxf, nstrphnx, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "New Star's Phoenix (French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, pinchamp, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pinball Champ", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, pinchampg, pinchamp, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pinball Champ (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, pinchampi, pinchamp, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pinball Champ (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, pinchamp7, pinchamp, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Pinball Champ (7 digits)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, pinchamp7g, pinchamp, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Pinball Champ (7 digits German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, pinchamp7i, pinchamp, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Pinball Champ (7 digits Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1985, poolcham, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pool Champion", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1985, poolchami, poolcham, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pool Champion (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1985, robot, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Robot (Zaccaria)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1985, roboti, robot, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Robot (Zaccaria, Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1985, robotg, robot, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Robot (Zaccaria, German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1985, robotf, robot, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Robot (Zaccaria, French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1987, scram_tp, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Tecnoplay", "Scramble (Pinball)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1982, socrking, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1982, socrkinga, socrking, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings (alternate set)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1982, socrkingi, socrking, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1982, socrkingg, socrking, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Soccer Kings (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+
+// 1B11178
+GAME(1985, clown, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Clown", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1985, poolcham, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pool Champion", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1985, poolchami, poolcham, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Pool Champion (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1986, bbeltzac, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1986, bbeltzaci, bbeltzac, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria, Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1986, bbeltzacg, bbeltzac, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria, German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1986, bbeltzacf, bbeltzac, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Black Belt (Zaccaria, French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1986, mexico, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Mexico 86 (German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1986, zankor, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Zankor (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1987, spookyp, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Spooky", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1987, spookyi, spookyp, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Spooky (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1987, strsphnx, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Star's Phoenix (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
GAME(1987, strsphnxf, strsphnx, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Star's Phoenix (French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+
+// 1B11183
+GAME(1987, nstrphnx, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "New Star's Phoenix (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+GAME(1987, nstrphnxf, nstrphnx, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "New Star's Phoenix (French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+
+// unknown
GAME(1987, thndrman, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Apple Time", "Thunder Man", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, tmachzac, 0, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Time Machine (Zaccaria)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, tmachzacg, tmachzac, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Time Machine (Zaccaria, German speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1983, tmachzacf, tmachzac, zac_2, zac_2, zac_2_state, init_1, ROT0, "Zaccaria", "Time Machine (Zaccaria, French speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
-GAME(1986, zankor, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Zaccaria", "Zankor (Italian speech)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )
+
+// Technoplay sound card
+GAME(1987, scram_tp, 0, zac_2, zac_2, zac_2_state, empty_init, ROT0, "Tecnoplay", "Scramble (Pinball)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE )