summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-01-18 23:46:45 +0100
committer hap <happppp@users.noreply.github.com>2017-01-18 23:46:45 +0100
commit8a47b0c42bebc30c0e7db5d3b9b28c39a5a2f4e6 (patch)
treef868824196e3f5c5315ce0b24c3f7487fcc2eef8
parentc69c1440133e5bcfbe8d9aed3ec1ce23ed8a5a44 (diff)
hh_cop400: added svg artwork for einvaderc (nw)
-rw-r--r--src/mame/drivers/hh_cop400.cpp17
-rw-r--r--src/mame/drivers/hh_tms1k.cpp4
-rw-r--r--src/mame/layout/einvaderc.lay81
3 files changed, 29 insertions, 73 deletions
diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp
index 349f7e99763..ba183efa5c7 100644
--- a/src/mame/drivers/hh_cop400.cpp
+++ b/src/mame/drivers/hh_cop400.cpp
@@ -14,11 +14,12 @@
#include "cpu/cop400/cop400.h"
#include "sound/dac.h"
#include "sound/volt_reg.h"
+//#include "rendlay.h"
// internal artwork
#include "bship82.lh" // clickable
#include "ctstein.lh" // clickable
-#include "einvaderc.lh" // test-layout(but still playable)
+#include "einvaderc.lh"
#include "funjacks.lh" // clickable
#include "funrlgl.lh"
#include "h2hbaskb.lh"
@@ -469,8 +470,6 @@ MACHINE_CONFIG_END
The first version was on TMS1100 (see hh_tms1k.c), this is the reprogrammed
second release with a gray case instead of black.
- NOTE!: MAME external artwork is required
-
***************************************************************************/
class einvaderc_state : public hh_cop400_state
@@ -556,7 +555,7 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( einvaderc, einvaderc_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", COP444L, 1000000) // approximation - RC osc. R=47K, C=100pf
+ MCFG_CPU_ADD("maincpu", COP444L, 900000) // approximation - RC osc. R=47K, C=100pf
MCFG_COP400_CONFIG(COP400_CKI_DIVISOR_16, COP400_CKO_OSCILLATOR_OUTPUT, false) // guessed
MCFG_COP400_READ_IN_CB(IOPORT("IN.0"))
MCFG_COP400_WRITE_D_CB(WRITE8(einvaderc_state, write_d))
@@ -565,6 +564,11 @@ static MACHINE_CONFIG_START( einvaderc, einvaderc_state )
MCFG_COP400_WRITE_SO_CB(WRITELINE(einvaderc_state, write_so))
MCFG_COP400_WRITE_L_CB(WRITE8(einvaderc_state, write_l))
+ /* video hardware */
+ MCFG_SCREEN_SVG_ADD("screen", "svg")
+ MCFG_SCREEN_REFRESH_RATE(50)
+ MCFG_SCREEN_SIZE(913, 1080)
+ MCFG_SCREEN_VISIBLE_AREA(0, 913-1, 0, 1080-1)
MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_cop400_state, display_decay_tick, attotime::from_msec(1))
MCFG_DEFAULT_LAYOUT(layout_einvaderc)
@@ -1436,6 +1440,9 @@ ROM_END
ROM_START( einvaderc )
ROM_REGION( 0x0800, "maincpu", 0 )
ROM_LOAD( "copl444-hrz_n_inv_ii", 0x0000, 0x0800, CRC(76400f38) SHA1(0e92ab0517f7b7687293b189d30d57110df20fe0) )
+
+ ROM_REGION( 80636, "svg", 0)
+ ROM_LOAD( "einvaderc.svg", 0, 80636, CRC(a52d0166) SHA1(f69397ebcc518701f30a47b4d62e5a700825375a) ) // by hap, ver. 18 jan 2017
ROM_END
@@ -1487,7 +1494,7 @@ CONS( 1979, ctstein, 0, 0, ctstein, ctstein, driver_device, 0, "Cas
CONS( 1980, h2hbaskb, 0, 0, h2hbaskb, h2hbaskb, driver_device, 0, "Coleco", "Head to Head Basketball/Hockey/Soccer (COP420L version)", MACHINE_SUPPORTS_SAVE )
-CONS( 1981, einvaderc, einvader, 0, einvaderc, einvaderc, driver_device, 0, "Entex", "Space Invader (Entex, COP444L version)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
+CONS( 1981, einvaderc, einvader, 0, einvaderc, einvaderc, driver_device, 0, "Entex", "Space Invader (Entex, COP444L version)", MACHINE_SUPPORTS_SAVE )
CONS( 1979, funjacks, 0, 0, funjacks, funjacks, driver_device, 0, "Mattel", "Funtronics Jacks", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1979, funrlgl, 0, 0, funrlgl, funrlgl, driver_device, 0, "Mattel", "Funtronics Red Light Green Light", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp
index 97cf417b345..2bb9278f981 100644
--- a/src/mame/drivers/hh_tms1k.cpp
+++ b/src/mame/drivers/hh_tms1k.cpp
@@ -122,6 +122,8 @@
brighter: tc4/h2hfootb(offense), bankshot(cue ball), ...
- stopthiep: unable to start a game (may be intentional?)
- tbreakup: some of the leds flicker (rom and PLAs doublechecked)
+ - 7in1ss: in 2-player mode, game select and skill select can be configured
+ after selecting a game?
- bship discrete sound, netlist is documented
- finish bshipb SN76477 sound
- improve elecbowl driver
@@ -3724,7 +3726,7 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( ginv1000, ginv1000_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", TMS1370, 325000) // approximation
+ MCFG_CPU_ADD("maincpu", TMS1370, 340000) // approximation
MCFG_TMS1XXX_READ_K_CB(READ8(ginv1000_state, read_k))
MCFG_TMS1XXX_WRITE_R_CB(WRITE16(ginv1000_state, write_r))
MCFG_TMS1XXX_WRITE_O_CB(WRITE16(ginv1000_state, write_o))
diff --git a/src/mame/layout/einvaderc.lay b/src/mame/layout/einvaderc.lay
index 0916b783796..3eb8570986e 100644
--- a/src/mame/layout/einvaderc.lay
+++ b/src/mame/layout/einvaderc.lay
@@ -4,82 +4,29 @@
<!-- define elements -->
<element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
+ <element name="static_white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
+ <element name="text_score"><text string="SCORE"><color red="0.8" green="0.8" blue="0.8" /></text></element>
<element name="digit" defstate="0">
- <led7seg><color red="1.0" green="0.20" blue="0.22" /></led7seg>
- </element>
- <element name="led" defstate="0">
- <disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk>
- <disk state="1"><color red="1.0" green="0.20" blue="0.22" /></disk>
+ <led7seg><color red="1.0" green="0.165" blue="0.165" /></led7seg>
</element>
<!-- build screen -->
- <view name="Test Layout">
- <bounds left="0" right="12" top="0" bottom="28" />
- <bezel element="static_black">
- <bounds left="0" right="12" top="0" bottom="28" />
- </bezel>
-
- <bezel name="digit0" element="digit"><bounds x="0" y="0" width="4" height="6" /></bezel>
- <bezel name="digit1" element="digit"><bounds x="4" y="0" width="4" height="6" /></bezel>
- <bezel name="digit2" element="digit"><bounds x="8" y="0" width="4" height="6" /></bezel>
-
- <!-- led matrix -->
-
- <bezel name="lamp90" element="led"><bounds x="0" y="10" width="1" height="1" /></bezel>
- <bezel name="lamp91" element="led"><bounds x="2" y="10" width="1" height="1" /></bezel>
- <bezel name="lamp92" element="led"><bounds x="4" y="10" width="1" height="1" /></bezel>
- <bezel name="lamp93" element="led"><bounds x="6" y="10" width="1" height="1" /></bezel>
- <bezel name="lamp94" element="led"><bounds x="8" y="10" width="1" height="1" /></bezel>
- <bezel name="lamp95" element="led"><bounds x="10" y="10" width="1" height="1" /></bezel>
-
- <bezel name="lamp80" element="led"><bounds x="0" y="12" width="1" height="1" /></bezel>
- <bezel name="lamp81" element="led"><bounds x="2" y="12" width="1" height="1" /></bezel>
- <bezel name="lamp82" element="led"><bounds x="4" y="12" width="1" height="1" /></bezel>
- <bezel name="lamp83" element="led"><bounds x="6" y="12" width="1" height="1" /></bezel>
- <bezel name="lamp84" element="led"><bounds x="8" y="12" width="1" height="1" /></bezel>
- <bezel name="lamp85" element="led"><bounds x="10" y="12" width="1" height="1" /></bezel>
-
- <bezel name="lamp40" element="led"><bounds x="0" y="14" width="1" height="1" /></bezel>
- <bezel name="lamp41" element="led"><bounds x="2" y="14" width="1" height="1" /></bezel>
- <bezel name="lamp42" element="led"><bounds x="4" y="14" width="1" height="1" /></bezel>
- <bezel name="lamp43" element="led"><bounds x="6" y="14" width="1" height="1" /></bezel>
- <bezel name="lamp44" element="led"><bounds x="8" y="14" width="1" height="1" /></bezel>
- <bezel name="lamp45" element="led"><bounds x="10" y="14" width="1" height="1" /></bezel>
-
- <bezel name="lamp50" element="led"><bounds x="0" y="16" width="1" height="1" /></bezel>
- <bezel name="lamp51" element="led"><bounds x="2" y="16" width="1" height="1" /></bezel>
- <bezel name="lamp52" element="led"><bounds x="4" y="16" width="1" height="1" /></bezel>
- <bezel name="lamp53" element="led"><bounds x="6" y="16" width="1" height="1" /></bezel>
- <bezel name="lamp54" element="led"><bounds x="8" y="16" width="1" height="1" /></bezel>
- <bezel name="lamp55" element="led"><bounds x="10" y="16" width="1" height="1" /></bezel>
-
- <bezel name="lamp60" element="led"><bounds x="0" y="18" width="1" height="1" /></bezel>
- <bezel name="lamp61" element="led"><bounds x="2" y="18" width="1" height="1" /></bezel>
- <bezel name="lamp62" element="led"><bounds x="4" y="18" width="1" height="1" /></bezel>
- <bezel name="lamp63" element="led"><bounds x="6" y="18" width="1" height="1" /></bezel>
- <bezel name="lamp64" element="led"><bounds x="8" y="18" width="1" height="1" /></bezel>
- <bezel name="lamp65" element="led"><bounds x="10" y="18" width="1" height="1" /></bezel>
-
- <bezel name="lamp70" element="led"><bounds x="0" y="20" width="1" height="1" /></bezel>
- <bezel name="lamp71" element="led"><bounds x="2" y="20" width="1" height="1" /></bezel>
- <bezel name="lamp72" element="led"><bounds x="4" y="20" width="1" height="1" /></bezel>
- <bezel name="lamp73" element="led"><bounds x="6" y="20" width="1" height="1" /></bezel>
- <bezel name="lamp74" element="led"><bounds x="8" y="20" width="1" height="1" /></bezel>
- <bezel name="lamp75" element="led"><bounds x="10" y="20" width="1" height="1" /></bezel>
-
- <bezel name="lamp97" element="led"><bounds x="2" y="22" width="1" height="1" /></bezel>
- <bezel name="lamp96" element="led"><bounds x="8" y="22" width="1" height="1" /></bezel>
+ <view name="Internal Layout">
+ <bounds left="-0.1" right="20.1" top="4.6" bottom="33.76" />
+ <screen index="0">
+ <bounds x="0" y="10" width="20" height="23.66" />
+ </screen>
- <bezel name="lamp30" element="led"><bounds x="0" y="24" width="1" height="1" /></bezel>
- <bezel name="lamp31" element="led"><bounds x="2" y="24" width="1" height="1" /></bezel>
- <bezel name="lamp32" element="led"><bounds x="4" y="24" width="1" height="1" /></bezel>
- <bezel name="lamp33" element="led"><bounds x="6" y="24" width="1" height="1" /></bezel>
- <bezel name="lamp34" element="led"><bounds x="8" y="24" width="1" height="1" /></bezel>
- <bezel name="lamp35" element="led"><bounds x="10" y="24" width="1" height="1" /></bezel>
+ <bezel element="static_white"><bounds x="6.6" y="4.59" width="6.8" height="3.81" /></bezel>
+ <bezel element="static_black"><bounds x="6.8" y="4.8" width="6.4" height="3.4" /></bezel>
+ <bezel element="text_score"><bounds x="2" y="5.75" width="4.6" height="1.5" /></bezel>
+ <bezel name="digit0" element="digit"><bounds x="7" y="5" width="2" height="3" /></bezel>
+ <bezel name="digit1" element="digit"><bounds x="9" y="5" width="2" height="3" /></bezel>
+ <bezel name="digit2" element="digit"><bounds x="11" y="5" width="2" height="3" /></bezel>
</view>
</mamelayout>