mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
microvsn: show paddle pos in layout (nw)
This commit is contained in:
parent
16ed4f6108
commit
9341daa9ed
@ -254,6 +254,19 @@ The "butmask" feature indicates cartridge button restrict mask (active-low)
|
||||
|
||||
<!-- Homebrew (real hardware) -->
|
||||
|
||||
<software name="microbrd">
|
||||
<description>MicroBird</description>
|
||||
<year>2018</year>
|
||||
<publisher>Ayza</publisher>
|
||||
<part name="cart" interface="microvision_cart">
|
||||
<feature name="clock" value="3000000" />
|
||||
<feature name="paddle" value="0" />
|
||||
<dataarea name="rom" size="0x400"> <!-- Intel 8748 MCU, reassembled to 8021 here -->
|
||||
<rom name="microbrd.bin" size="0x400" crc="475a093d" sha1="6e3d2f47c836c43e8a3e74fffe30a64964e8df8c"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="tetris">
|
||||
<description>Tetris (TMS1100 version)</description>
|
||||
<year>2019</year>
|
||||
@ -281,19 +294,6 @@ The "butmask" feature indicates cartridge button restrict mask (active-low)
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="microbrd">
|
||||
<description>MicroBird</description>
|
||||
<year>2018</year>
|
||||
<publisher>Ayza</publisher>
|
||||
<part name="cart" interface="microvision_cart">
|
||||
<feature name="clock" value="3000000" />
|
||||
<feature name="paddle" value="0" />
|
||||
<dataarea name="rom" size="0x400"> <!-- Intel 8748 MCU, reassembled to 8021 here -->
|
||||
<rom name="microbrd.bin" size="0x400" crc="475a093d" sha1="6e3d2f47c836c43e8a3e74fffe30a64964e8df8c"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<!-- Homebrew (emulator or Arduino version, untested on real console) -->
|
||||
|
||||
@ -309,7 +309,7 @@ The "butmask" feature indicates cartridge button restrict mask (active-low)
|
||||
</software>
|
||||
|
||||
<software name="invaders">
|
||||
<description>Invaders</description>
|
||||
<description>Space Invaders</description>
|
||||
<year>2014</year>
|
||||
<publisher>Paul Robson</publisher>
|
||||
<part name="cart" interface="microvision_cart">
|
||||
|
@ -7,8 +7,16 @@ license:CC0
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="lcdb"><rect><color red="1" green="1" blue="1" /></rect></element>
|
||||
<element name="lcdm"><rect><color red="0.75" green="0.78" blue="0.78" /></rect></element>
|
||||
<element name="lcda"><rect><color red="0.22" green="0.2" blue="0.33" /></rect></element> <!-- blue tint -->
|
||||
<element name="lcdm"><rect><color red="0.76" green="0.75" blue="0.71" /></rect></element>
|
||||
<element name="lcda"><rect><color red="0.22" green="0.2" blue="0.38" /></rect></element> <!-- blue tint -->
|
||||
|
||||
<element name="nothing" defstate="0"><text string=" "/></element>
|
||||
<element name="text_p1"><text string="PADDLE:" align="2"><color red="0.13" green="0.13" blue="0.15" /></text></element>
|
||||
<element name="text_p2" defstate="0">
|
||||
<simplecounter maxstate="999" digits="3" align="1">
|
||||
<color red="0.13" green="0.13" blue="0.15" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
@ -28,6 +36,11 @@ license:CC0
|
||||
|
||||
<element ref="lcda" blend="add"><bounds x="0" y="0" width="18" height="18" /></element>
|
||||
<element ref="lcdm" blend="multiply"><bounds x="0" y="0" width="18" height="18" /></element>
|
||||
|
||||
<!-- show paddle position -->
|
||||
<element ref="text_p1" blend="add"><bounds x="10.75" y="0.1" width="5" height="0.75" /></element>
|
||||
<element ref="nothing" blend="add" inputtag="PADDLE" inputmask="0x00" inputraw="1"><bounds x="15.95" y="0.1" width="2" height="0.75" /></element> <!-- block clickable input -->
|
||||
<element ref="text_p2" blend="add" inputtag="PADDLE" inputmask="0xff" inputraw="1"><bounds x="15.95" y="0.1" width="2" height="0.75" /></element>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
||||
|
Loading…
Reference in New Issue
Block a user