zac_1: added preliminary layout
This commit is contained in:
parent
0a56a64821
commit
04e4b16d08
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4416,6 +4416,7 @@ src/mame/layout/videopkr.lay svneol=native#text/plain
|
||||
src/mame/layout/wecleman.lay svneol=native#text/plain
|
||||
src/mame/layout/wildone.lay svneol=native#text/plain
|
||||
src/mame/layout/wldarrow.lay svneol=native#text/plain
|
||||
src/mame/layout/zac_1.lay svneol=native#text/plain
|
||||
src/mame/layout/zac_proto.lay svneol=native#text/plain
|
||||
src/mame/machine/3do.c svneol=native#text/plain
|
||||
src/mame/machine/acitya.c svneol=native#text/plain
|
||||
|
@ -15,6 +15,7 @@ ToDo:
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/s2650/s2650.h"
|
||||
#include "zac_1.lh"
|
||||
|
||||
class zac_1_state : public driver_device
|
||||
{
|
||||
@ -151,6 +152,9 @@ static MACHINE_CONFIG_START( zac_1, zac_1_state )
|
||||
MCFG_CPU_IO_MAP(zac_1_io)
|
||||
MCFG_TIMER_ADD_PERIODIC("zac_1_inttimer", zac_1_inttimer, attotime::from_hz(200))
|
||||
MCFG_TIMER_ADD_PERIODIC("zac_1_outtimer", zac_1_outtimer, attotime::from_hz(187500))
|
||||
|
||||
/* Video */
|
||||
MCFG_DEFAULT_LAYOUT(layout_zac_1)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
|
68
src/mame/layout/zac_1.lay
Normal file
68
src/mame/layout/zac_1.lay
Normal file
@ -0,0 +1,68 @@
|
||||
<!-- flicker.lay -->
|
||||
|
||||
<!-- 2012-08-22: Initial version. [Robbbert] -->
|
||||
|
||||
<mamelayout version="2">
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
<led7seg>
|
||||
<color red="1.0" green="0.0" blue="0.0" />
|
||||
</led7seg>
|
||||
</element>
|
||||
|
||||
<element name="background">
|
||||
<rect>
|
||||
<bounds left="0" top="0" right="1" bottom="1" />
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
</element>
|
||||
<element name="P0"><text string="Ball"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P3"><text string="Score"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
|
||||
<view name="Default Layout">
|
||||
|
||||
<!-- Background -->
|
||||
<backdrop element="background">
|
||||
<bounds left="0" top="0" right="318" bottom="180" />
|
||||
</backdrop>
|
||||
|
||||
<!-- LEDs -->
|
||||
<bezel name="digit5" element="digit">
|
||||
<bounds left="10" top="45" right="44" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit4" element="digit">
|
||||
<bounds left="54" top="45" right="88" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit3" element="digit">
|
||||
<bounds left="98" top="45" right="132" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit2" element="digit">
|
||||
<bounds left="142" top="45" right="176" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit1" element="digit">
|
||||
<bounds left="186" top="45" right="220" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit0" element="digit">
|
||||
<bounds left="230" top="45" right="264" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit10" element="digit">
|
||||
<bounds left="274" top="45" right="308" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit9" element="digit">
|
||||
<bounds left="30" top="145" right="54" bottom="170" />
|
||||
</bezel>
|
||||
<bezel name="digit8" element="digit">
|
||||
<bounds left="64" top="145" right="88" bottom="170" />
|
||||
</bezel>
|
||||
<bezel name="digit7" element="digit">
|
||||
<bounds left="230" top="145" right="254" bottom="170" />
|
||||
</bezel>
|
||||
<bezel name="digit6" element="digit">
|
||||
<bounds left="264" top="145" right="288" bottom="170" />
|
||||
</bezel>
|
||||
<bezel element="P0"><bounds left="230" right="288" top="110" bottom="135" /></bezel>
|
||||
<bezel element="P1"><bounds left="30" right="88" top="110" bottom="135" /></bezel>
|
||||
<bezel element="P3"><bounds left="100" right="200" top="10" bottom="35" /></bezel>
|
||||
</view>
|
||||
</mamelayout>
|
@ -2245,6 +2245,8 @@ $(DRIVERS)/wecleman.o: $(LAYOUT)/wecleman.lh
|
||||
|
||||
$(DRIVERS)/zac2650.o: $(LAYOUT)/tinv2650.lh
|
||||
|
||||
$(DRIVERS)/zac_1.o: $(LAYOUT)/zac_1.lh
|
||||
|
||||
$(DRIVERS)/zac_proto.o: $(LAYOUT)/zac_proto.lh
|
||||
|
||||
$(DRIVERS)/peyper.o: $(LAYOUT)/peyper.lh
|
||||
|
Loading…
Reference in New Issue
Block a user