Skip to content

Commit

Permalink
Technics WSA1/WSA1R
Browse files Browse the repository at this point in the history
  • Loading branch information
felipesanches committed Aug 19, 2024
1 parent 26b9dcc commit b6cebad
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 2 deletions.
74 changes: 74 additions & 0 deletions src/mame/layout/wsa1r.lay
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0"?>
<!--
license:CC0-1.0
-->
<mamelayout version="2">

<!-- define elements -->

<element name="red_led" defstate="0">
<disk state="1">
<color red="1" green="0.0" blue="0.0"/>
</disk>
<disk state="0">
<color red="0.2" green="0.0" blue="0.0"/>
</disk>
</element>

<element name="green_led" defstate="0">
<disk state="1">
<color red="0.0" green="1.0" blue="0.0"/>
</disk>
<disk state="0">
<color red="0.0" green="0.2" blue="0.0"/>
</disk>
</element>

<element name="dark_grey_round_button">
<disk><color red="0.1" green="0.1" blue="0.1"/></disk>
</element>

<element name="dark_grey_button">
<rect><color red="0.1" green="0.1" blue="0.1"/></rect>
</element>

<element name="light_grey_button">
<rect><color red="0.2" green="0.2" blue="0.2"/></rect>
</element>

<element name="line">
<rect><color red="0.79" green="0.64" blue="0.49" /></rect>
</element>

<element name="screen_border">
<rect><color red="0.05" green="0.05" blue="0.05"/></rect>
</element>

<element name="maincpu_text"><text string="MAIN CPU"><color red="0.3" green="0.3" blue="0.3" /></text></element>

<!--
<element name="msp_title"><text string="MANUAL SEQUENCE PADS"><color red="0.79" green="0.64" blue="0.49" /></text></element>
-->

<!-- build screen -->

<view name="Internal Layout">
<bounds left="0" right="1600" top="0" bottom="500"/>
<element ref="screen_border"><bounds x="600" y="74" width="384" height="265"/></element>
<screen index="0"><bounds x="633" y="85" width="320" height="240"/></screen>

<!-- Buttons and LEDs -->

<element name="checking_device_led" ref="red_led"><!-- CHECK LED --><bounds x="1270" y="10" width="5" height="5"/></element>

<!-- Labels -->

<element ref="maincpu_text"><bounds x="1235" y="8" width="30" height="8"/></element>

<!--
<element ref="line"><bounds x="106" y="210" width="45" height="1"/></element>
<element ref="msp_title"><bounds x="155" y="207" width="101" height="8"/></element>
<element ref="line"><bounds x="259" y="210" width="45" height="1"/></element>
-->
</view>
</mamelayout>
7 changes: 5 additions & 2 deletions src/mame/mame.lst
Original file line number Diff line number Diff line change
Expand Up @@ -25058,10 +25058,13 @@ jr200 //
jr200u //

@source:matsushita/kn1500.cpp
kn1500 // (c) 199? Technics SX KN-1500 PCM Keyboard
kn1500 // (c) 1998 Technics SX KN-1500 PCM Keyboard

@source:matsushita/kn5000.cpp
kn5000 // (c) 199? Technics SX KN-5000 PCM Keyboard
kn5000 // (c) 1998 Technics SX KN-5000 PCM Keyboard

@source:matsushita/wsa1r.cpp
wsa1r // (c) 1995 Technics SX WSA1(R)

@source:matsushita/myb3k.cpp
myb3k //
Expand Down
Loading

0 comments on commit b6cebad

Please sign in to comment.