Previous 199869 Revisions Next

r36130 Friday 27th February, 2015 at 23:50:25 UTC by hap
added ebball test layout
[src/mess/drivers]hh_ucom4.c wildfire.c
[src/mess/layout]ebball.lay edracula.lay tmpacman.lay wildfire.lay

trunk/src/mess/drivers/hh_ucom4.c
r244641r244642
44
55  NEC uCOM4 MCU handhelds
66
7  NOTE!: MESS external artwork is required for most of the games
87
98
109  serial  device  etc
r244641r244642
2625#include "cpu/ucom4/ucom4.h"
2726#include "sound/speaker.h"
2827
29// test-layouts for vfd games
28// test-layouts - use external artwork
3029#include "alnchase.lh"
3130#include "edracula.lh"
3231#include "tmpacman.lh"
r244641r244642
4847
4948   // devices
5049   required_device<cpu_device> m_maincpu;
51   optional_ioport_array<4> m_inp_matrix; // max 4
50   optional_ioport_array<3> m_inp_matrix; // max 3
5251   optional_device<speaker_sound_device> m_speaker;
5352   
5453   // misc common
r244641r244642
5756   UINT8 read_inputs(int columns);
5857
5958   virtual void machine_start();
60   virtual void machine_reset();
6159
6260   // display common
6361   int m_display_wait;
r244641r244642
123121}
124122
125123
126void hh_ucom4_state::machine_reset()
127{
128}
129124
130125/***************************************************************************
131126
r244641r244642
133128
134129***************************************************************************/
135130
136// LED segments
137#if 0
138enum
139{
140   lA = 0x01,
141   lB = 0x02,
142   lC = 0x04,
143   lD = 0x08,
144   lE = 0x10,
145   lF = 0x20,
146   lG = 0x40,
147   lDP = 0x80
148};
149#endif
150131
132
151133// The device strobes the outputs very fast, it is unnoticeable to the user.
152134// To prevent flickering here, we need to simulate a decay.
153135
r244641r244642
242224  - USA: Dracula, red case
243225  - Other: Dracula, yellow case, published by Hales
244226
227  NOTE!: MESS external artwork is recommended
245228
246229
247230***************************************************************************/
r244641r244642
330313  side, player 2 or CPU on the left. Each player has six possible positions
331314  where to hit the ball. A backdrop behind the VFD shows a tennis court.
332315
316  NOTE!: MESS external artwork is recommended
333317
334318***************************************************************************/
335319
r244641r244642
420404
421405MACHINE_RESET_MEMBER(hh_ucom4_state, tmtennis)
422406{
423   machine_reset(); // common
424407   tmtennis_set_clock();
425408}
426409
r244641r244642
466449  - UK: Puckman (Tomy), and also as Munchman, published by Grandstand
467450  - Australia: Pac Man-1, published by Futuretronics
468451
452  NOTE!: MESS external artwork is recommended
453
469454***************************************************************************/
470455
471456static INPUT_PORTS_START( tmpacman )
r244641r244642
503488  This is a space-themed tabletop VFD electronic game. To start, simply
504489  press [UP]. Hold a joystick direction to move around.
505490
491  NOTE!: MESS external artwork is recommended
492
506493***************************************************************************/
507494
508495
trunk/src/mess/drivers/wildfire.c
r244641r244642
99  to create the illusion of a moving ball, and even the flippers are leds.
1010  A drawing of a pinball table is added as overlay.
1111
12  NOTE!: MESS external artwork is required to be able to play
12  NOTE!: MESS external artwork is recommended
1313
1414
1515  TODO:
r244641r244642
2525#include "cpu/amis2000/amis2000.h"
2626#include "sound/speaker.h"
2727
28#include "wildfire.lh" // this is a test layout, external artwork is necessary
28#include "wildfire.lh" // this is a test layout, use external artwork
2929
3030// master clock is a single stage RC oscillator: R=?K, C=?pf,
3131// S2000 default frequency is 850kHz
trunk/src/mess/layout/ebball.lay
r244641r244642
1616
1717<!-- build screen -->
1818
19   <view name="Internal Layout">
19   <view name="Test Layout">
2020      <bounds left="0" right="64" top="0" bottom="64" />
2121      <bezel element="static_black">
2222         <bounds left="0" right="64" top="0" bottom="64" />
2323      </bezel>
2424
25      <bezel name="digit8" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel>
2526
27   <!-- 7*9 matrix -->
28
29      <bezel name="lamp0" element="led"><bounds x="0" y="20" width="1" height="1" /></bezel>
30      <bezel name="lamp1" element="led"><bounds x="2" y="20" width="1" height="1" /></bezel>
31      <bezel name="lamp2" element="led"><bounds x="4" y="20" width="1" height="1" /></bezel>
32      <bezel name="lamp3" element="led"><bounds x="6" y="20" width="1" height="1" /></bezel>
33      <bezel name="lamp4" element="led"><bounds x="8" y="20" width="1" height="1" /></bezel>
34      <bezel name="lamp5" element="led"><bounds x="10" y="20" width="1" height="1" /></bezel>
35      <bezel name="lamp6" element="led"><bounds x="12" y="20" width="1" height="1" /></bezel>
36
37      <bezel name="lamp10" element="led"><bounds x="0" y="22" width="1" height="1" /></bezel>
38      <bezel name="lamp11" element="led"><bounds x="2" y="22" width="1" height="1" /></bezel>
39      <bezel name="lamp12" element="led"><bounds x="4" y="22" width="1" height="1" /></bezel>
40      <bezel name="lamp13" element="led"><bounds x="6" y="22" width="1" height="1" /></bezel>
41      <bezel name="lamp14" element="led"><bounds x="8" y="22" width="1" height="1" /></bezel>
42      <bezel name="lamp15" element="led"><bounds x="10" y="22" width="1" height="1" /></bezel>
43      <bezel name="lamp16" element="led"><bounds x="12" y="22" width="1" height="1" /></bezel>
44
45      <bezel name="lamp20" element="led"><bounds x="0" y="24" width="1" height="1" /></bezel>
46      <bezel name="lamp21" element="led"><bounds x="2" y="24" width="1" height="1" /></bezel>
47      <bezel name="lamp22" element="led"><bounds x="4" y="24" width="1" height="1" /></bezel>
48      <bezel name="lamp23" element="led"><bounds x="6" y="24" width="1" height="1" /></bezel>
49      <bezel name="lamp24" element="led"><bounds x="8" y="24" width="1" height="1" /></bezel>
50      <bezel name="lamp25" element="led"><bounds x="10" y="24" width="1" height="1" /></bezel>
51      <bezel name="lamp26" element="led"><bounds x="12" y="24" width="1" height="1" /></bezel>
52
53      <bezel name="lamp30" element="led"><bounds x="0" y="26" width="1" height="1" /></bezel>
54      <bezel name="lamp31" element="led"><bounds x="2" y="26" width="1" height="1" /></bezel>
55      <bezel name="lamp32" element="led"><bounds x="4" y="26" width="1" height="1" /></bezel>
56      <bezel name="lamp33" element="led"><bounds x="6" y="26" width="1" height="1" /></bezel>
57      <bezel name="lamp34" element="led"><bounds x="8" y="26" width="1" height="1" /></bezel>
58      <bezel name="lamp35" element="led"><bounds x="10" y="26" width="1" height="1" /></bezel>
59      <bezel name="lamp36" element="led"><bounds x="12" y="26" width="1" height="1" /></bezel>
60
61      <bezel name="lamp40" element="led"><bounds x="0" y="28" width="1" height="1" /></bezel>
62      <bezel name="lamp41" element="led"><bounds x="2" y="28" width="1" height="1" /></bezel>
63      <bezel name="lamp42" element="led"><bounds x="4" y="28" width="1" height="1" /></bezel>
64      <bezel name="lamp43" element="led"><bounds x="6" y="28" width="1" height="1" /></bezel>
65      <bezel name="lamp44" element="led"><bounds x="8" y="28" width="1" height="1" /></bezel>
66      <bezel name="lamp45" element="led"><bounds x="10" y="28" width="1" height="1" /></bezel>
67      <bezel name="lamp46" element="led"><bounds x="12" y="28" width="1" height="1" /></bezel>
68
69      <bezel name="lamp50" element="led"><bounds x="0" y="30" width="1" height="1" /></bezel>
70      <bezel name="lamp51" element="led"><bounds x="2" y="30" width="1" height="1" /></bezel>
71      <bezel name="lamp52" element="led"><bounds x="4" y="30" width="1" height="1" /></bezel>
72      <bezel name="lamp53" element="led"><bounds x="6" y="30" width="1" height="1" /></bezel>
73      <bezel name="lamp54" element="led"><bounds x="8" y="30" width="1" height="1" /></bezel>
74      <bezel name="lamp55" element="led"><bounds x="10" y="30" width="1" height="1" /></bezel>
75      <bezel name="lamp56" element="led"><bounds x="12" y="30" width="1" height="1" /></bezel>
76
77      <bezel name="lamp60" element="led"><bounds x="0" y="32" width="1" height="1" /></bezel>
78      <bezel name="lamp61" element="led"><bounds x="2" y="32" width="1" height="1" /></bezel>
79      <bezel name="lamp62" element="led"><bounds x="4" y="32" width="1" height="1" /></bezel>
80      <bezel name="lamp63" element="led"><bounds x="6" y="32" width="1" height="1" /></bezel>
81      <bezel name="lamp64" element="led"><bounds x="8" y="32" width="1" height="1" /></bezel>
82      <bezel name="lamp65" element="led"><bounds x="10" y="32" width="1" height="1" /></bezel>
83      <bezel name="lamp66" element="led"><bounds x="12" y="32" width="1" height="1" /></bezel>
84
85      <bezel name="lamp70" element="led"><bounds x="0" y="34" width="1" height="1" /></bezel>
86      <bezel name="lamp71" element="led"><bounds x="2" y="34" width="1" height="1" /></bezel>
87      <bezel name="lamp72" element="led"><bounds x="4" y="34" width="1" height="1" /></bezel>
88      <bezel name="lamp73" element="led"><bounds x="6" y="34" width="1" height="1" /></bezel>
89      <bezel name="lamp74" element="led"><bounds x="8" y="34" width="1" height="1" /></bezel>
90      <bezel name="lamp75" element="led"><bounds x="10" y="34" width="1" height="1" /></bezel>
91      <bezel name="lamp76" element="led"><bounds x="12" y="34" width="1" height="1" /></bezel>
92
93      <bezel name="lamp80" element="led"><bounds x="0" y="36" width="1" height="1" /></bezel>
94      <bezel name="lamp81" element="led"><bounds x="2" y="36" width="1" height="1" /></bezel>
95      <bezel name="lamp82" element="led"><bounds x="4" y="36" width="1" height="1" /></bezel>
96      <bezel name="lamp83" element="led"><bounds x="6" y="36" width="1" height="1" /></bezel>
97      <bezel name="lamp84" element="led"><bounds x="8" y="36" width="1" height="1" /></bezel>
98      <bezel name="lamp85" element="led"><bounds x="10" y="36" width="1" height="1" /></bezel>
99      <bezel name="lamp86" element="led"><bounds x="12" y="36" width="1" height="1" /></bezel>
100
101      <bezel name="lamp90" element="led"><bounds x="0" y="38" width="1" height="1" /></bezel>
102      <bezel name="lamp91" element="led"><bounds x="2" y="38" width="1" height="1" /></bezel>
103      <bezel name="lamp92" element="led"><bounds x="4" y="38" width="1" height="1" /></bezel>
104      <bezel name="lamp93" element="led"><bounds x="6" y="38" width="1" height="1" /></bezel>
105      <bezel name="lamp94" element="led"><bounds x="8" y="38" width="1" height="1" /></bezel>
106      <bezel name="lamp95" element="led"><bounds x="10" y="38" width="1" height="1" /></bezel>
107      <bezel name="lamp96" element="led"><bounds x="12" y="38" width="1" height="1" /></bezel>
108
109
26110   </view>
27111</mamelayout>
trunk/src/mess/layout/edracula.lay
r244641r244642
1919         <bounds left="0" right="64" top="0" bottom="64" />
2020      </bezel>
2121
22   <!-- 8*18 matrix -->
22   <!-- 18*8 matrix -->
2323
2424      <bezel name="lamp700" element="led"><bounds x="0" y="0" width="1" height="1" /></bezel>
2525      <bezel name="lamp701" element="led"><bounds x="0" y="2" width="1" height="1" /></bezel>
trunk/src/mess/layout/tmpacman.lay
r244641r244642
1919         <bounds left="0" right="64" top="0" bottom="64" />
2020      </bezel>
2121
22   <!-- 8*19 matrix -->
22   <!-- 19*8 matrix -->
2323
2424      <bezel name="lamp0" element="led"><bounds x="0" y="0" width="1" height="1" /></bezel>
2525      <bezel name="lamp1" element="led"><bounds x="0" y="2" width="1" height="1" /></bezel>
trunk/src/mess/layout/wildfire.lay
r244641r244642
2626      <bezel name="digit1" element="digit"><bounds x="10" y="0" width="10" height="15" /></bezel>
2727      <bezel name="digit2" element="digit"><bounds x="20" y="0" width="10" height="15" /></bezel>
2828
29   <!-- 8*13 matrix (first 3 are the 7segs) -->
29   <!-- 13*8 matrix (first 3 are the 7segs) -->
3030
3131      <bezel name="lamp0" element="led"><bounds x="0" y="20" width="1" height="1" /></bezel>
3232      <bezel name="lamp1" element="led"><bounds x="2" y="20" width="1" height="1" /></bezel>


Previous 199869 Revisions Next


© 1997-2024 The MAME Team