diff options
-rw-r--r-- | src/devices/cpu/z80/z80.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/aci_prodigy.cpp | 14 | ||||
-rw-r--r-- | src/mame/drivers/amstrad.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/fidel_vcc.cpp | 14 | ||||
-rw-r--r-- | src/mame/drivers/kc.cpp | 12 | ||||
-rw-r--r-- | src/mame/layout/ck_master.lay | 2 | ||||
-rw-r--r-- | src/mame/layout/saitek_cp2000.lay | 6 |
7 files changed, 20 insertions, 34 deletions
diff --git a/src/devices/cpu/z80/z80.cpp b/src/devices/cpu/z80/z80.cpp index da54afba683..e3575a90af7 100644 --- a/src/devices/cpu/z80/z80.cpp +++ b/src/devices/cpu/z80/z80.cpp @@ -3518,7 +3518,7 @@ void z80_device::execute_run() m_r++; uint8_t opcode = rop(); - // when in HALT state, the fetched opcode is not executed (aka a NOP) + // when in HALT state, the fetched opcode is not dispatched (aka a NOP) if (m_halt) { PC--; diff --git a/src/mame/drivers/aci_prodigy.cpp b/src/mame/drivers/aci_prodigy.cpp index 07031bce59f..e3ad7abf893 100644 --- a/src/mame/drivers/aci_prodigy.cpp +++ b/src/mame/drivers/aci_prodigy.cpp @@ -116,20 +116,14 @@ private: void shift_clock_w(int state); void shift_data_w(int state); - u8 m_select; - u8 m_led_data; - u8 m_shift_data; - u8 m_shift_clock; + u8 m_select = 0; + u8 m_led_data = 0; + u8 m_shift_data = 0; + u8 m_shift_clock = 0; }; void prodigy_state::machine_start() { - // zerofill - m_select = 0; - m_led_data = 0; - m_shift_data = 0; - m_shift_clock = 0; - // register for savestates save_item(NAME(m_select)); save_item(NAME(m_led_data)); diff --git a/src/mame/drivers/amstrad.cpp b/src/mame/drivers/amstrad.cpp index 67f76a86eda..5d2700c011c 100644 --- a/src/mame/drivers/amstrad.cpp +++ b/src/mame/drivers/amstrad.cpp @@ -86,7 +86,7 @@ Some bugs left : - Implement full Asic for CPC+ emulation. Soft scroll is rather dodgy. - The KC Compact should not reuse the gate array functionality. Instead z8536 support should be added. (bug #42) - ******************************************************************************/ +******************************************************************************/ /* Core includes */ #include "emu.h" @@ -1327,5 +1327,5 @@ COMP( 1985, cpc6128sp, cpc464, 0, cpc6128, cpc6128sp, amstrad_state, empty_ COMP( 1990, cpc464p, 0, 0, cpcplus, plus, amstrad_state, empty_init, "Amstrad plc", "Amstrad CPC464+", 0 ) COMP( 1990, cpc6128p, 0, 0, cpcplus, plus, amstrad_state, empty_init, "Amstrad plc", "Amstrad CPC6128+", 0 ) CONS( 1990, gx4000, 0, 0, gx4000, gx4000, amstrad_state, empty_init, "Amstrad plc", "Amstrad GX4000", 0 ) -COMP( 1989, kccomp, cpc464, 0, kccomp, kccomp, amstrad_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC Compact", 0 ) +COMP( 1989, kccomp, cpc464, 0, kccomp, kccomp, amstrad_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC Compact", 0 ) COMP( 1993, al520ex, cpc464, 0, aleste, aleste, amstrad_state, empty_init, "Patisonic", "Aleste 520EX", MACHINE_IMPERFECT_SOUND ) diff --git a/src/mame/drivers/fidel_vcc.cpp b/src/mame/drivers/fidel_vcc.cpp index 3ea064afb4c..495dd5d298a 100644 --- a/src/mame/drivers/fidel_vcc.cpp +++ b/src/mame/drivers/fidel_vcc.cpp @@ -159,20 +159,14 @@ private: u8 ppi_portc_r(); void ppi_portc_w(u8 data); - u8 m_led_select; - u8 m_7seg_data; - u8 m_inp_mux; - u8 m_speech_bank; + u8 m_led_select = 0; + u8 m_7seg_data = 0; + u8 m_inp_mux = 0; + u8 m_speech_bank = 0; }; void vcc_state::machine_start() { - // zerofill - m_led_select = 0; - m_7seg_data = 0; - m_inp_mux = 0; - m_speech_bank = 0; - // register for savestates save_item(NAME(m_led_select)); save_item(NAME(m_7seg_data)); diff --git a/src/mame/drivers/kc.cpp b/src/mame/drivers/kc.cpp index 9161059bc31..fb91275d0f6 100644 --- a/src/mame/drivers/kc.cpp +++ b/src/mame/drivers/kc.cpp @@ -2,7 +2,7 @@ // copyright-holders:Kevin Thacker,Sandro Ronco /****************************************************************************** - kc.c + kc.cpp system driver A big thankyou to Torsten Paul for his great help with this @@ -11,7 +11,7 @@ Kevin Thacker [MESS driver] - ******************************************************************************/ +******************************************************************************/ /* Core includes */ #include "emu.h" @@ -292,7 +292,7 @@ ROM_START(kc85_5) ROM_END // YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS -COMP( 1987, kc85_2, 0, 0, kc85_3, kc85, kc_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "HC900 / KC 85/2", MACHINE_NOT_WORKING) -COMP( 1987, kc85_3, kc85_2, 0, kc85_3, kc85, kc_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC 85/3", MACHINE_NOT_WORKING) -COMP( 1989, kc85_4, kc85_2, 0, kc85_4, kc85, kc85_4_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC 85/4", MACHINE_NOT_WORKING) -COMP( 1989, kc85_5, kc85_2, 0, kc85_5, kc85, kc85_4_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC 85/5", MACHINE_NOT_WORKING) +COMP( 1987, kc85_2, 0, 0, kc85_3, kc85, kc_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "HC900 / KC 85/2", MACHINE_NOT_WORKING) +COMP( 1987, kc85_3, kc85_2, 0, kc85_3, kc85, kc_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC 85/3", MACHINE_NOT_WORKING) +COMP( 1989, kc85_4, kc85_2, 0, kc85_4, kc85, kc85_4_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC 85/4", MACHINE_NOT_WORKING) +COMP( 1989, kc85_5, kc85_2, 0, kc85_5, kc85, kc85_4_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC 85/5", MACHINE_NOT_WORKING) diff --git a/src/mame/layout/ck_master.lay b/src/mame/layout/ck_master.lay index 3058347af0e..7eeb296dade 100644 --- a/src/mame/layout/ck_master.lay +++ b/src/mame/layout/ck_master.lay @@ -366,7 +366,7 @@ license:CC0 <!-- build screen --> <view name="Internal Layout"> - <bounds left="-12" right="106.5" top="-1.5" bottom="87.5" /> + <bounds left="-12.5" right="106.5" top="-1.5" bottom="87.5" /> <group ref="sb_board"><bounds x="4" y="3" width="80" height="80" /></group> <group ref="sb_ui"><bounds x="-11" y="3" width="10" height="80" /></group> diff --git a/src/mame/layout/saitek_cp2000.lay b/src/mame/layout/saitek_cp2000.lay index a68538ce269..6756c1bd191 100644 --- a/src/mame/layout/saitek_cp2000.lay +++ b/src/mame/layout/saitek_cp2000.lay @@ -600,12 +600,10 @@ license:CC0 <!-- build screen --> <view name="Internal Layout"> - <bounds left="61" right="198.25" top="0" bottom="86" /> + <bounds left="49.75" right="186" top="0" bottom="86" /> <group ref="sb_board"><bounds x="102" y="2" width="82" height="82" /></group> - - <!-- putting sb_ui on the right side, since chesscomputer has its own ui on the left --> - <group ref="sb_ui"><bounds x="186" y="2" width="10.25" height="82" /></group> + <group ref="sb_ui"><bounds x="51.25" y="2" width="10.25" height="82" /></group> <!-- left side display --> |