summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-04-25 23:43:42 +0200
committer hap <happppp@users.noreply.github.com>2020-04-25 23:43:54 +0200
commit3301fd5cf6c1c3dccaff3c402834c6524a348560 (patch)
tree8b247e391f884e592da1b54447df6ab7b578ac58
parentd7a5491d840b18cec642c07f0431deabf5920dad (diff)
Machines promoted to working
---------------------------- Executive Chess [hap, Sean Riddle]
-rw-r--r--src/mame/drivers/cxg_scptchess.cpp14
-rw-r--r--src/mame/drivers/saitek_exchess.cpp10
-rw-r--r--src/mame/layout/saitek_exchess.lay145
3 files changed, 157 insertions, 12 deletions
diff --git a/src/mame/drivers/cxg_scptchess.cpp b/src/mame/drivers/cxg_scptchess.cpp
index 9806ad4c722..1a73c90b149 100644
--- a/src/mame/drivers/cxg_scptchess.cpp
+++ b/src/mame/drivers/cxg_scptchess.cpp
@@ -21,14 +21,15 @@ Hardware notes (Sensor Computachess):
- buzzer, 16 leds, button sensors chessboard
HD44801A50 used in:
-- CXG Sensor Computachess - 1st use
+- CXG Sensor Computachess (1981 version) - 1st use
- CXG Portachess (1983 version, has "Sound" button)
- Hanimex HCG 1500
- Schneider Sensor Chesspartner MK 3
- Systema Computachess
HD44801C89 used in:
-- CXG Portachess (1985 version) - 1st use
+- CXG Portachess (1985 version, "NEW 16 LEVELS") - 1st use
+- CXG Sensor Computachess (198? rerelease, "NEW 16 LEVELS")
- CXG Portachess II (1986)
- CXG Computachess IV (1986)
- CXG Sphinx Chess Voyager? (1992)
@@ -224,7 +225,7 @@ ROM_END
ROM_START( prtchess )
ROM_REGION( 0x2000, "maincpu", 0 )
- ROM_LOAD("202_newcrest_16_hd44801c89", 0x0000, 0x2000, CRC(56b48f70) SHA1(84ec62323c6d3314e0515bccfde2f65f6d753e99) )
+ ROM_LOAD("202_newcrest_16_hd44801c89", 0x0000, 0x2000, CRC(56b48f70) SHA1(84ec62323c6d3314e0515bccfde2f65f6d753e99) ) // 202 = Portachess model#
ROM_END
} // anonymous namespace
@@ -235,7 +236,6 @@ ROM_END
Drivers
******************************************************************************/
-// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
-CONS( 1981, scptchess, 0, 0, scptchess, scptchess, scptchess_state, empty_init, "CXG Systems / White & Allcock", "Sensor Computachess", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
-
-CONS( 1985, prtchess, 0, 0, scptchess, prtchess, scptchess_state, empty_init, "CXG Systems / Newcrest Technology", "Portachess (1985 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
+CONS( 1981, scptchess, 0, 0, scptchess, scptchess, scptchess_state, empty_init, "CXG Systems / White & Allcock", "Sensor Computachess", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1985, prtchess, scptchess, 0, scptchess, prtchess, scptchess_state, empty_init, "CXG Systems / Newcrest Technology", "Portachess (1985 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
diff --git a/src/mame/drivers/saitek_exchess.cpp b/src/mame/drivers/saitek_exchess.cpp
index 3f5ed7e3221..335436b033a 100644
--- a/src/mame/drivers/saitek_exchess.cpp
+++ b/src/mame/drivers/saitek_exchess.cpp
@@ -21,7 +21,7 @@ Hardware notes:
#include "screen.h"
// internal artwork
-//#include "saitek_exchess.lh" // clickable
+#include "saitek_exchess.lh" // clickable
namespace {
@@ -233,7 +233,7 @@ void exchess_state::exchess(machine_config &config)
PWM_DISPLAY(config, m_display).set_size(8, 26+34);
m_display->set_interpolation(0.2);
- //config.set_default_layout(layout_saitek_exchess);
+ config.set_default_layout(layout_saitek_exchess);
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_SVG));
screen.set_refresh_hz(60);
@@ -251,8 +251,8 @@ ROM_START( exchess )
ROM_REGION( 0x1000, "maincpu", 0 )
ROM_LOAD("sl90553", 0x0000, 0x1000, CRC(a61b0c7e) SHA1(a13b11a93f78236223c5c0b9879a93284b7f7525) )
- ROM_REGION( 852610, "screen", ROMREGION_ERASE00 )
- //ROM_LOAD("exchess.svg", 0, 852610, CRC(cb36f9d3) SHA1(83be9b5d906d185b7cf6895f50992e7eea390c7a) )
+ ROM_REGION( 852610, "screen", 0 )
+ ROM_LOAD("exchess.svg", 0, 852610, CRC(cb36f9d3) SHA1(83be9b5d906d185b7cf6895f50992e7eea390c7a) )
ROM_END
} // anonymous namespace
@@ -264,4 +264,4 @@ ROM_END
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
-CONS( 1981, exchess, 0, 0, exchess, exchess, exchess_state, empty_init, "SciSys", "Executive Chess", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW | MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1981, exchess, 0, 0, exchess, exchess, exchess_state, empty_init, "SciSys", "Executive Chess", MACHINE_NO_SOUND_HW | MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
diff --git a/src/mame/layout/saitek_exchess.lay b/src/mame/layout/saitek_exchess.lay
new file mode 100644
index 00000000000..80c3ebceeae
--- /dev/null
+++ b/src/mame/layout/saitek_exchess.lay
@@ -0,0 +1,145 @@
+<?xml version="1.0"?>
+<!--
+license:CC0
+-->
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="white"><rect><color red="1" green="1" blue="1" /></rect></element>
+ <element name="black"><rect><color red="0.17" green="0.16" blue="0.16" /></rect></element>
+ <element name="black2"><rect><color red="0.32" green="0.3" blue="0.3" /></rect></element>
+
+ <element name="butr" defstate="0">
+ <rect state="1"><color red="0.6" green="0.21" blue="0.18" /></rect>
+ <rect state="0"><color red="0.8" green="0.25" blue="0.2" /></rect>
+ </element>
+ <element name="butb" defstate="0">
+ <rect state="1"><color red="0.25" green="0.24" blue="0.24" /></rect>
+ <rect state="0"><color red="0.17" green="0.16" blue="0.16" /></rect>
+ </element>
+
+ <element name="hlc" defstate="0">
+ <text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
+ <disk state="1">
+ <bounds x="0.12" y="0.12" width="0.76" height="0.76" />
+ <color red="1" green="1" blue="1" />
+ </disk>
+ </element>
+
+ <element name="text_l1"><text string="2nd F"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_l2"><text string="NEW GAME"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_l3"><text string="ENTER"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+
+ <element name="text_l4"><text string="HOME"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l5"><text string="CB"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l6"><text string="LEVEL"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l7"><text string="MOVE"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l8"><text string="LOOK"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l9"><text string="WHITE"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l10"><text string="BLACK"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l11"><text string="TURN"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l12"><text string="BACK"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+ <element name="text_l13"><text string="MM"><color red="0.75" green="0.25" blue="0.2" /></text></element>
+
+<!-- display -->
+
+ <element name="lcd_bg1"><rect><color red="0.4" green="1.0" blue="0.75" /></rect></element>
+ <element name="lcd_bg2"><rect><color red="0.58" green="0.61" blue="0.62" /></rect></element>
+
+ <element name="lcd_cb">
+ <rect><bounds x="0" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="10" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="20" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="30" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="5" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="15" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="25" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="35" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+
+ <rect><bounds x="0" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="10" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="20" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="30" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="5" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="15" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="25" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="35" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+
+ <rect><bounds x="0" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="10" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="20" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="30" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="5" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="15" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="25" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="35" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+
+ <rect><bounds x="0" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="10" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="20" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="30" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="5" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="15" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="25" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ <rect><bounds x="35" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
+ </element>
+
+ <group name="display">
+ <bounds x="9.86" y="9.3" width="100.34" height="108" />
+ <element ref="white"><bounds x="9.86" y="9.3" width="100.34" height="20" /></element>
+ <element ref="lcd_bg1"><bounds x="9.86" y="15.8" width="100.34" height="100.9" /></element>
+ <element ref="lcd_cb"><bounds x="11.06" y="17" width="97.94" height="98.5" /></element>
+
+ <screen index="0" blend="multiply"><bounds x="10" y="10" width="100" height="105.88235" /></screen>
+ <element ref="lcd_bg2" blend="multiply"><bounds x="9.86" y="9.3" width="100.34" height="108" /></element>
+ </group>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout (Full)">
+ <bounds left="0" right="70" top="-5.34383" bottom="140" />
+ <group ref="display"><bounds x="0" y="-5.34383" width="70" height="75.34383" /></group>
+
+ <!-- button panel -->
+ <bezel element="text_l1"><bounds x="10" y="76.5" width="10" height="3" /></bezel>
+ <bezel element="text_l2"><bounds x="28" y="76.5" width="14" height="3" /></bezel>
+ <bezel element="text_l3"><bounds x="50" y="76.5" width="10" height="3" /></bezel>
+
+ <bezel element="text_l4"><bounds x="10" y="73.5" width="10" height="3" /></bezel>
+ <bezel element="text_l5"><bounds x="30" y="73.5" width="10" height="3" /></bezel>
+ <bezel element="text_l6"><bounds x="10" y="96.5" width="10" height="3" /></bezel>
+ <bezel element="text_l7"><bounds x="30" y="96.5" width="10" height="3" /></bezel>
+ <bezel element="text_l8"><bounds x="50" y="96.5" width="10" height="3" /></bezel>
+ <bezel element="text_l9"><bounds x="10" y="113.5" width="10" height="3" /></bezel>
+ <bezel element="text_l10"><bounds x="50" y="113.5" width="10" height="3" /></bezel>
+ <bezel element="text_l11"><bounds x="10" y="130.5" width="10" height="3" /></bezel>
+ <bezel element="text_l12"><bounds x="30" y="130.5" width="10" height="3" /></bezel>
+ <bezel element="text_l13"><bounds x="50" y="130.5" width="10" height="3" /></bezel>
+
+ <bezel element="butr" inputtag="IN.1" inputmask="0x80"><bounds x="10" y="80" width="10" height="10" /></bezel>
+ <bezel element="butb" inputtag="IN.1" inputmask="0x40"><bounds x="30" y="80" width="10" height="10" /></bezel>
+ <bezel element="butb" inputtag="IN.0" inputmask="0x08"><bounds x="50" y="80" width="10" height="10" /></bezel>
+
+ <bezel element="black"><bounds x="20" y="100" width="30" height="30" /></bezel>
+ <bezel element="black2"><bounds x="22" y="114.5" width="26" height="1" /></bezel>
+ <bezel element="black2"><bounds x="34.5" y="102" width="1" height="26" /></bezel>
+ <bezel element="black"><bounds x="28" y="108" width="14" height="14" /></bezel>
+
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x10"><bounds x="20" y="100" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x02"><bounds x="30" y="100" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x20"><bounds x="40" y="100" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x01"><bounds x="20" y="110" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x04"><bounds x="40" y="110" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x40"><bounds x="20" y="120" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x08"><bounds x="30" y="120" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlc" inputtag="IN.2" inputmask="0x80"><bounds x="40" y="120" width="10" height="10" /><color alpha="0.1" /></bezel>
+ </view>
+
+ <view name="Internal Layout (Screen)">
+ <bounds x="0" y="0" width="100.34" height="107.4" />
+ <group ref="display"><bounds x="0" y="0" width="100.34" height="108" /></group>
+ </view>
+
+</mamelayout>