diff options
author | hap <happppp@users.noreply.github.com> | 2019-04-17 20:42:22 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2019-04-17 20:42:37 +0200 |
commit | 320677695062222adfefc501fb384af86b863033 (patch) | |
tree | af15815541f2b4c5566e0f0231d5c6ea5f6d9feb | |
parent | bfa1dacd178e7b4d09ae9282ef10c2e5e058f06a (diff) |
stopthief: added buttons to layout (nw)
-rw-r--r-- | src/devices/cpu/ucom4/ucom4.cpp | 10 | ||||
-rw-r--r-- | src/mame/drivers/hh_cop400.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/hh_tms1k.cpp | 7 | ||||
-rw-r--r-- | src/mame/layout/ctntune.lay | 8 | ||||
-rw-r--r-- | src/mame/layout/stopthief.lay | 179 |
5 files changed, 182 insertions, 24 deletions
diff --git a/src/devices/cpu/ucom4/ucom4.cpp b/src/devices/cpu/ucom4/ucom4.cpp index cf98c1d61e2..58f1f92a58f 100644 --- a/src/devices/cpu/ucom4/ucom4.cpp +++ b/src/devices/cpu/ucom4/ucom4.cpp @@ -27,13 +27,13 @@ // uCOM-43 products: 2000x8 ROM, 96x4 RAM, supports full instruction set -DEFINE_DEVICE_TYPE(NEC_D546, upd546_cpu_device, "upd546", "NEC uPD546") // 42-pin PMOS, 35 pins for I/O -DEFINE_DEVICE_TYPE(NEC_D553, upd553_cpu_device, "upd553", "NEC uPD553") // 42-pin PMOS, 35 pins for I/O, high voltage -DEFINE_DEVICE_TYPE(NEC_D557L, upd557l_cpu_device, "upd557l", "NEC uPD557L") // 28-pin PMOS, 21 pins for I/O -DEFINE_DEVICE_TYPE(NEC_D650, upd650_cpu_device, "upd650", "NEC uPD650") // 42-pin CMOS, 35 pins for I/O +DEFINE_DEVICE_TYPE(NEC_D546, upd546_cpu_device, "upd546", "NEC uPD546") // 42-pin PMOS, 35 pins for I/O, max rated 440kHz +DEFINE_DEVICE_TYPE(NEC_D553, upd553_cpu_device, "upd553", "NEC uPD553") // 42-pin PMOS, 35 pins for I/O, high voltage, max rated 440kHz +DEFINE_DEVICE_TYPE(NEC_D557L, upd557l_cpu_device, "upd557l", "NEC uPD557L") // 28-pin PMOS, 21 pins for I/O, max rated 180kHz +DEFINE_DEVICE_TYPE(NEC_D650, upd650_cpu_device, "upd650", "NEC uPD650") // 42-pin CMOS, 35 pins for I/O, max rated 440kHz // uCOM-44 products: 1000x8 ROM, 64x4 RAM, 1-level stack, does not support external interrupt -DEFINE_DEVICE_TYPE(NEC_D552, upd552_cpu_device, "upd552", "NEC uPD552") // 42-pin PMOS, 35 pins for I/O, high voltage +DEFINE_DEVICE_TYPE(NEC_D552, upd552_cpu_device, "upd552", "NEC uPD552") // 42-pin PMOS, 35 pins for I/O, high voltage, max rated 440kHz // uCOM-45 products: 1000x8 or 640x8 ROM, 32x4 RAM, 1-level stack //.. diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp index d0a1da69a42..ff72e840fcf 100644 --- a/src/mame/drivers/hh_cop400.cpp +++ b/src/mame/drivers/hh_cop400.cpp @@ -1207,7 +1207,7 @@ READ8_MEMBER(mdallas_state::read_in) /* physical button layout and labels is like this: < ON> [YES] [NO] [NEXT] - [W] [N] [S] [E] + [<W] [^N] [Sv] [E>] [7] [8] [9] [STATUS] [4] [5] [6] [ASSETS] [1] [2] [3] [START] diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index e459c79bfc8..d1b59dc3fb3 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -139,6 +139,7 @@ - some of the games rely on the fact that faster/longer strobed leds appear brighter, eg. tc4/h2hfootb(offense), bankshot(cue ball), f3in1(ball), ... - 7in1ss: in 2-player mode, game select and skill select can be configured after selecting a game? + Possibly BTANB, players are expected to quickly press the "First Up" button after the alarm sound. - bship discrete sound, netlist is documented - finish bshipb SN76477 sound - improve elecbowl driver @@ -220,7 +221,7 @@ #include "ssimon.lh" // clickable #include "ssports4.lh" #include "starwbc.lh" // clickable -#include "stopthief.lh" +#include "stopthief.lh" // clickable #include "tandy12.lh" // clickable #include "tbreakup.lh" #include "tc4.lh" @@ -10546,8 +10547,8 @@ CONS( 1983, arcmania, 0, 0, arcmania, arcmania, arcmania_state, emp CONS( 1977, cnsector, 0, 0, cnsector, cnsector, cnsector_state, empty_init, "Parker Brothers", "Code Name: Sector", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NO_SOUND_HW ) // *** CONS( 1978, merlin, 0, 0, merlin, merlin, merlin_state, empty_init, "Parker Brothers", "Merlin - The Electronic Wizard", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) -CONS( 1979, stopthief, 0, 0, stopthief, stopthief, stopthief_state, empty_init, "Parker Brothers", "Stop Thief (Electronic Crime Scanner)", MACHINE_SUPPORTS_SAVE ) // *** -CONS( 1979, stopthiefp, stopthief, 0, stopthief, stopthief, stopthief_state, empty_init, "Parker Brothers", "Stop Thief (Electronic Crime Scanner) (patent)", MACHINE_SUPPORTS_SAVE ) // *** +CONS( 1979, stopthief, 0, 0, stopthief, stopthief, stopthief_state, empty_init, "Parker Brothers", "Stop Thief - Electronic Cops and Robbers (Electronic Crime Scanner)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // *** +CONS( 1979, stopthiefp, stopthief, 0, stopthief, stopthief, stopthief_state, empty_init, "Parker Brothers", "Stop Thief - Electronic Cops and Robbers (Electronic Crime Scanner) (patent)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // *** CONS( 1980, bankshot, 0, 0, bankshot, bankshot, bankshot_state, empty_init, "Parker Brothers", "Bank Shot - Electronic Pool", MACHINE_SUPPORTS_SAVE ) CONS( 1980, splitsec, 0, 0, splitsec, splitsec, splitsec_state, empty_init, "Parker Brothers", "Split Second", MACHINE_SUPPORTS_SAVE ) CONS( 1982, mmerlin, 0, 0, mmerlin, mmerlin, mmerlin_state, empty_init, "Parker Brothers", "Master Merlin", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) diff --git a/src/mame/layout/ctntune.lay b/src/mame/layout/ctntune.lay index e275c1a6570..56ca49ce4a8 100644 --- a/src/mame/layout/ctntune.lay +++ b/src/mame/layout/ctntune.lay @@ -140,18 +140,18 @@ <bezel element="whited"><bounds x="107" y="57" width="106" height="106" /></bezel> <bezel element="yellow"><bounds x="110" y="60" width="100" height="100" /></bezel> - <bezel element="text_by1"><bounds x="133" y="68" width="54" height="28" /></bezel> + <bezel element="text_by1"><bounds x="133" y="71" width="54" height="28" /></bezel> <bezel element="text_by2"><bounds x="120" y="96" width="80" height="28" /></bezel> - <bezel element="text_by3"><bounds x="133" y="124" width="54" height="28" /></bezel> + <bezel element="text_by3"><bounds x="133" y="121" width="54" height="28" /></bezel> <bezel element="hl" inputtag="IN.2" inputmask="0x08"><bounds x="110" y="60" width="100" height="100" /><color alpha="0.2" /></bezel> <bezel name="0.7" element="hl2"><bounds x="110" y="60" width="100" height="100" /><color alpha="0.33" /></bezel> <bezel name="0.7" element="hl3"><bounds x="110" y="60" width="100" height="100" /><color alpha="0.25" /></bezel> <bezel element="whited"><bounds x="360" y="112" width="106" height="106" /></bezel> <bezel element="red"><bounds x="363" y="115" width="100" height="100" /></bezel> - <bezel element="text_br1"><bounds x="386" y="123" width="54" height="28" /></bezel> + <bezel element="text_br1"><bounds x="386" y="126" width="54" height="28" /></bezel> <bezel element="text_br2"><bounds x="373" y="151" width="80" height="28" /></bezel> - <bezel element="text_br3"><bounds x="386" y="179" width="54" height="28" /></bezel> + <bezel element="text_br3"><bounds x="386" y="176" width="54" height="28" /></bezel> <bezel element="hl" inputtag="IN.3" inputmask="0x08"><bounds x="363" y="115" width="100" height="100" /><color alpha="0.2" /></bezel> <bezel name="0.8" element="hl2"><bounds x="363" y="115" width="100" height="100" /><color alpha="0.33" /></bezel> <bezel name="0.8" element="hl3"><bounds x="363" y="115" width="100" height="100" /><color alpha="0.25" /></bezel> diff --git a/src/mame/layout/stopthief.lay b/src/mame/layout/stopthief.lay index eaf1dd1a662..96a07494a24 100644 --- a/src/mame/layout/stopthief.lay +++ b/src/mame/layout/stopthief.lay @@ -3,28 +3,185 @@ <!-- define elements --> + <element name="white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element> + <element name="black"><rect><color red="0" green="0" blue="0" /></rect></element> + + <element name="text_off"> + <rect><color red="0.8" green="0.8" blue="0.8" /></rect> + <text string="OFF"><color red="0.1" green="0.6" blue="0.35" /></text> + </element> + <element name="text_on"> + <rect><color red="0.8" green="0.8" blue="0.8" /></rect> + <text string="ON"><color red="0.8" green="0.2" blue="0.1" /></text> + </element> + + <element name="red"><rect><color red="0.8" green="0.2" blue="0.1" /></rect></element> + <element name="text_t1"> + <rect><color red="0.8" green="0.2" blue="0.1" /></rect> + <text string="T"><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="text_t2"> + <rect><color red="0.8" green="0.2" blue="0.1" /></rect> + <text string="TIP"><color red="0.1" green="0.1" blue="0.1" /></text> + </element> + + <element name="orange"><rect><color red="0.8" green="0.4" blue="0.1" /></rect></element> + <element name="text_a1"> + <rect><color red="0.8" green="0.4" blue="0.1" /></rect> + <text string="A"><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="text_a2"> + <rect><color red="0.8" green="0.4" blue="0.1" /></rect> + <text string="ARREST"><color red="0.1" green="0.1" blue="0.1" /></text> + </element> + + <element name="yellow"><rect><color red="0.8" green="0.7" blue="0.1" /></rect></element> + <element name="text_c1"> + <rect><color red="0.8" green="0.7" blue="0.1" /></rect> + <text string="C"><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="text_c2"> + <rect><color red="0.8" green="0.7" blue="0.1" /></rect> + <text string="CLUE"><color red="0.1" green="0.1" blue="0.1" /></text> + </element> + + <element name="yellow_orange1"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.8" green="0.7" blue="0.1" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.8" green="0.58" blue="0.1" /></rect> + <text string="1"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="yellow_orange2"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.8" green="0.7" blue="0.1" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.8" green="0.58" blue="0.1" /></rect> + <text string="2"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + + <element name="orange_red1"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.8" green="0.4" blue="0.1" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.8" green="0.2" blue="0.1" /></rect> + <text string="3"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="orange_red2"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.8" green="0.4" blue="0.1" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.8" green="0.2" blue="0.1" /></rect> + <text string="4"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + + <element name="red_magenta1"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.8" green="0.12" blue="0.22" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.8" green="0.18" blue="0.58" /></rect> + <text string="5"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="red_magenta2"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.8" green="0.12" blue="0.22" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.8" green="0.18" blue="0.58" /></rect> + <text string="6"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + + <element name="magenta_purple1"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.7" green="0.2" blue="0.5" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.5" green="0.15" blue="0.7" /></rect> + <text string="7"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="magenta_purple2"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.7" green="0.2" blue="0.5" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.5" green="0.15" blue="0.7" /></rect> + <text string="8"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + + <element name="blue_green1"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.2" green="0.5" blue="0.8" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.15" green="0.7" blue="0.4" /></rect> + <text string="9"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="blue_green2"> + <rect><bounds x="0" y="0" width="1" height="0.6" /><color red="0.2" green="0.5" blue="0.8" /></rect> + <rect><bounds x="0" y="0.5" width="1" height="0.5" /><color red="0.15" green="0.7" blue="0.4" /></rect> + <text string="0"><bounds x="0" y="0" width="1" height="1" /><color red="0.9" green="0.9" blue="0.9" /></text> + </element> + <element name="digit" defstate="0"> - <led7seg><color red="1.0" green="0.22" blue="0.18" /></led7seg> + <led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg> </element> - <element name="text_bldg"><text string="BLDG."><color red="0.7" green="0.7" blue="0.7" /></text></element> - <element name="text_street"><text string="STREET"><color red="0.7" green="0.7" blue="0.7" /></text></element> - <element name="text_loc"><text string="LOC."><color red="0.7" green="0.7" blue="0.7" /></text></element> + <element name="hl" defstate="0"> + <text string=" " /> + <rect state="1"><color red="0.0" green="0.0" blue="0.0" /></rect> + </element> + + <element name="text_l1a"><text string="BLDG."><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l1b"><text string="STREET"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l2"><text string="LOC."><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l3"><text string="ELECTRONIC"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l4"><text string="CRIME SCANNER"><color red="0.8" green="0.8" blue="0.8" /></text></element> <!-- build screen --> <view name="Internal Layout"> - <bounds left="0" right="80" top="0" bottom="15" /> + <bounds left="5.5" right="94.5" top="1.5" bottom="217.5" /> + <bezel element="white"><bounds x="9" y="5" width="82" height="52" /></bezel> + <bezel element="black"><bounds x="10" y="6" width="80" height="23" /></bezel> + <bezel element="black"><bounds x="10" y="30" width="80" height="2" /></bezel> + <bezel element="black"><bounds x="10" y="33" width="80" height="23" /></bezel> + + <bezel element="text_l3"><bounds x="0" y="37" width="100" height="8" /></bezel> + <bezel element="text_l4"><bounds x="0" y="44" width="100" height="8" /></bezel> + + <bezel name="digit2" element="digit"><bounds x="30" y="10" width="10" height="15" /></bezel> + <bezel name="digit1" element="digit"><bounds x="50" y="10" width="10" height="15" /></bezel> + <bezel name="digit0" element="digit"><bounds x="60" y="10" width="10" height="15" /></bezel> + + <bezel element="text_l1a"><bounds x="10" y="11.5" width="20" height="5.5" /></bezel> + <bezel element="text_l1b"><bounds x="10" y="17.5" width="20" height="5.5" /></bezel> + <bezel element="white"><bounds x="12" y="17.1" width="15.6" height="0.5" /></bezel> + <bezel element="text_l2"><bounds x="69" y="14.5" width="20" height="5.5" /></bezel> + + <!-- button panel --> + + <bezel element="yellow_orange1"><bounds x="9" y="70" width="25" height="26" /></bezel> + <bezel element="yellow_orange2"><bounds x="37.5" y="70" width="25" height="26" /></bezel> + <bezel element="white"><bounds x="66" y="70" width="25" height="26" /></bezel> + <bezel element="text_off"><bounds x="67" y="77.5" width="23" height="11" /></bezel> + + <bezel element="orange_red1"><bounds x="9" y="99.5" width="25" height="26" /></bezel> + <bezel element="orange_red2"><bounds x="37.5" y="99.5" width="25" height="26" /></bezel> + <bezel element="white"><bounds x="66" y="99.5" width="25" height="26" /></bezel> + <bezel element="text_on"><bounds x="67" y="107" width="23" height="11" /></bezel> + + <bezel element="red_magenta1"><bounds x="9" y="129" width="25" height="26" /></bezel> + <bezel element="red_magenta2"><bounds x="37.5" y="129" width="25" height="26" /></bezel> + <bezel element="red"><bounds x="66" y="129" width="25" height="26" /></bezel> + <bezel element="text_t1"><bounds x="67" y="129.1" width="23" height="23" /></bezel> + <bezel element="text_t2"><bounds x="67" y="149" width="23" height="4.5" /></bezel> - <bezel name="digit2" element="digit"><bounds x="20" y="0" width="10" height="15" /></bezel> - <bezel name="digit1" element="digit"><bounds x="40" y="0" width="10" height="15" /></bezel> - <bezel name="digit0" element="digit"><bounds x="50" y="0" width="10" height="15" /></bezel> + <bezel element="magenta_purple1"><bounds x="9" y="158.5" width="25" height="26" /></bezel> + <bezel element="magenta_purple2"><bounds x="37.5" y="158.5" width="25" height="26" /></bezel> + <bezel element="orange"><bounds x="66" y="158.5" width="25" height="26" /></bezel> + <bezel element="text_a1"><bounds x="67" y="158.6" width="23" height="23" /></bezel> + <bezel element="text_a2"><bounds x="67" y="178.5" width="23" height="4.5" /></bezel> - <bezel element="text_bldg"><bounds x="0" y="1.5" width="20" height="5.5" /></bezel> - <bezel element="text_street"><bounds x="0" y="7.5" width="20" height="5.5" /></bezel> + <bezel element="blue_green1"><bounds x="9" y="188" width="25" height="26" /></bezel> + <bezel element="blue_green2"><bounds x="37.5" y="188" width="25" height="26" /></bezel> + <bezel element="yellow"><bounds x="66" y="188" width="25" height="26" /></bezel> + <bezel element="text_c1"><bounds x="67" y="188.1" width="23" height="23" /></bezel> + <bezel element="text_c2"><bounds x="67" y="208" width="23" height="4.5" /></bezel> - <bezel element="text_loc"><bounds x="60" y="4.5" width="20" height="5.5" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x10"><bounds x="9" y="70" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.0" inputmask="0x10"><bounds x="37.5" y="70" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x10"><bounds x="66" y="70" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x01"><bounds x="9" y="99.5" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.0" inputmask="0x01"><bounds x="37.5" y="99.5" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x01"><bounds x="66" y="99.5" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="9" y="129" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.0" inputmask="0x02"><bounds x="37.5" y="129" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x02"><bounds x="66" y="129" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x04"><bounds x="9" y="158.5" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.0" inputmask="0x04"><bounds x="37.5" y="158.5" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x04"><bounds x="66" y="158.5" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x08"><bounds x="9" y="188" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.0" inputmask="0x08"><bounds x="37.5" y="188" width="25" height="26" /><color alpha="0.2" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x08"><bounds x="66" y="188" width="25" height="26" /><color alpha="0.2" /></bezel> </view> </mamelayout> |