summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/calchase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/calchase.cpp')
-rw-r--r--src/mame/drivers/calchase.cpp67
1 files changed, 0 insertions, 67 deletions
diff --git a/src/mame/drivers/calchase.cpp b/src/mame/drivers/calchase.cpp
index 1493631dcb2..d0ec40da6bb 100644
--- a/src/mame/drivers/calchase.cpp
+++ b/src/mame/drivers/calchase.cpp
@@ -472,75 +472,9 @@ void calchase_state::calchase_io(address_map &map)
map(0x92e8, 0x92ef).noprw(); //To debug
}
-#define AT_KEYB_HELPER(bit, text, key1) \
- PORT_BIT( bit, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME(text) PORT_CODE(key1)
-
-#if 1
static INPUT_PORTS_START( calchase )
- PORT_START("pc_keyboard_0")
- PORT_BIT ( 0x0001, 0x0000, IPT_UNUSED ) /* unused scancode 0 */
-// AT_KEYB_HELPER( 0x0002, "Esc", KEYCODE_Q ) /* Esc 01 81 */
- // 0x0004, KEYCODE_0
- // 0x0008, KEYCODE_1
- // 0x0010, KEYCODE_2
- // 0x0020, KEYCODE_3
- // 0x0040, KEYCODE_4
- // 0x0080, KEYCODE_5
- // 0x0100, KEYCODE_6
- // 0x0200, KEYCODE_7
- // 0x0400, KEYCODE_8
- // 0x0800, KEYCODE_9
- // 0x1000, KEYCODE_MINUS
- // 0x2000, KEYCODE_EQUAL
- // 0x4000, KEYCODE_BACKSPACE
- // 0x8000, KEYCODE_TAB
-
- PORT_START("pc_keyboard_1")
- // 0x0001, KEYCODE_Q
- // 0x0002, KEYCODE_W
- AT_KEYB_HELPER( 0x0004, "E", KEYCODE_E )
- AT_KEYB_HELPER( 0x0008, "R", KEYCODE_R )
- AT_KEYB_HELPER( 0x0010, "T", KEYCODE_T ) /* T 14 94 */
- AT_KEYB_HELPER( 0x0020, "Y", KEYCODE_Y ) /* Y 15 95 */
- // 0x0040, KEYCODE_U
- AT_KEYB_HELPER( 0x0080, "I", KEYCODE_I )
- AT_KEYB_HELPER( 0x0100, "O", KEYCODE_O ) /* O 18 98 */
- // 0x0200, KEYCODE_P
- AT_KEYB_HELPER( 0x1000, "Enter", KEYCODE_ENTER ) /* Enter 1C 9C */
- AT_KEYB_HELPER( 0x4000, "A", KEYCODE_A )
- AT_KEYB_HELPER( 0x8000, "S", KEYCODE_S )
-
- PORT_START("pc_keyboard_2")
- AT_KEYB_HELPER( 0x0001, "D", KEYCODE_D )
- AT_KEYB_HELPER( 0x0002, "F", KEYCODE_F )
-
-
- PORT_START("pc_keyboard_3")
- AT_KEYB_HELPER( 0x0001, "B", KEYCODE_B ) /* B 30 B0 */
- AT_KEYB_HELPER( 0x0002, "N", KEYCODE_N ) /* N 31 B1 */
- AT_KEYB_HELPER( 0x0200, "SPACE", KEYCODE_SPACE ) /* N 31 B1 */
- AT_KEYB_HELPER( 0x0800, "F1", KEYCODE_F1 ) /* F1 3B BB */
-// AT_KEYB_HELPER( 0x8000, "F5", KEYCODE_F5 )
-
- PORT_START("pc_keyboard_4")
-// AT_KEYB_HELPER( 0x0004, "F8", KEYCODE_F8 )
-
- PORT_START("pc_keyboard_5")
-
-
- PORT_START("pc_keyboard_6")
- AT_KEYB_HELPER( 0x0040, "(MF2)Cursor Up", KEYCODE_UP ) /* Up 67 e7 */
- AT_KEYB_HELPER( 0x0080, "(MF2)Page Up", KEYCODE_PGUP ) /* Page Up 68 e8 */
- AT_KEYB_HELPER( 0x0100, "(MF2)Cursor Left", KEYCODE_LEFT ) /* Left 69 e9 */
- AT_KEYB_HELPER( 0x0200, "(MF2)Cursor Right", KEYCODE_RIGHT ) /* Right 6a ea */
- AT_KEYB_HELPER( 0x0800, "(MF2)Cursor Down", KEYCODE_DOWN ) /* Down 6c ec */
- AT_KEYB_HELPER( 0x1000, "(MF2)Page Down", KEYCODE_PGDN ) /* Page Down 6d ed */
- AT_KEYB_HELPER( 0x4000, "Del", KEYCODE_DEL ) /* Delete 6f ef */
-
- PORT_START("pc_keyboard_7")
-
PORT_START("IOCARD1")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
@@ -678,7 +612,6 @@ static INPUT_PORTS_START( calchase )
PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
INPUT_PORTS_END
-#endif
void calchase_state::machine_start()
{