mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
added esbattle internal layout (nw)
This commit is contained in:
parent
73bdc2ab36
commit
11b9b66899
@ -155,6 +155,7 @@
|
||||
#include "einvader.lh" // test-layout(but still playable)
|
||||
#include "elecbowl.lh"
|
||||
#include "elecdet.lh"
|
||||
#include "esbattle.lh"
|
||||
#include "esoccer.lh"
|
||||
#include "fxmcr165.lh" // clickable
|
||||
#include "gjackpot.lh"
|
||||
@ -2561,16 +2562,16 @@ MACHINE_CONFIG_END
|
||||
|
||||
led translation table: led zz from game PCB = MAME y.x:
|
||||
|
||||
00 = - 10 = 1.1 20 = 2.3 30 = 5.2
|
||||
01 = 0.0 11 = 1.2 21 = 3.0 31 = 5.3
|
||||
02 = 0.1 12 = 1.3 22 = 3.1 32 = 6.0
|
||||
03 = 0.2 13 = 1.4 23 = 3.2 33 = 6.1
|
||||
04 = 0.3 14 = 1.5 24 = 3.3 34 = 7.2
|
||||
05 = 0.4 15 = 1.6 25 = 4.0 35 = 7.0
|
||||
06 = 0.5 16 = 1.7 26 = 4.1 36 = 7.1
|
||||
07 = 0.6 17 = 2.0 27 = 4.2
|
||||
08 = 0.7 18 = 2.1 28 = 5.0
|
||||
09 = 1.0 19 = 2.2 29 = 5.1
|
||||
0 = - 10 = 1.1 20 = 2.3 30 = 5.2
|
||||
1 = 0.0 11 = 1.2 21 = 3.0 31 = 5.3
|
||||
2 = 0.1 12 = 1.3 22 = 3.1 32 = 6.0
|
||||
3 = 0.2 13 = 1.4 23 = 3.2 33 = 6.1
|
||||
4 = 0.3 14 = 1.5 24 = 3.3 34 = 6.2
|
||||
5 = 0.4 15 = 1.6 25 = 4.0 35 = 7.0
|
||||
6 = 0.5 16 = 1.7 26 = 4.1 36 = 7.1
|
||||
7 = 0.6 17 = 2.0 27 = 4.2
|
||||
8 = 0.7 18 = 2.1 28 = 5.0
|
||||
9 = 1.0 19 = 2.2 29 = 5.1
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -2650,7 +2651,7 @@ static MACHINE_CONFIG_START( esbattle, esbattle_state )
|
||||
MCFG_TMS1XXX_WRITE_O_CB(WRITE16(esbattle_state, write_o))
|
||||
|
||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_tms1k_state, display_decay_tick, attotime::from_msec(1))
|
||||
MCFG_DEFAULT_LAYOUT(layout_hh_tms1k_test)
|
||||
MCFG_DEFAULT_LAYOUT(layout_esbattle)
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
|
83
src/mame/layout/esbattle.lay
Normal file
83
src/mame/layout/esbattle.lay
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0"?>
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- 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="disk_white"><disk><color red="0.8" green="0.8" blue="0.8" /></disk></element>
|
||||
|
||||
<element name="text_score"><text string="SCORE"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_ship"><text string="F"><color red="0.85" green="0.85" blue="0.85" /></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.1" green="0.02" blue="0.022" /></disk>
|
||||
<disk state="1"><color red="1.0" green="0.20" blue="0.22" /></disk>
|
||||
</element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="256" right="1954" top="-28" bottom="2170" />
|
||||
|
||||
<bezel element="static_white"><bounds x="476" y="-38" width="1258" height="2218" /></bezel>
|
||||
<bezel element="static_black"><bounds x="486" y="-18" width="1238" height="2178" /></bezel>
|
||||
|
||||
<bezel element="text_ship"><bounds x="566" y="2020" width="110" height="110" /></bezel>
|
||||
<bezel element="text_ship"><bounds x="1534" y="12" width="110" height="110" /><orientation rotate="180" /></bezel>
|
||||
|
||||
<bezel element="text_score"><bounds x="1734" y="1097" width="220" height="48" /></bezel>
|
||||
<bezel element="text_score"><bounds x="256" y="980" width="220" height="48" /><orientation rotate="180" /></bezel>
|
||||
|
||||
<bezel name="digit8" element="digit"><bounds x="1784" y="905" width="120" height="180" /></bezel>
|
||||
<bezel name="digit9" element="digit"><bounds x="306" y="1040" width="120" height="180" /><orientation rotate="180" /></bezel>
|
||||
|
||||
<!-- leds -->
|
||||
|
||||
<bezel name="0.0" element="led"><bounds x="1370" y="1683" width="70" height="70" /></bezel>
|
||||
<bezel name="0.1" element="led"><bounds x="1381" y="1519" width="70" height="70" /></bezel>
|
||||
<bezel name="0.2" element="led"><bounds x="1228" y="1607" width="70" height="70" /></bezel>
|
||||
<bezel name="0.3" element="led"><bounds x="1314" y="1393" width="70" height="70" /></bezel>
|
||||
<bezel name="0.4" element="led"><bounds x="1164" y="1466" width="70" height="70" /></bezel>
|
||||
<bezel name="0.5" element="led"><bounds x="1249" y="1263" width="70" height="70" /></bezel>
|
||||
<bezel name="0.6" element="led"><bounds x="1095" y="1327" width="70" height="70" /></bezel>
|
||||
<bezel name="0.7" element="led"><bounds x="1191" y="1126" width="70" height="70" /></bezel>
|
||||
<bezel name="1.0" element="led"><bounds x="1037" y="1211" width="70" height="70" /></bezel>
|
||||
<bezel name="1.1" element="led"><bounds x="1120" y="997" width="70" height="70" /></bezel>
|
||||
<bezel name="1.2" element="led"><bounds x="970" y="1089" width="70" height="70" /></bezel>
|
||||
<bezel name="1.3" element="led"><bounds x="1050" y="860" width="70" height="70" /></bezel>
|
||||
<bezel name="1.4" element="led"><bounds x="896" y="945" width="70" height="70" /></bezel>
|
||||
<bezel name="1.5" element="led"><bounds x="978" y="714" width="70" height="70" /></bezel>
|
||||
<bezel name="1.6" element="led"><bounds x="819" y="789" width="70" height="70" /></bezel>
|
||||
<bezel name="1.7" element="led"><bounds x="914" y="596" width="70" height="70" /></bezel>
|
||||
<bezel name="2.0" element="led"><bounds x="749" y="659" width="70" height="70" /></bezel>
|
||||
<bezel name="2.1" element="led"><bounds x="857" y="463" width="70" height="70" /></bezel>
|
||||
<bezel name="2.2" element="led"><bounds x="685" y="542" width="70" height="70" /></bezel>
|
||||
<bezel name="2.3" element="led"><bounds x="724" y="394" width="70" height="70" /></bezel>
|
||||
<bezel name="3.0" element="led"><bounds x="596" y="1672" width="70" height="70" /></bezel>
|
||||
<bezel name="3.1" element="led"><bounds x="651" y="1448" width="70" height="70" /></bezel>
|
||||
<bezel name="3.2" element="led"><bounds x="706" y="1245" width="70" height="70" /></bezel>
|
||||
<bezel name="3.3" element="led"><bounds x="753" y="1037" width="70" height="70" /></bezel>
|
||||
<bezel name="4.0" element="led"><bounds x="684" y="1815" width="70" height="70" /></bezel>
|
||||
<bezel name="4.1" element="led"><bounds x="822" y="1653" width="70" height="70" /></bezel>
|
||||
<bezel name="4.2" element="led"><bounds x="981" y="1479" width="70" height="70" /></bezel>
|
||||
<bezel name="5.0" element="led"><bounds x="1480" y="337" width="70" height="70" /></bezel>
|
||||
<bezel name="5.1" element="led"><bounds x="1428" y="566" width="70" height="70" /></bezel>
|
||||
<bezel name="5.2" element="led"><bounds x="1370" y="795" width="70" height="70" /></bezel>
|
||||
<bezel name="5.3" element="led"><bounds x="1309" y="1028" width="70" height="70" /></bezel>
|
||||
<bezel name="6.0" element="led"><bounds x="1348" y="288" width="70" height="70" /></bezel>
|
||||
<bezel name="6.1" element="led"><bounds x="1225" y="445" width="70" height="70" /></bezel>
|
||||
<bezel name="6.2" element="led"><bounds x="1118" y="579" width="70" height="70" /></bezel>
|
||||
|
||||
<bezel element="disk_white"><bounds x="1534" y="2020" width="110" height="110" /></bezel>
|
||||
<bezel element="disk_white"><bounds x="566" y="12" width="110" height="110" /></bezel>
|
||||
|
||||
<bezel name="7.0" element="led"><bounds x="1554" y="2040" width="70" height="70" /></bezel>
|
||||
<bezel name="7.1" element="led"><bounds x="586" y="32" width="70" height="70" /></bezel>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
Loading…
Reference in New Issue
Block a user