summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-03-24 17:20:47 +0100
committer hap <happppp@users.noreply.github.com>2017-03-24 17:21:11 +0100
commit7753bff2acad5bb2c30a3197356c7160648d8a78 (patch)
tree684b59f49ad4dab731c2eb69ff1f6492ebb3185b /src
parente70489f436ae03d6951ffcad158943cc2073ba10 (diff)
hh_pic16: us2pfball internal artwork (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/hh_pic16.cpp10
-rw-r--r--src/mame/layout/cnfball2.lay7
-rw-r--r--src/mame/layout/cqback.lay8
-rw-r--r--src/mame/layout/h2hfootb.lay7
-rw-r--r--src/mame/layout/us2pfball.lay188
5 files changed, 189 insertions, 31 deletions
diff --git a/src/mame/drivers/hh_pic16.cpp b/src/mame/drivers/hh_pic16.cpp
index 4070617642c..4229fe05f3c 100644
--- a/src/mame/drivers/hh_pic16.cpp
+++ b/src/mame/drivers/hh_pic16.cpp
@@ -487,7 +487,7 @@ INPUT_CHANGED_MEMBER(pabball_state::reset_button)
static MACHINE_CONFIG_START( pabball, pabball_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", PIC1655, 1000000) // approximation - RC osc. R=18K, C=27pF
+ MCFG_CPU_ADD("maincpu", PIC1655, 1200000) // approximation - RC osc. R=18K, C=27pF
MCFG_PIC16C5x_READ_A_CB(IOPORT("IN.0"))
MCFG_PIC16C5x_WRITE_B_CB(WRITE8(pabball_state, write_b))
MCFG_PIC16C5x_READ_C_CB(IOPORT("IN.1"))
@@ -1580,13 +1580,13 @@ static INPUT_PORTS_START( us2pfball )
PORT_START("IN.5") // port B
PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START ) // S
+ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START ) PORT_NAME("Status/Score") // S
INPUT_PORTS_END
static MACHINE_CONFIG_START( us2pfball, us2pfball_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", PIC1650, 1000000) // approximation - RC osc. R=39K, C=75pF
+ MCFG_CPU_ADD("maincpu", PIC1650, 800000) // approximation - RC osc. R=39K, C=75pF
MCFG_PIC16C5x_READ_A_CB(READ8(us2pfball_state, read_a))
MCFG_PIC16C5x_WRITE_A_CB(WRITE8(us2pfball_state, write_a))
MCFG_PIC16C5x_READ_B_CB(IOPORT("IN.5"))
@@ -1596,7 +1596,7 @@ static MACHINE_CONFIG_START( us2pfball, us2pfball_state )
MCFG_PIC16C5x_READ_D_CB(CONSTANT(0xff))
MCFG_PIC16C5x_WRITE_D_CB(WRITE8(us2pfball_state, write_d))
- MCFG_DEVICE_ADD("clock", CLOCK, 1000000/4) // PIC CLKOUT, tied to RTCC
+ MCFG_DEVICE_ADD("clock", CLOCK, 800000/4) // PIC CLKOUT, tied to RTCC
MCFG_CLOCK_SIGNAL_HANDLER(INPUTLINE("maincpu", PIC16C5x_RTCC))
MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_pic16_state, display_decay_tick, attotime::from_msec(1))
@@ -1710,4 +1710,4 @@ CONS( 1979, ttfball, 0, 0, ttfball, ttfball, driver_device, 0, "Toy
CONS( 1979, ttfballa, ttfball, 0, ttfball, ttfballa, driver_device, 0, "Toytronic", "Football (Toytronic, set 2)", MACHINE_SUPPORTS_SAVE )
CONS( 1981, uspbball, 0, 0, uspbball, uspbball, driver_device, 0, "U.S. Games", "Programmable Baseball", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING )
-CONS( 1981, us2pfball, 0, 0, us2pfball, us2pfball, driver_device, 0, "U.S. Games", "Electronic 2-Player Football", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING )
+CONS( 1981, us2pfball, 0, 0, us2pfball, us2pfball, driver_device, 0, "U.S. Games", "Electronic 2-Player Football", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/layout/cnfball2.lay b/src/mame/layout/cnfball2.lay
index fee4f1130e5..27f6d177644 100644
--- a/src/mame/layout/cnfball2.lay
+++ b/src/mame/layout/cnfball2.lay
@@ -34,6 +34,7 @@
<element name="text_p1">
<rect><color red="0.06" green="0.3" blue="0.12" /></rect>
+ <text state="1" string=""></text>
<text string="PL SEL:">
<bounds x="0.0" y="0.17" width="1.0" height="0.6" />
<color red="0.7" green="0.7" blue="0.8" />
@@ -80,10 +81,8 @@
<bezel element="text_time"><bounds x="122" y="133" width="140" height="19" /></bezel>
<bezel element="text_visitor"><bounds x="306" y="133" width="80" height="19" /></bezel>
- <bezel element="text_p1"><bounds x="316" y="161" width="40" height="16" /></bezel>
- <bezel element="text_p2" inputtag="IN.0" inputmask="0x04">
- <bounds x="354" y="161" width="35" height="16" />
- </bezel>
+ <bezel element="text_p1" inputtag="IN.0" inputmask="0x04"><bounds x="316" y="161" width="40" height="16" /></bezel>
+ <bezel element="text_p2" inputtag="IN.0" inputmask="0x04"><bounds x="354" y="161" width="35" height="16" /></bezel>
<bezel element="static_white"><bounds left="-9" right="393" top="-61" bottom="-51" /></bezel>
<bezel element="static_white"><bounds left="-9" right="393" top="110" bottom="120" /></bezel>
diff --git a/src/mame/layout/cqback.lay b/src/mame/layout/cqback.lay
index ebdfa1feaf8..42d9a0e00c6 100644
--- a/src/mame/layout/cqback.lay
+++ b/src/mame/layout/cqback.lay
@@ -35,6 +35,7 @@
<element name="text_p1">
<rect><color red="0.06" green="0.3" blue="0.12" /></rect>
+ <text state="1" string=""></text>
<text string="PL SEL:">
<bounds x="0.0" y="0.17" width="1.0" height="0.6" />
<color red="0.7" green="0.7" blue="0.8" />
@@ -82,10 +83,8 @@
<bezel element="text_time"><bounds x="107" y="-92" width="170" height="19" /></bezel>
<bezel element="text_visitor"><bounds x="301" y="-92" width="90" height="19" /></bezel>
- <bezel element="text_p1"><bounds x="301" y="130" width="40" height="16" /></bezel>
- <bezel element="text_p2" inputtag="IN.1" inputmask="0x01">
- <bounds x="339" y="130" width="50" height="16" />
- </bezel>
+ <bezel element="text_p1" inputtag="IN.1" inputmask="0x01"><bounds x="301" y="130" width="40" height="16" /></bezel>
+ <bezel element="text_p2" inputtag="IN.1" inputmask="0x01"><bounds x="339" y="130" width="50" height="16" /></bezel>
<bezel element="static_orange"><bounds left="-9" right="393" top="-102" bottom="-96" /></bezel>
<bezel element="static_white"><bounds left="-9" right="393" top="-61" bottom="-51" /></bezel>
@@ -173,6 +172,5 @@
<bezel name="8.8" element="seg"><bounds x="359" y="42.5" width="15" height="3" /></bezel>
<bezel name="8.9" element="seg"><bounds x="359" y="71.5" width="15" height="3" /></bezel>
-
</view>
</mamelayout>
diff --git a/src/mame/layout/h2hfootb.lay b/src/mame/layout/h2hfootb.lay
index e00c99e2f04..f66e8d26107 100644
--- a/src/mame/layout/h2hfootb.lay
+++ b/src/mame/layout/h2hfootb.lay
@@ -34,6 +34,7 @@
<element name="text_p1">
<rect><color red="0.24" green="0.4" blue="0.24" /></rect>
+ <text state="1" string=""></text>
<text string="PL SEL:">
<bounds x="0.0" y="0.17" width="1.0" height="0.6" />
<color red="0.7" green="0.7" blue="0.8" />
@@ -81,10 +82,8 @@
<bezel element="text_time"><bounds x="107" y="-86" width="170" height="19" /></bezel>
<bezel element="text_visitor"><bounds x="301" y="-86" width="90" height="19" /></bezel>
- <bezel element="text_p1"><bounds x="301" y="130" width="40" height="16" /></bezel>
- <bezel element="text_p2" inputtag="IN.1" inputmask="0x01">
- <bounds x="339" y="130" width="50" height="16" />
- </bezel>
+ <bezel element="text_p1" inputtag="IN.1" inputmask="0x01"><bounds x="301" y="130" width="40" height="16" /></bezel>
+ <bezel element="text_p2" inputtag="IN.1" inputmask="0x01"><bounds x="339" y="130" width="50" height="16" /></bezel>
<bezel element="static_white"><bounds left="-9" right="393" top="-96" bottom="-90" /></bezel>
<bezel element="static_white"><bounds left="-9" right="393" top="-61" bottom="-51" /></bezel>
diff --git a/src/mame/layout/us2pfball.lay b/src/mame/layout/us2pfball.lay
index 65dd7326769..508e530637d 100644
--- a/src/mame/layout/us2pfball.lay
+++ b/src/mame/layout/us2pfball.lay
@@ -3,6 +3,86 @@
<!-- define elements -->
+ <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
+ <element name="disk_black"><disk><color red="0.0" green="0.0" blue="0.0" /></disk></element>
+ <element name="static_white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
+ <element name="static_green"><rect><color red="0.2" green="0.6" blue="0.3" /></rect></element>
+ <element name="static_blue"><rect><color red="0.1" green="0.2" blue="0.5" /></rect></element>
+
+ <element name="text_h">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="H"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_v">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="V"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_50r">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="50 --&gt;"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_50l">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="&lt;-- 50"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_play">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="PLAY"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_off">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="OFFENSE" align="1"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_def">
+ <rect><color red="0.2" green="0.6" blue="0.3" /></rect>
+ <text string="DEFENSE" align="2"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+
+ <element name="text_down">
+ <rect><color red="0.1" green="0.2" blue="0.5" /></rect>
+ <text string="DOWN"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_home">
+ <rect><color red="0.1" green="0.2" blue="0.5" /></rect>
+ <text string="HOME"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_yards">
+ <rect><color red="0.1" green="0.2" blue="0.5" /></rect>
+ <text string="YARDS TO GO"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_time">
+ <rect><color red="0.1" green="0.2" blue="0.5" /></rect>
+ <text string="TIME LEFT"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_field">
+ <rect><color red="0.1" green="0.2" blue="0.5" /></rect>
+ <text string="FIELD POS."><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+ <element name="text_visitor">
+ <rect><color red="0.1" green="0.2" blue="0.5" /></rect>
+ <text string="VISITOR"><color red="0.9" green="0.9" blue="0.9" /></text>
+ </element>
+
+ <element name="text_p1">
+ <rect><color red="0.06" green="0.12" blue="0.3" /></rect>
+ <text state="1" string=""></text>
+ <text string="PL SEL:">
+ <bounds x="0.0" y="0.17" width="1.0" height="0.6" />
+ <color red="0.7" green="0.7" blue="0.8" />
+ </text>
+ </element>
+ <element name="text_p2" defstate="0">
+ <rect><color red="0.06" green="0.12" blue="0.3" /></rect>
+ <text state="0" string="RUN/KICK">
+ <bounds x="0.0" y="0.17" width="1.0" height="0.6" />
+ <color red="0.82" green="0.82" blue="0.82" />
+ </text>
+ <text state="1" string="PASS">
+ <bounds x="0.0" y="0.17" width="1.0" height="0.6" />
+ <color red="0.82" green="0.82" blue="0.82" />
+ </text>
+ </element>
+
<element name="digit" defstate="0">
<led7seg><color red="1.0" green="0.25" blue="0.26" /></led7seg>
</element>
@@ -15,19 +95,101 @@
<!-- build screen -->
<view name="Internal Layout">
- <bounds left="0" right="80" top="0" bottom="20" />
-
- <bezel name="8.a" element="led"><bounds x="1" y="1" width="1" height="1" /></bezel>
- <bezel name="9.a" element="led"><bounds x="78" y="1" width="1" height="1" /></bezel>
-
- <bezel name="digit0" element="digit"><bounds x="0" y="5" width="10" height="15" /></bezel>
- <bezel name="digit1" element="digit"><bounds x="10" y="5" width="10" height="15" /></bezel>
- <bezel name="digit2" element="digit"><bounds x="20" y="5" width="10" height="15" /></bezel>
- <bezel name="digit3" element="digit"><bounds x="30" y="5" width="10" height="15" /></bezel>
- <bezel name="digit4" element="digit"><bounds x="40" y="5" width="10" height="15" /></bezel>
- <bezel name="digit5" element="digit"><bounds x="50" y="5" width="10" height="15" /></bezel>
- <bezel name="digit6" element="digit"><bounds x="60" y="5" width="10" height="15" /></bezel>
- <bezel name="digit7" element="digit"><bounds x="70" y="5" width="10" height="15" /></bezel>
+ <bounds left="-8.99" right="348.99" top="-124.99" bottom="162.99" />
+
+ <!-- bezel -->
+
+ <bezel element="static_blue"><bounds left="-9" right="349" top="-125" bottom="-80" /></bezel>
+ <bezel element="text_down"><bounds x="-8" y="-124" width="120" height="19" /></bezel>
+ <bezel element="text_field"><bounds x="110" y="-124" width="120" height="19" /></bezel>
+ <bezel element="text_yards"><bounds x="228" y="-124" width="120" height="19" /></bezel>
+ <bezel element="text_home"><bounds x="-8" y="-101" width="120" height="19" /></bezel>
+ <bezel element="text_time"><bounds x="110" y="-101" width="120" height="19" /></bezel>
+ <bezel element="text_visitor"><bounds x="228" y="-101" width="120" height="19" /></bezel>
+ <bezel element="static_white"><bounds x="-9" y="-104" width="358" height="2" /></bezel>
+
+ <bezel element="static_green"><bounds left="-9" right="349" top="-76" bottom="-52" /></bezel>
+ <bezel element="text_h"><bounds x="-9" y="-75.9" width="10" height="14" /></bezel>
+ <bezel element="text_v"><bounds x="339" y="-75.9" width="10" height="14" /></bezel>
+ <bezel element="text_play"><bounds x="-9" y="-63" width="16" height="7" /></bezel>
+ <bezel element="text_play"><bounds x="333" y="-63" width="16" height="7" /></bezel>
+ <bezel element="text_50r"><bounds x="20" y="-75.5" width="60" height="19" /></bezel>
+ <bezel element="text_50l"><bounds x="262" y="-75.5" width="60" height="19" /></bezel>
+
+ <bezel element="disk_black"><bounds x="7" y="-73" width="15" height="15" /></bezel>
+ <bezel name="8.a" element="led"><bounds x="10" y="-70" width="9" height="9" /></bezel>
+ <bezel element="disk_black"><bounds x="319" y="-73" width="15" height="15" /></bezel>
+ <bezel name="9.a" element="led"><bounds x="322" y="-70" width="9" height="9" /></bezel>
+
+ <bezel element="static_green"><bounds left="-9" right="349" top="111" bottom="135" /></bezel>
+ <bezel element="text_off"><bounds x="-5" y="114.5" width="100" height="19" /></bezel>
+ <bezel element="text_def"><bounds x="245" y="114.5" width="100" height="19" /></bezel>
+
+ <bezel element="static_blue"><bounds left="-9" right="349" top="139" bottom="163" /></bezel>
+ <bezel element="text_p1" inputtag="IN.4" inputmask="0x40"><bounds x="256" y="143" width="40" height="16" /></bezel>
+ <bezel element="text_p2" inputtag="IN.4" inputmask="0x40"><bounds x="295" y="143" width="50" height="16" /></bezel>
+
+ <bezel element="static_white"><bounds left="-9" right="349" top="-55" bottom="-51" /></bezel>
+ <bezel element="static_white"><bounds left="-9" right="349" top="110" bottom="114" /></bezel>
+
+ <!-- 7segs -->
+
+ <bezel name="digit0" element="digit"><bounds x="-5" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit1" element="digit"><bounds x="39" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit2" element="digit"><bounds x="83" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit3" element="digit"><bounds x="127" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit4" element="digit"><bounds x="171" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit5" element="digit"><bounds x="215" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit6" element="digit"><bounds x="259" y="0" width="42" height="59" /></bezel>
+ <bezel name="digit7" element="digit"><bounds x="303" y="0" width="42" height="59" /></bezel>
+
+ <!-- separators -->
+
+ <bezel element="static_white"><bounds x="-9" y="-52" width="4" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="37" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="81" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="125" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="169" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="213" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="257" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="301" y="-52" width="2" height="163" /></bezel>
+ <bezel element="static_white"><bounds x="345" y="-52" width="4" height="163" /></bezel>
+
+ <bezel element="static_white"><bounds x="-8" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="-8" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="-8" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="36" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="36" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="36" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="80" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="80" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="80" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="124" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="124" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="124" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="168" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="168" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="168" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="212" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="212" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="212" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="256" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="256" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="256" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="300" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="300" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="300" y="56" width="4" height="1" /></bezel>
+
+ <bezel element="static_white"><bounds x="344" y="2" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="344" y="29" width="4" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="344" y="56" width="4" height="1" /></bezel>
</view>
</mamelayout>