trunk/src/mess/drivers/merlin.c
| r241710 | r241711 | |
| 1 | | /* |
| 1 | /*************************************************************************** |
| 2 | 2 | |
| 3 | | Parker Bros Merlin handheld computer game |
| 3 | Parker Bros Merlin handheld computer game |
| 4 | * TMS1100NLL MP3404A-N2 (has internal ROM) |
| 5 | |
| 6 | Other games assumed to be on similar hardware: |
| 7 | - Dr. Smith - by Tomy, released in Japan (basically a white version of Merlin, |
| 8 | let's assume for now that the ROM contents is identical) |
| 9 | - Master Merlin |
| 10 | |
| 11 | Another sequel, called Split Second, looks like different hardware. |
| 4 | 12 | |
| 5 | | */ |
| 6 | 13 | |
| 14 | TODO: |
| 15 | - accurate rc osc |
| 16 | - is the rom dump good? |
| 17 | |
| 18 | ***************************************************************************/ |
| 19 | |
| 7 | 20 | #include "emu.h" |
| 8 | 21 | #include "cpu/tms0980/tms0980.h" |
| 9 | 22 | #include "sound/speaker.h" |
| 10 | 23 | |
| 11 | | /* Layout */ |
| 12 | 24 | #include "merlin.lh" |
| 13 | 25 | |
| 26 | // master clock is a single stage RC oscillator: R=?, C=? |
| 27 | #define MERLIN_RC_CLOCK (500000) |
| 14 | 28 | |
| 29 | |
| 15 | 30 | class merlin_state : public driver_device |
| 16 | 31 | { |
| 17 | 32 | public: |
| 18 | 33 | merlin_state(const machine_config &mconfig, device_type type, const char *tag) |
| 19 | 34 | : driver_device(mconfig, type, tag), |
| 20 | | m_speaker(*this, "speaker") , |
| 21 | | m_maincpu(*this, "maincpu") { } |
| 35 | m_maincpu(*this, "maincpu"), |
| 36 | m_button_matrix(*this, "O"), |
| 37 | m_speaker(*this, "speaker") |
| 38 | { } |
| 22 | 39 | |
| 23 | | virtual void machine_start(); |
| 24 | | |
| 40 | required_device<cpu_device> m_maincpu; |
| 41 | required_ioport_array<4> m_button_matrix; |
| 25 | 42 | required_device<speaker_sound_device> m_speaker; |
| 26 | 43 | |
| 44 | UINT16 m_o; |
| 45 | |
| 27 | 46 | DECLARE_READ8_MEMBER(read_k); |
| 28 | 47 | DECLARE_WRITE16_MEMBER(write_o); |
| 29 | 48 | DECLARE_WRITE16_MEMBER(write_r); |
| 30 | 49 | |
| 31 | | protected: |
| 32 | | UINT16 m_o; |
| 33 | | UINT16 m_r; |
| 34 | | required_device<cpu_device> m_maincpu; |
| 50 | virtual void machine_start(); |
| 35 | 51 | }; |
| 36 | 52 | |
| 37 | 53 | |
| 38 | | #define LOG 0 |
| 54 | /*************************************************************************** |
| 39 | 55 | |
| 56 | I/O |
| 40 | 57 | |
| 41 | | static INPUT_PORTS_START( merlin ) |
| 42 | | PORT_START("O0") |
| 43 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_CODE(KEYCODE_0) PORT_NAME("R0") // R0 |
| 44 | | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_CODE(KEYCODE_1) PORT_NAME("R1") // R1 |
| 45 | | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON4) PORT_CODE(KEYCODE_3) PORT_NAME("R3") // R3 |
| 46 | | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON3) PORT_CODE(KEYCODE_2) PORT_NAME("R2") // R2 |
| 58 | ***************************************************************************/ |
| 47 | 59 | |
| 48 | | PORT_START("O1") |
| 49 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON5) PORT_CODE(KEYCODE_4) PORT_NAME("R4") // R4 |
| 50 | | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON6) PORT_CODE(KEYCODE_5) PORT_NAME("R5") // R5 |
| 51 | | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON8) PORT_CODE(KEYCODE_7) PORT_NAME("R7") // R7 |
| 52 | | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON7) PORT_CODE(KEYCODE_6) PORT_NAME("R6") // R6 |
| 60 | /* The keypad is a 4*4 matrix, connected like so: |
| 53 | 61 | |
| 54 | | PORT_START("O2") |
| 55 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON9) PORT_CODE(KEYCODE_8) PORT_NAME("R8") // R8 |
| 56 | | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_CODE(KEYCODE_9) PORT_NAME("R9") // R9 |
| 57 | | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON13) PORT_CODE(KEYCODE_S) PORT_NAME("Same Game") // SG - same game |
| 58 | | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_CODE(KEYCODE_MINUS) PORT_NAME("R10") // R10 |
| 59 | | |
| 60 | | PORT_START("O3") |
| 61 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_UNUSED) |
| 62 | | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON15) PORT_CODE(KEYCODE_C) PORT_NAME("Comp Turn") // Comp Turn |
| 63 | | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON14) PORT_CODE(KEYCODE_H) PORT_NAME("Hit Me") // Hit me |
| 64 | | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_CODE(KEYCODE_N) PORT_NAME("New Game") // NG - new game |
| 65 | | |
| 66 | | INPUT_PORTS_END |
| 67 | | |
| 68 | | |
| 69 | | /* |
| 70 | | The keypad is a 4*4 matrix, connected like so: |
| 71 | | |
| 72 | 62 | +----+ +----+ +----+ +----+ |
| 73 | 63 | O0 o---| R0 |--| R1 |--| R2 |--| R3 | |
| 74 | 64 | +----+ +----+ +----+ +----+ |
| r241710 | r241711 | |
| 88 | 78 | o o o o |
| 89 | 79 | K1 K2 K8 K4 |
| 90 | 80 | |
| 91 | | SG = same game, CT = comp turn, NG = new game, HM = hit me |
| 92 | | */ |
| 81 | SG = same game, CT = comp turn, NG = new game, HM = hit me */ |
| 93 | 82 | |
| 94 | 83 | READ8_MEMBER(merlin_state::read_k) |
| 95 | 84 | { |
| 96 | | UINT8 data = 0; |
| 85 | UINT8 k = 0; |
| 86 | |
| 87 | // read selected button rows |
| 88 | for (int i = 0; i < 4; i++) |
| 89 | if (m_o & (1 << i)) |
| 90 | k |= m_button_matrix[i]->read(); |
| 97 | 91 | |
| 98 | | if (LOG) |
| 99 | | logerror( "read_k\n" ); |
| 92 | return k; |
| 93 | } |
| 100 | 94 | |
| 101 | | if ( m_o & 0x01 ) |
| 102 | | { |
| 103 | | data |= ioport("O0")->read(); |
| 104 | | } |
| 95 | WRITE16_MEMBER(merlin_state::write_o) |
| 96 | { |
| 97 | // O0-O3: input mux |
| 98 | m_o = data; |
| 105 | 99 | |
| 106 | | if ( m_o & 0x02 ) |
| 107 | | { |
| 108 | | data |= ioport("O1")->read(); |
| 109 | | } |
| 100 | /* The speaker is connected to O4 through O6. The 3 outputs are paralleled for |
| 101 | increased current driving capability. They are passed thru a 220 ohm resistor |
| 102 | and then to the speaker, which has the other side grounded. The software then |
| 103 | toggles these lines to make sounds and noises. (There is no audio generator |
| 104 | other than toggling it with a software delay between to make tones). */ |
| 105 | m_speaker->level_w(m_o & 0x70); |
| 106 | } |
| 110 | 107 | |
| 111 | | if ( m_o & 0x04 ) |
| 112 | | { |
| 113 | | data |= ioport("O2")->read(); |
| 114 | | } |
| 108 | WRITE16_MEMBER(merlin_state::write_r) |
| 109 | { |
| 110 | /* LEDs: |
| 115 | 111 | |
| 116 | | if ( m_o & 0x08 ) |
| 117 | | { |
| 118 | | data |= ioport("O3")->read(); |
| 119 | | } |
| 120 | | |
| 121 | | return data; |
| 112 | R0 |
| 113 | R1 R2 R3 |
| 114 | R4 R5 R6 |
| 115 | R7 R8 R9 |
| 116 | R10 |
| 117 | */ |
| 118 | for (int i = 0; i < 11; i++) |
| 119 | output_set_lamp_value(i, data >> i & 1); |
| 122 | 120 | } |
| 123 | 121 | |
| 124 | 122 | |
| 125 | | /* |
| 126 | | The speaker is connected to O4 through O6. The 3 outputs are paralleled for |
| 127 | | increased current driving capability. They are passed thru a 220 ohm resistor |
| 128 | | and then to the speaker, which has the other side grounded. The software then |
| 129 | | toggles these lines to make sounds and noises. (There is no audio generator |
| 130 | | other than toggling it with a software delay between to make tones). |
| 131 | | */ |
| 132 | 123 | |
| 133 | | WRITE16_MEMBER(merlin_state::write_o) |
| 134 | | { |
| 135 | | if (LOG) |
| 136 | | logerror( "write_o: write %02x\n", data ); |
| 124 | /*************************************************************************** |
| 137 | 125 | |
| 138 | | m_o = data; |
| 126 | Inputs |
| 139 | 127 | |
| 140 | | m_speaker->level_w(m_o & 0x70); |
| 141 | | } |
| 128 | ***************************************************************************/ |
| 142 | 129 | |
| 130 | static INPUT_PORTS_START( merlin ) |
| 131 | PORT_START("O.0") |
| 132 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_CODE(KEYCODE_0) PORT_NAME("Button R0") |
| 133 | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_CODE(KEYCODE_1) PORT_NAME("Button R1") |
| 134 | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON4) PORT_CODE(KEYCODE_3) PORT_NAME("Button R3") |
| 135 | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON3) PORT_CODE(KEYCODE_2) PORT_NAME("Button R2") |
| 143 | 136 | |
| 144 | | /* |
| 137 | PORT_START("O.1") |
| 138 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON5) PORT_CODE(KEYCODE_4) PORT_NAME("Button R4") |
| 139 | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON6) PORT_CODE(KEYCODE_5) PORT_NAME("Button R5") |
| 140 | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON8) PORT_CODE(KEYCODE_7) PORT_NAME("Button R7") |
| 141 | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON7) PORT_CODE(KEYCODE_6) PORT_NAME("Button R6") |
| 145 | 142 | |
| 146 | | LEDs: |
| 143 | PORT_START("O.2") |
| 144 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON9) PORT_CODE(KEYCODE_8) PORT_NAME("Button R8") |
| 145 | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_CODE(KEYCODE_9) PORT_NAME("Button R9") |
| 146 | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON13) PORT_CODE(KEYCODE_S) PORT_NAME("Same Game") |
| 147 | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_CODE(KEYCODE_MINUS) PORT_NAME("Button R10") |
| 147 | 148 | |
| 148 | | R0 |
| 149 | | R1 R2 R3 |
| 150 | | R4 R5 R6 |
| 151 | | R7 R8 R9 |
| 152 | | R10 |
| 149 | PORT_START("O.3") |
| 150 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_UNUSED) |
| 151 | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON15) PORT_CODE(KEYCODE_C) PORT_NAME("Comp Turn") |
| 152 | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON14) PORT_CODE(KEYCODE_H) PORT_NAME("Hit Me") |
| 153 | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_CODE(KEYCODE_N) PORT_NAME("New Game") |
| 154 | INPUT_PORTS_END |
| 153 | 155 | |
| 154 | | When that particular R output is high, that LED is on. |
| 155 | | */ |
| 156 | 156 | |
| 157 | | WRITE16_MEMBER(merlin_state::write_r) |
| 158 | | { |
| 159 | | if (LOG) |
| 160 | | logerror( "write_r: write %04x\n", data ); |
| 161 | 157 | |
| 162 | | m_r = data; |
| 158 | /*************************************************************************** |
| 163 | 159 | |
| 164 | | output_set_value( "led_0", BIT( m_r, 0 ) ); |
| 165 | | output_set_value( "led_1", BIT( m_r, 1 ) ); |
| 166 | | output_set_value( "led_2", BIT( m_r, 2 ) ); |
| 167 | | output_set_value( "led_3", BIT( m_r, 3 ) ); |
| 168 | | output_set_value( "led_4", BIT( m_r, 4 ) ); |
| 169 | | output_set_value( "led_5", BIT( m_r, 5 ) ); |
| 170 | | output_set_value( "led_6", BIT( m_r, 6 ) ); |
| 171 | | output_set_value( "led_7", BIT( m_r, 7 ) ); |
| 172 | | output_set_value( "led_8", BIT( m_r, 8 ) ); |
| 173 | | output_set_value( "led_9", BIT( m_r, 9 ) ); |
| 174 | | output_set_value( "led_10", BIT( m_r, 10 ) ); |
| 175 | | } |
| 160 | Machine Config |
| 176 | 161 | |
| 162 | ***************************************************************************/ |
| 177 | 163 | |
| 178 | 164 | void merlin_state::machine_start() |
| 179 | 165 | { |
| 166 | m_o = 0; |
| 180 | 167 | save_item(NAME(m_o)); |
| 181 | | save_item(NAME(m_r)); |
| 182 | 168 | } |
| 183 | 169 | |
| 184 | 170 | |
| r241710 | r241711 | |
| 193 | 179 | |
| 194 | 180 | |
| 195 | 181 | static MACHINE_CONFIG_START( merlin, merlin_state ) |
| 196 | | MCFG_CPU_ADD( "maincpu", TMS1100, 500000 ) /* Clock may be wrong */ |
| 197 | | MCFG_TMS1XXX_OUTPUT_PLA( merlin_output_pla ) |
| 198 | | MCFG_TMS1XXX_READ_K( READ8( merlin_state, read_k ) ) |
| 199 | | MCFG_TMS1XXX_WRITE_O( WRITE16( merlin_state, write_o ) ) |
| 200 | | MCFG_TMS1XXX_WRITE_R( WRITE16( merlin_state, write_r ) ) |
| 201 | 182 | |
| 183 | /* basic machine hardware */ |
| 184 | MCFG_CPU_ADD( "maincpu", TMS1100, MERLIN_RC_CLOCK ) |
| 185 | MCFG_TMS1XXX_OUTPUT_PLA(merlin_output_pla) |
| 186 | MCFG_TMS1XXX_READ_K(READ8( merlin_state, read_k)) |
| 187 | MCFG_TMS1XXX_WRITE_O(WRITE16( merlin_state, write_o)) |
| 188 | MCFG_TMS1XXX_WRITE_R(WRITE16( merlin_state, write_r)) |
| 189 | |
| 202 | 190 | MCFG_DEFAULT_LAYOUT(layout_merlin) |
| 203 | 191 | |
| 192 | /* no video! */ |
| 193 | |
| 194 | /* sound hardware */ |
| 204 | 195 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 205 | 196 | MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0) |
| 206 | 197 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 207 | 198 | MACHINE_CONFIG_END |
| 208 | 199 | |
| 209 | 200 | |
| 201 | |
| 202 | /*************************************************************************** |
| 203 | |
| 204 | Game driver(s) |
| 205 | |
| 206 | ***************************************************************************/ |
| 207 | |
| 210 | 208 | ROM_START( merlin ) |
| 211 | 209 | ROM_REGION( 0x800, "maincpu", 0 ) |
| 212 | 210 | // This rom needs verification, that's why it is marked as a bad dump |
| r241710 | r241711 | |
| 216 | 214 | ROM_LOAD( "mp3404", 0x0000, 0x800, BAD_DUMP CRC(7515a75d) SHA1(76ca3605d3fde1df62f79b9bb1f534c2a2ae0229) ) |
| 217 | 215 | ROM_END |
| 218 | 216 | |
| 219 | | /*************************************************************************** |
| 220 | 217 | |
| 221 | | Game driver(s) |
| 222 | | |
| 223 | | ***************************************************************************/ |
| 224 | | |
| 225 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 226 | | CONS( 1978, merlin, 0, 0, merlin, merlin, driver_device, 0, "Parker Brothers", "Merlin", 0 ) |
| 218 | CONS( 1978, merlin, 0, 0, merlin, merlin, driver_device, 0, "Parker Brothers", "Merlin", GAME_SUPPORTS_SAVE ) |
trunk/src/mess/layout/merlin.lay
| r241710 | r241711 | |
| 370 | 370 | |
| 371 | 371 | <!-- LEDs and number buttons --> |
| 372 | 372 | |
| 373 | | <bezel name="led_0" element="led"> |
| 373 | <bezel name="lamp0" element="led"> |
| 374 | 374 | <bounds x="100" y="20" width="20" height="10" /> |
| 375 | 375 | </bezel> |
| 376 | | <bezel element="0" inputtag="O0" inputmask="0x01"> |
| 376 | <bezel element="0" inputtag="O.0" inputmask="0x01"> |
| 377 | 377 | <bounds x="100" y="32" width="20" height="10" /> |
| 378 | 378 | </bezel> |
| 379 | 379 | |
| 380 | | <bezel name="led_1" element="led"> |
| 380 | <bezel name="lamp1" element="led"> |
| 381 | 381 | <bounds x="50" y="50" width="20" height="10" /> |
| 382 | 382 | </bezel> |
| 383 | | <bezel element="1" inputtag="O0" inputmask="0x02"> |
| 383 | <bezel element="1" inputtag="O.0" inputmask="0x02"> |
| 384 | 384 | <bounds x="50" y="62" width="20" height="10" /> |
| 385 | 385 | </bezel> |
| 386 | 386 | |
| 387 | | <bezel name="led_2" element="led"> |
| 387 | <bezel name="lamp2" element="led"> |
| 388 | 388 | <bounds x="100" y="50" width="20" height="10" /> |
| 389 | 389 | </bezel> |
| 390 | | <bezel element="2" inputtag="O0" inputmask="0x08"> |
| 390 | <bezel element="2" inputtag="O.0" inputmask="0x08"> |
| 391 | 391 | <bounds x="100" y="62" width="20" height="10" /> |
| 392 | 392 | </bezel> |
| 393 | 393 | |
| 394 | | <bezel name="led_3" element="led"> |
| 394 | <bezel name="lamp3" element="led"> |
| 395 | 395 | <bounds x="150" y="50" width="20" height="10" /> |
| 396 | 396 | </bezel> |
| 397 | | <bezel element="3" inputtag="O0" inputmask="0x04"> |
| 397 | <bezel element="3" inputtag="O.0" inputmask="0x04"> |
| 398 | 398 | <bounds x="150" y="62" width="20" height="10" /> |
| 399 | 399 | </bezel> |
| 400 | 400 | |
| 401 | 401 | |
| 402 | | <bezel name="led_4" element="led"> |
| 402 | <bezel name="lamp4" element="led"> |
| 403 | 403 | <bounds x="50" y="80" width="20" height="10" /> |
| 404 | 404 | </bezel> |
| 405 | | <bezel element="4" inputtag="O1" inputmask="0x01"> |
| 405 | <bezel element="4" inputtag="O.1" inputmask="0x01"> |
| 406 | 406 | <bounds x="50" y="92" width="20" height="10" /> |
| 407 | 407 | </bezel> |
| 408 | 408 | |
| 409 | | <bezel name="led_5" element="led"> |
| 409 | <bezel name="lamp5" element="led"> |
| 410 | 410 | <bounds x="100" y="80" width="20" height="10" /> |
| 411 | 411 | </bezel> |
| 412 | | <bezel element="5" inputtag="O1" inputmask="0x02"> |
| 412 | <bezel element="5" inputtag="O.1" inputmask="0x02"> |
| 413 | 413 | <bounds x="100" y="92" width="20" height="10" /> |
| 414 | 414 | </bezel> |
| 415 | 415 | |
| 416 | | <bezel name="led_6" element="led"> |
| 416 | <bezel name="lamp6" element="led"> |
| 417 | 417 | <bounds x="150" y="80" width="20" height="10" /> |
| 418 | 418 | </bezel> |
| 419 | | <bezel element="6" inputtag="O1" inputmask="0x08"> |
| 419 | <bezel element="6" inputtag="O.1" inputmask="0x08"> |
| 420 | 420 | <bounds x="150" y="92" width="20" height="10" /> |
| 421 | 421 | </bezel> |
| 422 | 422 | |
| 423 | 423 | |
| 424 | | <bezel name="led_7" element="led"> |
| 424 | <bezel name="lamp7" element="led"> |
| 425 | 425 | <bounds x="50" y="110" width="20" height="10" /> |
| 426 | 426 | </bezel> |
| 427 | | <bezel element="7" inputtag="O1" inputmask="0x04"> |
| 427 | <bezel element="7" inputtag="O.1" inputmask="0x04"> |
| 428 | 428 | <bounds x="50" y="122" width="20" height="10" /> |
| 429 | 429 | </bezel> |
| 430 | | <bezel name="led_8" element="led"> |
| 430 | <bezel name="lamp8" element="led"> |
| 431 | 431 | <bounds x="100" y="110" width="20" height="10" /> |
| 432 | 432 | </bezel> |
| 433 | | <bezel element="8" inputtag="O2" inputmask="0x01"> |
| 433 | <bezel element="8" inputtag="O.2" inputmask="0x01"> |
| 434 | 434 | <bounds x="100" y="122" width="20" height="10" /> |
| 435 | 435 | </bezel> |
| 436 | | <bezel name="led_9" element="led"> |
| 436 | <bezel name="lamp9" element="led"> |
| 437 | 437 | <bounds x="150" y="110" width="20" height="10" /> |
| 438 | 438 | </bezel> |
| 439 | | <bezel element="9" inputtag="O2" inputmask="0x02"> |
| 439 | <bezel element="9" inputtag="O.2" inputmask="0x02"> |
| 440 | 440 | <bounds x="150" y="122" width="20" height="10" /> |
| 441 | 441 | </bezel> |
| 442 | 442 | |
| 443 | 443 | |
| 444 | | <bezel name="led_10" element="led"> |
| 444 | <bezel name="lamp10" element="led"> |
| 445 | 445 | <bounds x="100" y="140" width="20" height="10" /> |
| 446 | 446 | </bezel> |
| 447 | | <bezel element="10" inputtag="O2" inputmask="0x08"> |
| 447 | <bezel element="10" inputtag="O.2" inputmask="0x08"> |
| 448 | 448 | <bounds x="100" y="152" width="20" height="10" /> |
| 449 | 449 | </bezel> |
| 450 | 450 | |
| 451 | 451 | |
| 452 | 452 | <!-- Other buttons --> |
| 453 | 453 | |
| 454 | | <bezel element="new_game" inputtag="O3" inputmask="0x08"> |
| 454 | <bezel element="new_game" inputtag="O.3" inputmask="0x08"> |
| 455 | 455 | <bounds x="75" y="170" width="30" height="30" /> |
| 456 | 456 | </bezel> |
| 457 | | <bezel element="same_game" inputtag="O2" inputmask="0x04"> |
| 457 | <bezel element="same_game" inputtag="O.2" inputmask="0x04"> |
| 458 | 458 | <bounds x="125" y="170" width="30" height="30" /> |
| 459 | 459 | </bezel> |
| 460 | 460 | |
| 461 | | <bezel element="hit_me" inputtag="O3" inputmask="0x04"> |
| 461 | <bezel element="hit_me" inputtag="O.3" inputmask="0x04"> |
| 462 | 462 | <bounds x="75" y="210" width="30" height="30" /> |
| 463 | 463 | </bezel> |
| 464 | | <bezel element="comp_turn" inputtag="O3" inputmask="0x02"> |
| 464 | <bezel element="comp_turn" inputtag="O.3" inputmask="0x02"> |
| 465 | 465 | <bounds x="125" y="210" width="30" height="30" /> |
| 466 | 466 | </bezel> |
| 467 | 467 | </view> |