summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-02-28 00:50:25 +0100
committer hap <happppp@users.noreply.github.com>2015-02-28 00:50:25 +0100
commit4879ae08b9b1f597ec6e5a184dd6811835f9cfb8 (patch)
treef259547d741aa455d436ffe0c09c476960dd0bbd
parente79c94c029d9ccad5307040ac5ee3b1d1afe49c5 (diff)
added ebball test layout
-rw-r--r--src/mess/drivers/hh_ucom4.c31
-rw-r--r--src/mess/drivers/wildfire.c4
-rw-r--r--src/mess/layout/ebball.lay86
-rw-r--r--src/mess/layout/edracula.lay2
-rw-r--r--src/mess/layout/tmpacman.lay2
-rw-r--r--src/mess/layout/wildfire.lay2
6 files changed, 99 insertions, 28 deletions
diff --git a/src/mess/drivers/hh_ucom4.c b/src/mess/drivers/hh_ucom4.c
index 0c07fa76ef4..e3790f19152 100644
--- a/src/mess/drivers/hh_ucom4.c
+++ b/src/mess/drivers/hh_ucom4.c
@@ -4,7 +4,6 @@
NEC uCOM4 MCU handhelds
- NOTE!: MESS external artwork is required for most of the games
serial device etc
@@ -26,7 +25,7 @@
#include "cpu/ucom4/ucom4.h"
#include "sound/speaker.h"
-// test-layouts for vfd games
+// test-layouts - use external artwork
#include "alnchase.lh"
#include "edracula.lh"
#include "tmpacman.lh"
@@ -48,7 +47,7 @@ public:
// devices
required_device<cpu_device> m_maincpu;
- optional_ioport_array<4> m_inp_matrix; // max 4
+ optional_ioport_array<3> m_inp_matrix; // max 3
optional_device<speaker_sound_device> m_speaker;
// misc common
@@ -57,7 +56,6 @@ public:
UINT8 read_inputs(int columns);
virtual void machine_start();
- virtual void machine_reset();
// display common
int m_display_wait;
@@ -123,9 +121,6 @@ void hh_ucom4_state::machine_start()
}
-void hh_ucom4_state::machine_reset()
-{
-}
/***************************************************************************
@@ -133,20 +128,7 @@ void hh_ucom4_state::machine_reset()
***************************************************************************/
-// LED segments
-#if 0
-enum
-{
- lA = 0x01,
- lB = 0x02,
- lC = 0x04,
- lD = 0x08,
- lE = 0x10,
- lF = 0x20,
- lG = 0x40,
- lDP = 0x80
-};
-#endif
+
// The device strobes the outputs very fast, it is unnoticeable to the user.
// To prevent flickering here, we need to simulate a decay.
@@ -242,6 +224,7 @@ UINT8 hh_ucom4_state::read_inputs(int columns)
- USA: Dracula, red case
- Other: Dracula, yellow case, published by Hales
+ NOTE!: MESS external artwork is recommended
***************************************************************************/
@@ -330,6 +313,7 @@ MACHINE_CONFIG_END
side, player 2 or CPU on the left. Each player has six possible positions
where to hit the ball. A backdrop behind the VFD shows a tennis court.
+ NOTE!: MESS external artwork is recommended
***************************************************************************/
@@ -420,7 +404,6 @@ INPUT_CHANGED_MEMBER(hh_ucom4_state::tmtennis_difficulty_switch)
MACHINE_RESET_MEMBER(hh_ucom4_state, tmtennis)
{
- machine_reset(); // common
tmtennis_set_clock();
}
@@ -466,6 +449,8 @@ MACHINE_CONFIG_END
- UK: Puckman (Tomy), and also as Munchman, published by Grandstand
- Australia: Pac Man-1, published by Futuretronics
+ NOTE!: MESS external artwork is recommended
+
***************************************************************************/
static INPUT_PORTS_START( tmpacman )
@@ -503,6 +488,8 @@ MACHINE_CONFIG_END
This is a space-themed tabletop VFD electronic game. To start, simply
press [UP]. Hold a joystick direction to move around.
+ NOTE!: MESS external artwork is recommended
+
***************************************************************************/
diff --git a/src/mess/drivers/wildfire.c b/src/mess/drivers/wildfire.c
index d0d66a473ac..1caa630a253 100644
--- a/src/mess/drivers/wildfire.c
+++ b/src/mess/drivers/wildfire.c
@@ -9,7 +9,7 @@
to create the illusion of a moving ball, and even the flippers are leds.
A drawing of a pinball table is added as overlay.
- NOTE!: MESS external artwork is required to be able to play
+ NOTE!: MESS external artwork is recommended
TODO:
@@ -25,7 +25,7 @@
#include "cpu/amis2000/amis2000.h"
#include "sound/speaker.h"
-#include "wildfire.lh" // this is a test layout, external artwork is necessary
+#include "wildfire.lh" // this is a test layout, use external artwork
// master clock is a single stage RC oscillator: R=?K, C=?pf,
// S2000 default frequency is 850kHz
diff --git a/src/mess/layout/ebball.lay b/src/mess/layout/ebball.lay
index e3f75ac08f6..2cb4e1dc217 100644
--- a/src/mess/layout/ebball.lay
+++ b/src/mess/layout/ebball.lay
@@ -16,12 +16,96 @@
<!-- build screen -->
- <view name="Internal Layout">
+ <view name="Test Layout">
<bounds left="0" right="64" top="0" bottom="64" />
<bezel element="static_black">
<bounds left="0" right="64" top="0" bottom="64" />
</bezel>
+ <bezel name="digit8" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel>
+
+ <!-- 7*9 matrix -->
+
+ <bezel name="lamp0" element="led"><bounds x="0" y="20" width="1" height="1" /></bezel>
+ <bezel name="lamp1" element="led"><bounds x="2" y="20" width="1" height="1" /></bezel>
+ <bezel name="lamp2" element="led"><bounds x="4" y="20" width="1" height="1" /></bezel>
+ <bezel name="lamp3" element="led"><bounds x="6" y="20" width="1" height="1" /></bezel>
+ <bezel name="lamp4" element="led"><bounds x="8" y="20" width="1" height="1" /></bezel>
+ <bezel name="lamp5" element="led"><bounds x="10" y="20" width="1" height="1" /></bezel>
+ <bezel name="lamp6" element="led"><bounds x="12" y="20" width="1" height="1" /></bezel>
+
+ <bezel name="lamp10" element="led"><bounds x="0" y="22" width="1" height="1" /></bezel>
+ <bezel name="lamp11" element="led"><bounds x="2" y="22" width="1" height="1" /></bezel>
+ <bezel name="lamp12" element="led"><bounds x="4" y="22" width="1" height="1" /></bezel>
+ <bezel name="lamp13" element="led"><bounds x="6" y="22" width="1" height="1" /></bezel>
+ <bezel name="lamp14" element="led"><bounds x="8" y="22" width="1" height="1" /></bezel>
+ <bezel name="lamp15" element="led"><bounds x="10" y="22" width="1" height="1" /></bezel>
+ <bezel name="lamp16" element="led"><bounds x="12" y="22" width="1" height="1" /></bezel>
+
+ <bezel name="lamp20" element="led"><bounds x="0" y="24" width="1" height="1" /></bezel>
+ <bezel name="lamp21" element="led"><bounds x="2" y="24" width="1" height="1" /></bezel>
+ <bezel name="lamp22" element="led"><bounds x="4" y="24" width="1" height="1" /></bezel>
+ <bezel name="lamp23" element="led"><bounds x="6" y="24" width="1" height="1" /></bezel>
+ <bezel name="lamp24" element="led"><bounds x="8" y="24" width="1" height="1" /></bezel>
+ <bezel name="lamp25" element="led"><bounds x="10" y="24" width="1" height="1" /></bezel>
+ <bezel name="lamp26" element="led"><bounds x="12" y="24" width="1" height="1" /></bezel>
+
+ <bezel name="lamp30" element="led"><bounds x="0" y="26" width="1" height="1" /></bezel>
+ <bezel name="lamp31" element="led"><bounds x="2" y="26" width="1" height="1" /></bezel>
+ <bezel name="lamp32" element="led"><bounds x="4" y="26" width="1" height="1" /></bezel>
+ <bezel name="lamp33" element="led"><bounds x="6" y="26" width="1" height="1" /></bezel>
+ <bezel name="lamp34" element="led"><bounds x="8" y="26" width="1" height="1" /></bezel>
+ <bezel name="lamp35" element="led"><bounds x="10" y="26" width="1" height="1" /></bezel>
+ <bezel name="lamp36" element="led"><bounds x="12" y="26" width="1" height="1" /></bezel>
+
+ <bezel name="lamp40" element="led"><bounds x="0" y="28" width="1" height="1" /></bezel>
+ <bezel name="lamp41" element="led"><bounds x="2" y="28" width="1" height="1" /></bezel>
+ <bezel name="lamp42" element="led"><bounds x="4" y="28" width="1" height="1" /></bezel>
+ <bezel name="lamp43" element="led"><bounds x="6" y="28" width="1" height="1" /></bezel>
+ <bezel name="lamp44" element="led"><bounds x="8" y="28" width="1" height="1" /></bezel>
+ <bezel name="lamp45" element="led"><bounds x="10" y="28" width="1" height="1" /></bezel>
+ <bezel name="lamp46" element="led"><bounds x="12" y="28" width="1" height="1" /></bezel>
+
+ <bezel name="lamp50" element="led"><bounds x="0" y="30" width="1" height="1" /></bezel>
+ <bezel name="lamp51" element="led"><bounds x="2" y="30" width="1" height="1" /></bezel>
+ <bezel name="lamp52" element="led"><bounds x="4" y="30" width="1" height="1" /></bezel>
+ <bezel name="lamp53" element="led"><bounds x="6" y="30" width="1" height="1" /></bezel>
+ <bezel name="lamp54" element="led"><bounds x="8" y="30" width="1" height="1" /></bezel>
+ <bezel name="lamp55" element="led"><bounds x="10" y="30" width="1" height="1" /></bezel>
+ <bezel name="lamp56" element="led"><bounds x="12" y="30" width="1" height="1" /></bezel>
+
+ <bezel name="lamp60" element="led"><bounds x="0" y="32" width="1" height="1" /></bezel>
+ <bezel name="lamp61" element="led"><bounds x="2" y="32" width="1" height="1" /></bezel>
+ <bezel name="lamp62" element="led"><bounds x="4" y="32" width="1" height="1" /></bezel>
+ <bezel name="lamp63" element="led"><bounds x="6" y="32" width="1" height="1" /></bezel>
+ <bezel name="lamp64" element="led"><bounds x="8" y="32" width="1" height="1" /></bezel>
+ <bezel name="lamp65" element="led"><bounds x="10" y="32" width="1" height="1" /></bezel>
+ <bezel name="lamp66" element="led"><bounds x="12" y="32" width="1" height="1" /></bezel>
+
+ <bezel name="lamp70" element="led"><bounds x="0" y="34" width="1" height="1" /></bezel>
+ <bezel name="lamp71" element="led"><bounds x="2" y="34" width="1" height="1" /></bezel>
+ <bezel name="lamp72" element="led"><bounds x="4" y="34" width="1" height="1" /></bezel>
+ <bezel name="lamp73" element="led"><bounds x="6" y="34" width="1" height="1" /></bezel>
+ <bezel name="lamp74" element="led"><bounds x="8" y="34" width="1" height="1" /></bezel>
+ <bezel name="lamp75" element="led"><bounds x="10" y="34" width="1" height="1" /></bezel>
+ <bezel name="lamp76" element="led"><bounds x="12" y="34" width="1" height="1" /></bezel>
+
+ <bezel name="lamp80" element="led"><bounds x="0" y="36" width="1" height="1" /></bezel>
+ <bezel name="lamp81" element="led"><bounds x="2" y="36" width="1" height="1" /></bezel>
+ <bezel name="lamp82" element="led"><bounds x="4" y="36" width="1" height="1" /></bezel>
+ <bezel name="lamp83" element="led"><bounds x="6" y="36" width="1" height="1" /></bezel>
+ <bezel name="lamp84" element="led"><bounds x="8" y="36" width="1" height="1" /></bezel>
+ <bezel name="lamp85" element="led"><bounds x="10" y="36" width="1" height="1" /></bezel>
+ <bezel name="lamp86" element="led"><bounds x="12" y="36" width="1" height="1" /></bezel>
+
+ <bezel name="lamp90" element="led"><bounds x="0" y="38" width="1" height="1" /></bezel>
+ <bezel name="lamp91" element="led"><bounds x="2" y="38" width="1" height="1" /></bezel>
+ <bezel name="lamp92" element="led"><bounds x="4" y="38" width="1" height="1" /></bezel>
+ <bezel name="lamp93" element="led"><bounds x="6" y="38" width="1" height="1" /></bezel>
+ <bezel name="lamp94" element="led"><bounds x="8" y="38" width="1" height="1" /></bezel>
+ <bezel name="lamp95" element="led"><bounds x="10" y="38" width="1" height="1" /></bezel>
+ <bezel name="lamp96" element="led"><bounds x="12" y="38" width="1" height="1" /></bezel>
+
</view>
</mamelayout>
diff --git a/src/mess/layout/edracula.lay b/src/mess/layout/edracula.lay
index 174b8dbb090..9411b76bc42 100644
--- a/src/mess/layout/edracula.lay
+++ b/src/mess/layout/edracula.lay
@@ -19,7 +19,7 @@
<bounds left="0" right="64" top="0" bottom="64" />
</bezel>
- <!-- 8*18 matrix -->
+ <!-- 18*8 matrix -->
<bezel name="lamp700" element="led"><bounds x="0" y="0" width="1" height="1" /></bezel>
<bezel name="lamp701" element="led"><bounds x="0" y="2" width="1" height="1" /></bezel>
diff --git a/src/mess/layout/tmpacman.lay b/src/mess/layout/tmpacman.lay
index e0a42256316..5ba1bfa2812 100644
--- a/src/mess/layout/tmpacman.lay
+++ b/src/mess/layout/tmpacman.lay
@@ -19,7 +19,7 @@
<bounds left="0" right="64" top="0" bottom="64" />
</bezel>
- <!-- 8*19 matrix -->
+ <!-- 19*8 matrix -->
<bezel name="lamp0" element="led"><bounds x="0" y="0" width="1" height="1" /></bezel>
<bezel name="lamp1" element="led"><bounds x="0" y="2" width="1" height="1" /></bezel>
diff --git a/src/mess/layout/wildfire.lay b/src/mess/layout/wildfire.lay
index 51d25ca1fa0..c2c5ef210be 100644
--- a/src/mess/layout/wildfire.lay
+++ b/src/mess/layout/wildfire.lay
@@ -26,7 +26,7 @@
<bezel name="digit1" element="digit"><bounds x="10" y="0" width="10" height="15" /></bezel>
<bezel name="digit2" element="digit"><bounds x="20" y="0" width="10" height="15" /></bezel>
- <!-- 8*13 matrix (first 3 are the 7segs) -->
+ <!-- 13*8 matrix (first 3 are the 7segs) -->
<bezel name="lamp0" element="led"><bounds x="0" y="20" width="1" height="1" /></bezel>
<bezel name="lamp1" element="led"><bounds x="2" y="20" width="1" height="1" /></bezel>