trunk/src/mess/drivers/myvision.c
| r26493 | r26494 | |
| 14 | 14 | |
| 15 | 15 | TODO: |
| 16 | 16 | - Review software list |
| 17 | | - Implement cnd figure out ontrols |
| 18 | 17 | - Add clickable artwork |
| 19 | 18 | - Verify sound chip model |
| 20 | 19 | - Verify exact TMS9918 model |
| r26493 | r26494 | |
| 91 | 90 | static INPUT_PORTS_START( myvision ) |
| 92 | 91 | PORT_START("ROW0") |
| 93 | 92 | PORT_BIT(0x07, IP_ACTIVE_LOW, IPT_UNUSED) |
| 94 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("13") PORT_CODE(KEYCODE_G) |
| 95 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) // C |
| 96 | | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("9") PORT_CODE(KEYCODE_A) |
| 97 | | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("5") PORT_CODE(KEYCODE_T) |
| 98 | | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("1") PORT_CODE(KEYCODE_Q) |
| 93 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_M) PORT_NAME("13") |
| 94 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) PORT_NAME("C/Down") |
| 95 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_I) PORT_NAME("9") |
| 96 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_MAHJONG_E) PORT_NAME("5") |
| 97 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_MAHJONG_A) PORT_NAME("1") |
| 99 | 98 | |
| 100 | 99 | PORT_START("ROW1") |
| 101 | 100 | PORT_BIT(0x07, IP_ACTIVE_LOW, IPT_UNUSED) |
| 102 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP) |
| 101 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP) PORT_NAME("B/Up") |
| 103 | 102 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_UNUSED) |
| 104 | | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("12") PORT_CODE(KEYCODE_F) |
| 105 | | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("8") PORT_CODE(KEYCODE_I) |
| 106 | | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("4") PORT_CODE(KEYCODE_R) |
| 103 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_L) PORT_NAME("12") |
| 104 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_MAHJONG_H) PORT_NAME("8") |
| 105 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_MAHJONG_D) PORT_NAME("4") |
| 107 | 106 | |
| 108 | 107 | PORT_START("ROW2") |
| 109 | 108 | PORT_BIT(0x07, IP_ACTIVE_LOW, IPT_UNUSED) |
| 110 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_START) PORT_NAME("14/Start") |
| 111 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) // D |
| 112 | | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("10") PORT_CODE(KEYCODE_S) |
| 113 | | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("6") PORT_CODE(KEYCODE_Y) |
| 114 | | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("2") PORT_CODE(KEYCODE_W) |
| 109 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_N) PORT_NAME("14/Start") |
| 110 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_NAME("D/Right") |
| 111 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_J) PORT_NAME("10") |
| 112 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_MAHJONG_F) PORT_NAME("6") |
| 113 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_MAHJONG_B) PORT_NAME("2") |
| 115 | 114 | |
| 116 | 115 | PORT_START("ROW3") |
| 117 | 116 | PORT_BIT(0x07, IP_ACTIVE_LOW, IPT_UNUSED) |
| 118 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT) |
| 119 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON1) // E |
| 120 | | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("11") PORT_CODE(KEYCODE_D) |
| 121 | | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("7") PORT_CODE(KEYCODE_U) |
| 122 | | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("3") PORT_CODE(KEYCODE_E) |
| 117 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT) PORT_NAME("A/Left") |
| 118 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_NAME("E") |
| 119 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_K) PORT_NAME("11") |
| 120 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_MAHJONG_G) PORT_NAME("7") |
| 121 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_MAHJONG_C) PORT_NAME("3") |
| 123 | 122 | |
| 124 | 123 | INPUT_PORTS_END |
| 125 | 124 | |