From 63a6b19c4ad25bba0a530c13ed668fbd15d68d4c Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 27 Apr 2020 18:17:35 +1000 Subject: [PATCH 1/7] whitespace cleanup (nw) --- scripts/src/tools.lua | 28 ++++++++++++++-------------- src/mame/nl.lst | 5 ----- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index a31abad29e9..6bad51a6dc9 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -459,7 +459,7 @@ links { includedirs { MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/netlist", + MAME_DIR .. "src/lib/netlist", } defines { @@ -471,13 +471,13 @@ files { } configuration { "mingw*" } - linkoptions{ - "-municode", - } + linkoptions{ + "-municode", + } configuration { "vs*" } - flags { - "Unicode", - } + flags { + "Unicode", + } configuration { "mingw*" or "vs*" } targetextension ".exe" @@ -508,7 +508,7 @@ links { includedirs { MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/netlist", + MAME_DIR .. "src/lib/netlist", } files { @@ -516,13 +516,13 @@ files { } configuration { "mingw*" } - linkoptions{ - "-municode", - } + linkoptions{ + "-municode", + } configuration { "vs*" } - flags { - "Unicode", - } + flags { + "Unicode", + } configuration { "mingw*" or "vs*" } targetextension ".exe" diff --git a/src/mame/nl.lst b/src/mame/nl.lst index a22c4e484ab..356d7eeb751 100644 --- a/src/mame/nl.lst +++ b/src/mame/nl.lst @@ -557,8 +557,3 @@ zzblock // (c) 1979 Taito @source:usbilliards.cpp sharkusb // (c) 1975 US Billiards - - - - - From d821fc6752f08b4fe58b71075c5cbc241065d83c Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sun, 26 Apr 2020 12:55:21 +1000 Subject: [PATCH 2/7] (nw) battles: fixed crash at start. Sounds are missing though, to be investigated. --- src/mame/machine/xevious.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/machine/xevious.cpp b/src/mame/machine/xevious.cpp index bed5fd35111..9fd3a52e510 100644 --- a/src/mame/machine/xevious.cpp +++ b/src/mame/machine/xevious.cpp @@ -155,10 +155,10 @@ READ8_MEMBER( battles_state::input_port_r ) switch ( offset ) { default: - case 0: return ~bitswap<8>(ioport("IN0H")->read(),7,6,5,4,2,3,1,0); - case 1: return ~ioport("IN1L")->read(); - case 2: return ~ioport("IN1H")->read(); - case 3: return ~ioport("IN0L")->read(); + case 0: return ~bitswap<8>(ioport("IN1")->read(),2,3,1,0,6,7,5,4); + case 1: return ~ioport("IN0")->read() & 15; + case 2: return ~ioport("IN0")->read() >> 4; + case 3: return ~ioport("IN1")->read() & 15; } } From 048784da5e68e254722b753a0be8871476697067 Mon Sep 17 00:00:00 2001 From: smf- Date: Sun, 26 Apr 2020 15:40:26 +0100 Subject: [PATCH 3/7] fix warning with vs2019_clang, from_ticks() takes whole numbers. (nw) .\..\..\..\src\mame\machine\namco06.cpp(211,44): error : implicit conversion from 'double' to 'osd::u64' (aka 'unsigned long long') changes value from 0.5 to 0 [-Werror,-Wliteral-conversion] 91>..\..\..\..\..\src\mame\machine\namco06.cpp(211,44): error : m_nmi_timer->adjust(attotime::from_ticks(.5, clock()), 0, attotime::from_hz(clock() / divisor) / 2); 91>..\..\..\..\..\src\mame\machine\namco06.cpp(211,44): error : ~~~~~~~~ ^~ --- src/mame/machine/namco06.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mame/machine/namco06.cpp b/src/mame/machine/namco06.cpp index fe3eb02c7a2..2ed9d3aea29 100644 --- a/src/mame/machine/namco06.cpp +++ b/src/mame/machine/namco06.cpp @@ -207,8 +207,7 @@ void namco_06xx_device::ctrl_w(uint8_t data) uint8_t num_shifts = (m_control & 0xe0) >> 5; uint8_t divisor = 1 << num_shifts; // The next change happens on the next clock falling edge. - // Approximate this by waiting half a clock. - m_nmi_timer->adjust(attotime::from_ticks(.5, clock()), 0, attotime::from_hz(clock() / divisor) / 2); + m_nmi_timer->adjust(attotime::from_ticks(0, clock()), 0, attotime::from_hz(clock() / divisor) / 2); } } From 12aaef7efdeeb5024b32735a026aa320710e9d3b Mon Sep 17 00:00:00 2001 From: hap Date: Sun, 26 Apr 2020 18:42:18 +0200 Subject: [PATCH 4/7] companyname correction (nw) --- src/mame/drivers/amstrad.cpp | 2 +- src/mame/drivers/chessmst.cpp | 20 ++++++----- src/mame/drivers/kc.cpp | 10 +++--- src/mame/drivers/lc80.cpp | 8 ++--- src/mame/drivers/sc2.cpp | 14 ++++---- src/mame/layout/chessmst.lay | 66 ++++++++++++++++++++++------------- 6 files changed, 71 insertions(+), 49 deletions(-) diff --git a/src/mame/drivers/amstrad.cpp b/src/mame/drivers/amstrad.cpp index 349e2a50b81..67f76a86eda 100644 --- a/src/mame/drivers/amstrad.cpp +++ b/src/mame/drivers/amstrad.cpp @@ -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", "KC Compact", 0 ) +COMP( 1989, kccomp, cpc464, 0, kccomp, kccomp, amstrad_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "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/chessmst.cpp b/src/mame/drivers/chessmst.cpp index 01078062789..1cd0e29c19e 100644 --- a/src/mame/drivers/chessmst.cpp +++ b/src/mame/drivers/chessmst.cpp @@ -2,10 +2,12 @@ // copyright-holders:Sandro Ronco /*************************************************************************** - Chess-Master +Chess-Master (G-5003-500) (10*U505 roms) +Chess-Master (G-5003-501) (2 roms set) +Chess-Master Diamond (G-5004-500) - TODO: - - figure out why chessmsta won't work, for starters it assume z80 carry flag is set at poweron? +TODO: +- figure out why chessmsta won't work, u2616 is probably a bad dump or misplaced ****************************************************************************/ @@ -398,8 +400,8 @@ ROM_END ROM_START( chessmsta ) ROM_REGION( 0x2800, "maincpu", ROMREGION_ERASEFF ) - ROM_LOAD( "2764.bin", 0x0000, 0x2000, CRC(6be28876) SHA1(fd7d77b471e7792aef3b2b3f7ff1de4cdafc94c9) ) - ROM_LOAD( "u2616bm108.bin", 0x2000, 0x0800, CRC(6e69ace3) SHA1(e099b6b6cc505092f64b8d51ab9c70aa64f58f70) ) + ROM_LOAD( "2764.bin", 0x0000, 0x2000, CRC(6be28876) SHA1(fd7d77b471e7792aef3b2b3f7ff1de4cdafc94c9) ) + ROM_LOAD( "u2616bm108.bin", 0x2000, 0x0800, BAD_DUMP CRC(6e69ace3) SHA1(e099b6b6cc505092f64b8d51ab9c70aa64f58f70) ) ROM_END ROM_START( chessmstdm ) @@ -410,7 +412,7 @@ ROM_END /* Driver */ -// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS -COMP( 1984, chessmst, 0, 0, chessmst, chessmst, chessmst_state, empty_init, "VEB Mikroelektronik Erfurt", "Chess-Master (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) -COMP( 1984, chessmsta, chessmst, 0, chessmsta, chessmst, chessmst_state, empty_init, "VEB Mikroelektronik Erfurt", "Chess-Master (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING | MACHINE_CLICKABLE_ARTWORK ) -COMP( 1987, chessmstdm, 0, 0, chessmstdm, chessmstdm, chessmst_state, empty_init, "VEB Mikroelektronik Erfurt", "Chess-Master Diamond", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) +// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS +COMP( 1984, chessmst, 0, 0, chessmst, chessmst, chessmst_state, empty_init, "VEB Mikroelektronik \"Karl Marx\" Erfurt", "Chess-Master (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) +COMP( 1984, chessmsta, chessmst, 0, chessmsta, chessmst, chessmst_state, empty_init, "VEB Mikroelektronik \"Karl Marx\" Erfurt", "Chess-Master (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING | MACHINE_CLICKABLE_ARTWORK ) +COMP( 1987, chessmstdm, 0, 0, chessmstdm, chessmstdm, chessmst_state, empty_init, "VEB Mikroelektronik \"Karl Marx\" Erfurt", "Chess-Master Diamond", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) diff --git a/src/mame/drivers/kc.cpp b/src/mame/drivers/kc.cpp index cdb0069591f..9161059bc31 100644 --- a/src/mame/drivers/kc.cpp +++ b/src/mame/drivers/kc.cpp @@ -291,8 +291,8 @@ ROM_START(kc85_5) ROMX_LOAD("caos43e.855", 0x2000, 0x2000, CRC(b66fc6c3) SHA1(521ac2fbded4148220f8af2d5a5ab99634364079), ROM_BIOS(1)) ROM_END -// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME wFLAGS -COMP( 1987, kc85_2, 0, 0, kc85_3, kc85, kc_state, empty_init, "VEB Mikroelektronik", "HC900 / KC 85/2", MACHINE_NOT_WORKING) -COMP( 1987, kc85_3, kc85_2, 0, kc85_3, kc85, kc_state, empty_init, "VEB Mikroelektronik", "KC 85/3", MACHINE_NOT_WORKING) -COMP( 1989, kc85_4, kc85_2, 0, kc85_4, kc85, kc85_4_state, empty_init, "VEB Mikroelektronik", "KC 85/4", MACHINE_NOT_WORKING) -COMP( 1989, kc85_5, kc85_2, 0, kc85_5, kc85, kc85_4_state, empty_init, "VEB Mikroelektronik", "KC 85/5", MACHINE_NOT_WORKING) +// 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) diff --git a/src/mame/drivers/lc80.cpp b/src/mame/drivers/lc80.cpp index 6d5841f8323..998845e16d3 100644 --- a/src/mame/drivers/lc80.cpp +++ b/src/mame/drivers/lc80.cpp @@ -440,7 +440,7 @@ ROM_END /* System Drivers */ -// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS -COMP( 1984, lc80, 0, 0, lc80, lc80, lc80_state, empty_init, "VEB Mikroelektronik", "Lerncomputer LC 80", MACHINE_SUPPORTS_SAVE ) -COMP( 1984, lc80_2, lc80, 0, lc80_2, lc80, lc80_state, empty_init, "VEB Mikroelektronik", "Lerncomputer LC 80.2", MACHINE_SUPPORTS_SAVE ) -COMP( 1984, sc80, lc80, 0, lc80_2, lc80, lc80_state, empty_init, "VEB Mikroelektronik", "Schachcomputer SC-80", MACHINE_SUPPORTS_SAVE ) +// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS +COMP( 1984, lc80, 0, 0, lc80, lc80, lc80_state, empty_init, "VEB Mikroelektronik \"Karl Marx\" Erfurt", "Lerncomputer LC 80", MACHINE_SUPPORTS_SAVE ) +COMP( 1984, lc80_2, lc80, 0, lc80_2, lc80, lc80_state, empty_init, "VEB Mikroelektronik \"Karl Marx\" Erfurt", "Lerncomputer LC 80.2", MACHINE_SUPPORTS_SAVE ) +COMP( 1984, sc80, lc80, 0, lc80_2, lc80, lc80_state, empty_init, "VEB Mikroelektronik \"Karl Marx\" Erfurt", "Schachcomputer SC-80", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/sc2.cpp b/src/mame/drivers/sc2.cpp index 5fe89abab11..bad13ec8350 100644 --- a/src/mame/drivers/sc2.cpp +++ b/src/mame/drivers/sc2.cpp @@ -2,15 +2,17 @@ // copyright-holders:Sandro Ronco, hap /*************************************************************************** -Schachcomputer SC 2 driver +Schachcomputer SC 2 (G-5002.500) -VEB Mikroelektronik's 2nd chess computer. The chess program is based on -Fidelity Chess Challenger 10(C?). +2nd chess computer by VEB(Volkseigener Betrieb) Funkwerk Erfurt. The company +was renamed to VEB Mikroelektronik "Karl Marx" Erfurt in 1983, and formed into +X-FAB Semiconductor Foundries AG after the German unification. SC 2 chess +program is based on Fidelity Chess Challenger 10(C?). 3 versions known: initial version, revision E, revision EP. Schachcomputer SC 1 was canceled before wide release, it's assumed to -be on similar hardware(but PCB photos show 10 ROM chips instead of 9). +be on similar hardware, but PCB photos show 10 ROM chips instead of 9. keypad legend: @@ -264,5 +266,5 @@ ROM_END ******************************************************************************/ // YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS -COMP( 1981, sc2, 0, 0, sc2, sc2, sc2_state, empty_init, "VEB Mikroelektronik Erfurt", "Schachcomputer SC 2 (rev. E)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) -COMP( 1981, sc2a, sc2, 0, sc2, sc2, sc2_state, empty_init, "VEB Mikroelektronik Erfurt", "Schachcomputer SC 2", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) +COMP( 1981, sc2, 0, 0, sc2, sc2, sc2_state, empty_init, "VEB Funkwerk Erfurt", "Schachcomputer SC 2 (rev. E)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) +COMP( 1981, sc2a, sc2, 0, sc2, sc2, sc2_state, empty_init, "VEB Funkwerk Erfurt", "Schachcomputer SC 2", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) diff --git a/src/mame/layout/chessmst.lay b/src/mame/layout/chessmst.lay index bd37e6204a2..a34433b6b2b 100644 --- a/src/mame/layout/chessmst.lay +++ b/src/mame/layout/chessmst.lay @@ -3,9 +3,10 @@ license:CC0 --> + - + @@ -13,6 +14,23 @@ license:CC0 + + + + + + + + + + + + + + + + + @@ -201,14 +219,14 @@ license:CC0 - - - - - - - - + + + + + + + + @@ -437,24 +455,24 @@ license:CC0 - - - - - - - - + + + + + + + + - - - + + + - - - + + + - + From 6c3c2044c0f29f35f0bb3fcb97228fad8a96d16d Mon Sep 17 00:00:00 2001 From: arbee Date: Sun, 26 Apr 2020 14:02:28 -0400 Subject: [PATCH 5/7] apple2: fix DHGR shift, NTSC artifact colors work with HLSL (GitHub issue #6308) [Colin Howell, R. Belmont] --- src/mame/video/apple2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/video/apple2.cpp b/src/mame/video/apple2.cpp index b55fb1c4c84..5a9070de63c 100644 --- a/src/mame/video/apple2.cpp +++ b/src/mame/video/apple2.cpp @@ -1245,7 +1245,7 @@ void a2_video_device::dhgr_update(screen_device &screen, bitmap_ind16 &bitmap, c break; case 1: - w >>= 7; + w >>= 6; for (b = 0; b < 7; b++) { v = (w & 1); @@ -1255,7 +1255,7 @@ void a2_video_device::dhgr_update(screen_device &screen, bitmap_ind16 &bitmap, c break; case 2: - w >>= 7; + w >>= 6; for (b = 0; b < 7; b++) { v = (w & 1); @@ -1265,7 +1265,7 @@ void a2_video_device::dhgr_update(screen_device &screen, bitmap_ind16 &bitmap, c break; case 3: - w >>= 7; + w >>= 6; for (b = 0; b < 7; b++) { v = (w & 1); From e1fb6087cd1f3411f6c660810c1d5e49f7a2ec8f Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 26 Apr 2020 14:37:32 -0700 Subject: [PATCH 6/7] Namco custom fix (#6598) * namco06: clarify timer delay is zero. * galaga: fix bootlegs For both, set sub & sub2 reset lines Wire up 51xx cs and rw lines for galaga bootlegs. --- src/mame/drivers/galaga.cpp | 13 +++++++++++-- src/mame/machine/namco06.cpp | 5 +++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/galaga.cpp b/src/mame/drivers/galaga.cpp index a674bedc695..6c3a47d90bb 100644 --- a/src/mame/drivers/galaga.cpp +++ b/src/mame/drivers/galaga.cpp @@ -1753,11 +1753,17 @@ void galaga_state::galagab(machine_config &config) config.device_remove("06xx"); config.device_remove("54xx"); ls259_device* misclatch = reinterpret_cast(config.device("misclatch")); - misclatch->q_out_cb<3>().set_nop(); // 54xx reset line + // galaga has the custom chips on this line, so just set the resets this + // board has + misclatch->q_out_cb<3>().set_inputline("sub", INPUT_LINE_RESET).invert(); + misclatch->q_out_cb<3>().append_inputline("sub2", INPUT_LINE_RESET).invert(); + misclatch->q_out_cb<3>().append_inputline("sub3", INPUT_LINE_RESET).invert(); /* FIXME: bootlegs should not have any Namco custom chip. However, this workaround is needed atm */ namco_06xx_device &n06xx(NAMCO_06XX(config, "06xx", MASTER_CLOCK/6/64)); n06xx.set_maincpu(m_maincpu); + n06xx.chip_select_callback<0>().set("51xx", FUNC(namco_51xx_device::chip_select)); + n06xx.rw_callback<0>().set("51xx", FUNC(namco_51xx_device::rw)); n06xx.read_callback<0>().set("51xx", FUNC(namco_51xx_device::read)); n06xx.write_callback<0>().set("51xx", FUNC(namco_51xx_device::write)); @@ -1860,7 +1866,10 @@ void battles_state::battles(machine_config &config) config.device_remove("54xx"); config.device_remove("06xx"); ls259_device* misclatch = reinterpret_cast(config.device("misclatch")); - misclatch->q_out_cb<3>().set_nop(); // 54xx reset line + // xevious has the custom chips on this line, so just set the resets + // this board has + misclatch->q_out_cb<3>().set_inputline("sub", INPUT_LINE_RESET).invert(); + misclatch->q_out_cb<3>().append_inputline("sub2", INPUT_LINE_RESET).invert(); /* FIXME: bootlegs should not have any Namco custom chip. However, this workaround is needed atm */ namco_06xx_device &n06xx(NAMCO_06XX(config, "06xx", MASTER_CLOCK/6/64)); diff --git a/src/mame/machine/namco06.cpp b/src/mame/machine/namco06.cpp index 2ed9d3aea29..057220e137e 100644 --- a/src/mame/machine/namco06.cpp +++ b/src/mame/machine/namco06.cpp @@ -206,8 +206,9 @@ void namco_06xx_device::ctrl_w(uint8_t data) uint8_t num_shifts = (m_control & 0xe0) >> 5; uint8_t divisor = 1 << num_shifts; - // The next change happens on the next clock falling edge. - m_nmi_timer->adjust(attotime::from_ticks(0, clock()), 0, attotime::from_hz(clock() / divisor) / 2); + // The next change should happen on the next clock falling edge. + // Xevious' race causes this to bootloopsif it isn't 0. + m_nmi_timer->adjust(attotime::zero, 0, attotime::from_hz(clock() / divisor) / 2); } } From 5c7be618a5f5e7c8a385dbb7a79c4e253ef971e4 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 29 Apr 2020 02:15:44 +1000 Subject: [PATCH 7/7] (nw) missing parent/clone relationships for new chess computers --- src/mame/drivers/saitek_leonardo.cpp | 8 ++++---- src/mame/drivers/saitek_renaissance.cpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mame/drivers/saitek_leonardo.cpp b/src/mame/drivers/saitek_leonardo.cpp index 57a3c07a6a7..f813dad32eb 100644 --- a/src/mame/drivers/saitek_leonardo.cpp +++ b/src/mame/drivers/saitek_leonardo.cpp @@ -162,8 +162,8 @@ ROM_END Drivers ******************************************************************************/ -// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS -CONS( 1986, leonardo, 0, 0, leo, leo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) -CONS( 1986, leonardoa, 0, 0, leo, leo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) +// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS +CONS( 1986, leonardo, 0, 0, leo, leo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) +CONS( 1986, leonardoa, leonardo, 0, leo, leo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) -CONS( 1988, galileo, 0, 0, leo, leo, leo_state, empty_init, "Saitek", "Kasparov Galileo", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) +CONS( 1988, galileo, 0, 0, leo, leo, leo_state, empty_init, "Saitek", "Kasparov Galileo", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) diff --git a/src/mame/drivers/saitek_renaissance.cpp b/src/mame/drivers/saitek_renaissance.cpp index 9a5fb4ad791..4641d78b5ff 100644 --- a/src/mame/drivers/saitek_renaissance.cpp +++ b/src/mame/drivers/saitek_renaissance.cpp @@ -145,6 +145,6 @@ ROM_END Drivers ******************************************************************************/ -// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS -CONS( 1989, renaissa, 0, 0, ren, ren, ren_state, empty_init, "Saitek", "Kasparov Renaissance (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) -CONS( 1989, renaissaa, 0, 0, ren, ren, ren_state, empty_init, "Saitek", "Kasparov Renaissance (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) +// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS +CONS( 1989, renaissa, 0, 0, ren, ren, ren_state, empty_init, "Saitek", "Kasparov Renaissance (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) +CONS( 1989, renaissaa, renaissa, 0, ren, ren, ren_state, empty_init, "Saitek", "Kasparov Renaissance (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING )