diff options
-rw-r--r-- | src/mame/drivers/hh_tms1k.cpp | 107 | ||||
-rw-r--r-- | src/mame/layout/f3in1.lay | 72 | ||||
-rw-r--r-- | src/mame/layout/xl25.lay | 167 |
3 files changed, 308 insertions, 38 deletions
diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index 82f501050c5..89c6af6bd94 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -188,6 +188,7 @@ #include "esbattle.lh" #include "esoccer.lh" #include "f2pbball.lh" +#include "f3in1.lh" #include "fxmcr165.lh" // clickable #include "gjackpot.lh" #include "gpoker.lh" @@ -217,6 +218,7 @@ #include "tc4.lh" #include "tcfball.lh" #include "tcfballa.lh" +#include "xl25.lh" // clickable #include "zodiac.lh" #include "hh_tms1k_test.lh" // common test-layout - use external artwork @@ -3980,6 +3982,12 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + + void set_clock(); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + +protected: + virtual void machine_reset() override; }; // handlers @@ -4022,9 +4030,9 @@ READ8_MEMBER(f3in1_state::read_k) static INPUT_PORTS_START( f3in1 ) PORT_START("IN.0") // R0 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON3 ) // P - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) // K - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) // D + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("P Button") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("K Button") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("D Button") PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.1") // R1 @@ -4043,19 +4051,40 @@ static INPUT_PORTS_START( f3in1 ) PORT_CONFSETTING( 0x02, "Football" ) PORT_CONFSETTING( 0x04, "Basketball" ) PORT_CONFSETTING( 0x08, "Soccer" ) + + PORT_START("IN.4") // fake + PORT_CONFNAME( 0x01, 0x00, DEF_STR( Difficulty ) ) PORT_CHANGED_MEMBER(DEVICE_SELF, f3in1_state, skill_switch, nullptr) + PORT_CONFSETTING( 0x00, "Regular" ) // REG + PORT_CONFSETTING( 0x01, "Professional" ) // PROF INPUT_PORTS_END +INPUT_CHANGED_MEMBER(f3in1_state::skill_switch) +{ + set_clock(); +} + +void f3in1_state::set_clock() +{ + // MCU clock is from an RC circuit where C=47pF, R=39K(PROF) or 56K(REG) + m_maincpu->set_unscaled_clock((m_inp_matrix[4]->read() & 1) ? 400000 : 300000); +} + +void f3in1_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + static MACHINE_CONFIG_START( f3in1 ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", TMS1100, 325000) // see set_clock ---TODO + MCFG_CPU_ADD("maincpu", TMS1100, 300000) // see set_clock MCFG_TMS1XXX_READ_K_CB(READ8(f3in1_state, read_k)) MCFG_TMS1XXX_WRITE_R_CB(WRITE16(f3in1_state, write_r)) MCFG_TMS1XXX_WRITE_O_CB(WRITE16(f3in1_state, write_o)) MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_tms1k_state, display_decay_tick, attotime::from_msec(1)) - //MCFG_DEFAULT_LAYOUT(layout_f3in1) - MCFG_DEFAULT_LAYOUT(layout_hh_tms1k_test) + MCFG_DEFAULT_LAYOUT(layout_f3in1) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") @@ -8790,6 +8819,9 @@ MACHINE_CONFIG_END * TMS1000SLC MP4486A (die label 1000C/, MP4486A) * 28 LEDs, 1-bit sound + This game is the same logic puzzle as Tiger's Lights Out, except that + all 25 lights need to be turned on instead of off. + ***************************************************************************/ class xl25_state : public hh_tms1k_state @@ -8858,63 +8890,63 @@ READ8_MEMBER(xl25_state::read_k) static INPUT_PORTS_START( xl25 ) PORT_START("IN.0") // R0 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_1) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_2) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_3) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 1") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 6") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 11") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.1") // R1 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_4) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_5) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_6) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 2") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 7") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 12") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.2") // R2 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_7) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_8) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_9) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 3") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 8") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 13") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.3") // R3 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_Q) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_W) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_E) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 4") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 9") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 14") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.4") // R4 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_R) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_T) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_Y) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 5") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 10") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 15") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.5") // R5 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_U) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_I) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_O) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 16") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 21") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_1) PORT_NAME("Store / Recall") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.6") // R6 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_A) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_S) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_D) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 17") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 22") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_2) PORT_NAME("Cross / Knight / Score") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.7") // R7 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_F) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_G) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_H) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 18") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 23") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_3) PORT_NAME("Clear") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.8") // R8 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_J) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_K) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_L) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 19") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 24") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_4) PORT_NAME("Random") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("IN.9") // R9 - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_Z) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_X) - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_C) PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 20") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Square 25") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_5) PORT_NAME("Sound") PORT_CHANGED_MEMBER(DEVICE_SELF, xl25_state, k4_button, nullptr) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END @@ -8938,8 +8970,7 @@ static MACHINE_CONFIG_START( xl25 ) MCFG_TMS1XXX_WRITE_O_CB(WRITE16(xl25_state, write_o)) MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_tms1k_state, display_decay_tick, attotime::from_msec(1)) - //MCFG_DEFAULT_LAYOUT(layout_xl25) - MCFG_DEFAULT_LAYOUT(layout_hh_tms1k_test) + MCFG_DEFAULT_LAYOUT(layout_xl25) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") diff --git a/src/mame/layout/f3in1.lay b/src/mame/layout/f3in1.lay new file mode 100644 index 00000000000..dea14a21528 --- /dev/null +++ b/src/mame/layout/f3in1.lay @@ -0,0 +1,72 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="digit" defstate="0"> + <led7seg><color red="1.0" green="0.25" blue="0.28" /></led7seg> + </element> + + <element name="led" defstate="0"> + <disk state="0"><color red="0.1" green="0.025" blue="0.028" /></disk> + <disk state="1"><color red="1.0" green="0.25" blue="0.28" /></disk> + </element> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="-1" right="30" top="3" bottom="24" /> + + <bezel name="digit6" element="digit"><bounds x="8" y="4" width="2" height="3" /></bezel> + <bezel name="digit7" element="digit"><bounds x="10" y="4" width="2" height="3" /></bezel> + <bezel name="digit8" element="digit"><bounds x="17" y="4" width="2" height="3" /></bezel> + <bezel name="digit9" element="digit"><bounds x="19" y="4" width="2" height="3" /></bezel> + + <bezel name="0.0" element="led"><bounds x="0" y="10" width="1" height="1" /></bezel> + <bezel name="0.1" element="led"><bounds x="4" y="10" width="1" height="1" /></bezel> + <bezel name="0.2" element="led"><bounds x="8" y="10" width="1" height="1" /></bezel> + <bezel name="0.3" element="led"><bounds x="12" y="10" width="1" height="1" /></bezel> + <bezel name="0.4" element="led"><bounds x="16" y="10" width="1" height="1" /></bezel> + <bezel name="0.5" element="led"><bounds x="20" y="10" width="1" height="1" /></bezel> + <bezel name="0.6" element="led"><bounds x="24" y="10" width="1" height="1" /></bezel> + <bezel name="0.7" element="led"><bounds x="28" y="10" width="1" height="1" /></bezel> + + <bezel name="1.0" element="led"><bounds x="0" y="13" width="1" height="1" /></bezel> + <bezel name="1.1" element="led"><bounds x="4" y="13" width="1" height="1" /></bezel> + <bezel name="1.2" element="led"><bounds x="8" y="13" width="1" height="1" /></bezel> + <bezel name="1.3" element="led"><bounds x="12" y="13" width="1" height="1" /></bezel> + <bezel name="1.4" element="led"><bounds x="16" y="13" width="1" height="1" /></bezel> + <bezel name="1.5" element="led"><bounds x="20" y="13" width="1" height="1" /></bezel> + <bezel name="1.6" element="led"><bounds x="24" y="13" width="1" height="1" /></bezel> + <bezel name="1.7" element="led"><bounds x="28" y="13" width="1" height="1" /></bezel> + + <bezel name="2.0" element="led"><bounds x="0" y="16" width="1" height="1" /></bezel> + <bezel name="2.1" element="led"><bounds x="4" y="16" width="1" height="1" /></bezel> + <bezel name="2.2" element="led"><bounds x="8" y="16" width="1" height="1" /></bezel> + <bezel name="2.3" element="led"><bounds x="12" y="16" width="1" height="1" /></bezel> + <bezel name="2.4" element="led"><bounds x="16" y="16" width="1" height="1" /></bezel> + <bezel name="2.5" element="led"><bounds x="20" y="16" width="1" height="1" /></bezel> + <bezel name="2.6" element="led"><bounds x="24" y="16" width="1" height="1" /></bezel> + <bezel name="2.7" element="led"><bounds x="28" y="16" width="1" height="1" /></bezel> + + <bezel name="3.0" element="led"><bounds x="0" y="19" width="1" height="1" /></bezel> + <bezel name="3.1" element="led"><bounds x="4" y="19" width="1" height="1" /></bezel> + <bezel name="3.2" element="led"><bounds x="8" y="19" width="1" height="1" /></bezel> + <bezel name="3.3" element="led"><bounds x="12" y="19" width="1" height="1" /></bezel> + <bezel name="3.4" element="led"><bounds x="16" y="19" width="1" height="1" /></bezel> + <bezel name="3.5" element="led"><bounds x="20" y="19" width="1" height="1" /></bezel> + <bezel name="3.6" element="led"><bounds x="24" y="19" width="1" height="1" /></bezel> + <bezel name="3.7" element="led"><bounds x="28" y="19" width="1" height="1" /></bezel> + + <bezel name="4.0" element="led"><bounds x="0" y="22" width="1" height="1" /></bezel> + <bezel name="4.1" element="led"><bounds x="4" y="22" width="1" height="1" /></bezel> + <bezel name="4.2" element="led"><bounds x="8" y="22" width="1" height="1" /></bezel> + <bezel name="4.3" element="led"><bounds x="12" y="22" width="1" height="1" /></bezel> + <bezel name="4.4" element="led"><bounds x="16" y="22" width="1" height="1" /></bezel> + <bezel name="4.5" element="led"><bounds x="20" y="22" width="1" height="1" /></bezel> + <bezel name="4.6" element="led"><bounds x="24" y="22" width="1" height="1" /></bezel> + <bezel name="4.7" element="led"><bounds x="28" y="22" width="1" height="1" /></bezel> + + </view> +</mamelayout> diff --git a/src/mame/layout/xl25.lay b/src/mame/layout/xl25.lay new file mode 100644 index 00000000000..4355e1e189f --- /dev/null +++ b/src/mame/layout/xl25.lay @@ -0,0 +1,167 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="static_btn"><rect><color red="0.15" green="0.02" blue="0.025" /></rect></element> + + <element name="led" defstate="0"> + <disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk> + <disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk> + </element> + + <element name="hl" defstate="0"> + <text string=" "> + <bounds x="0.0" y="0.0" width="1.0" height="1.0" /> + <color red="0.0" green="0.0" blue="0.0" /> + </text> + <disk state="1"> + <bounds x="0.07" y="0.07" width="0.86" height="0.86" /> + <color red="1.0" green="1.0" blue="1.0" /> + </disk> + </element> + + <element name="text_l1a"><text align="1" string="store"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l1b"><text string="/"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l1c"><text align="1" string="recall"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l2a"><text align="1" string="cross"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l2b"><text align="1" string="knight"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l2c"><text align="1" string="score"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l3"><text string="clear"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l4"><text string="random"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_l5"><text string="sound"><color red="0.8" green="0.8" blue="0.8" /></text></element> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="-1" right="25" top="-1" bottom="35" /> + + <!-- button panel --> + + <bezel element="static_btn"><bounds x="0" y="0" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="5" y="0" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="10" y="0" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="15" y="0" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="20" y="0" width="4" height="4" /></bezel> + + <bezel element="static_btn"><bounds x="0" y="5" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="5" y="5" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="10" y="5" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="15" y="5" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="20" y="5" width="4" height="4" /></bezel> + + <bezel element="static_btn"><bounds x="0" y="10" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="5" y="10" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="10" y="10" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="15" y="10" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="20" y="10" width="4" height="4" /></bezel> + + <bezel element="static_btn"><bounds x="0" y="15" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="5" y="15" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="10" y="15" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="15" y="15" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="20" y="15" width="4" height="4" /></bezel> + + <bezel element="static_btn"><bounds x="0" y="20" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="5" y="20" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="10" y="20" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="15" y="20" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="20" y="20" width="4" height="4" /></bezel> + + <bezel element="static_btn"><bounds x="0" y="27" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="5" y="27" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="10" y="27" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="15" y="27" width="4" height="4" /></bezel> + <bezel element="static_btn"><bounds x="20" y="27" width="4" height="4" /></bezel> + + <!-- labels --> + + <bezel element="text_l1a"><bounds x="1" y="31.5" width="6" height="1" /></bezel> + <bezel element="text_l1b"><bounds x="-1" y="32.5" width="6" height="1" /></bezel> + <bezel element="text_l1c"><bounds x="1" y="33.5" width="6" height="1" /></bezel> + + <bezel element="text_l2a"><bounds x="6" y="31.5" width="6" height="1" /></bezel> + <bezel element="text_l2b"><bounds x="6" y="32.5" width="6" height="1" /></bezel> + <bezel element="text_l2c"><bounds x="6" y="33.5" width="6" height="1" /></bezel> + + <bezel element="text_l3"><bounds x="9" y="31.5" width="6" height="1" /></bezel> + <bezel element="text_l4"><bounds x="14" y="31.5" width="6" height="1" /></bezel> + <bezel element="text_l5"><bounds x="19" y="31.5" width="6" height="1" /></bezel> + + <!-- leds --> + + <bezel name="0.0" element="led"><bounds x="1.25" y="1.25" width="1.5" height="1.5" /></bezel> + <bezel name="1.0" element="led"><bounds x="6.25" y="1.25" width="1.5" height="1.5" /></bezel> + <bezel name="2.0" element="led"><bounds x="11.25" y="1.25" width="1.5" height="1.5" /></bezel> + <bezel name="3.0" element="led"><bounds x="16.25" y="1.25" width="1.5" height="1.5" /></bezel> + <bezel name="4.0" element="led"><bounds x="21.25" y="1.25" width="1.5" height="1.5" /></bezel> + + <bezel name="0.1" element="led"><bounds x="1.25" y="6.25" width="1.5" height="1.5" /></bezel> + <bezel name="1.1" element="led"><bounds x="6.25" y="6.25" width="1.5" height="1.5" /></bezel> + <bezel name="2.1" element="led"><bounds x="11.25" y="6.25" width="1.5" height="1.5" /></bezel> + <bezel name="3.1" element="led"><bounds x="16.25" y="6.25" width="1.5" height="1.5" /></bezel> + <bezel name="4.1" element="led"><bounds x="21.25" y="6.25" width="1.5" height="1.5" /></bezel> + + <bezel name="0.2" element="led"><bounds x="1.25" y="11.25" width="1.5" height="1.5" /></bezel> + <bezel name="1.2" element="led"><bounds x="6.25" y="11.25" width="1.5" height="1.5" /></bezel> + <bezel name="2.2" element="led"><bounds x="11.25" y="11.25" width="1.5" height="1.5" /></bezel> + <bezel name="3.2" element="led"><bounds x="16.25" y="11.25" width="1.5" height="1.5" /></bezel> + <bezel name="4.2" element="led"><bounds x="21.25" y="11.25" width="1.5" height="1.5" /></bezel> + + <bezel name="5.0" element="led"><bounds x="1.25" y="16.25" width="1.5" height="1.5" /></bezel> + <bezel name="6.0" element="led"><bounds x="6.25" y="16.25" width="1.5" height="1.5" /></bezel> + <bezel name="7.0" element="led"><bounds x="11.25" y="16.25" width="1.5" height="1.5" /></bezel> + <bezel name="8.0" element="led"><bounds x="16.25" y="16.25" width="1.5" height="1.5" /></bezel> + <bezel name="9.0" element="led"><bounds x="21.25" y="16.25" width="1.5" height="1.5" /></bezel> + + <bezel name="5.1" element="led"><bounds x="1.25" y="21.25" width="1.5" height="1.5" /></bezel> + <bezel name="6.1" element="led"><bounds x="6.25" y="21.25" width="1.5" height="1.5" /></bezel> + <bezel name="7.1" element="led"><bounds x="11.25" y="21.25" width="1.5" height="1.5" /></bezel> + <bezel name="8.1" element="led"><bounds x="16.25" y="21.25" width="1.5" height="1.5" /></bezel> + <bezel name="9.1" element="led"><bounds x="21.25" y="21.25" width="1.5" height="1.5" /></bezel> + + <bezel name="6.2" element="led"><bounds x="6.25" y="28.25" width="1.5" height="1.5" /></bezel> + <bezel name="8.2" element="led"><bounds x="16.25" y="28.25" width="1.5" height="1.5" /></bezel> + <bezel name="9.2" element="led"><bounds x="21.25" y="28.25" width="1.5" height="1.5" /></bezel> + + <!-- input overlay --> + + <bezel element="hl" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="0" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x01"><bounds x="5" y="0" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x01"><bounds x="10" y="0" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.3" inputmask="0x01"><bounds x="15" y="0" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.4" inputmask="0x01"><bounds x="20" y="0" width="4" height="4" /><color alpha="0.08" /></bezel> + + <bezel element="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="5" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="5" y="5" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x02"><bounds x="10" y="5" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.3" inputmask="0x02"><bounds x="15" y="5" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.4" inputmask="0x02"><bounds x="20" y="5" width="4" height="4" /><color alpha="0.08" /></bezel> + + <bezel element="hl" inputtag="IN.0" inputmask="0x04"><bounds x="0" y="10" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.1" inputmask="0x04"><bounds x="5" y="10" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.2" inputmask="0x04"><bounds x="10" y="10" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.3" inputmask="0x04"><bounds x="15" y="10" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.4" inputmask="0x04"><bounds x="20" y="10" width="4" height="4" /><color alpha="0.08" /></bezel> + + <bezel element="hl" inputtag="IN.5" inputmask="0x01"><bounds x="0" y="15" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.6" inputmask="0x01"><bounds x="5" y="15" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.7" inputmask="0x01"><bounds x="10" y="15" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.8" inputmask="0x01"><bounds x="15" y="15" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.9" inputmask="0x01"><bounds x="20" y="15" width="4" height="4" /><color alpha="0.08" /></bezel> + + <bezel element="hl" inputtag="IN.5" inputmask="0x02"><bounds x="0" y="20" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.6" inputmask="0x02"><bounds x="5" y="20" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.7" inputmask="0x02"><bounds x="10" y="20" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.8" inputmask="0x02"><bounds x="15" y="20" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.9" inputmask="0x02"><bounds x="20" y="20" width="4" height="4" /><color alpha="0.08" /></bezel> + + <bezel element="hl" inputtag="IN.5" inputmask="0x04"><bounds x="0" y="27" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.6" inputmask="0x04"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.7" inputmask="0x04"><bounds x="10" y="27" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.8" inputmask="0x04"><bounds x="15" y="27" width="4" height="4" /><color alpha="0.08" /></bezel> + <bezel element="hl" inputtag="IN.9" inputmask="0x04"><bounds x="20" y="27" width="4" height="4" /><color alpha="0.08" /></bezel> + + </view> +</mamelayout> |