src/mess/drivers/trs80m2.c
| r7529 | r7530 | |
| 371 | 371 | |
| 372 | 372 | static INPUT_PORTS_START( trs80m2 )
|
| 373 | 373 | PORT_START("ROW0")
|
| 374 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 375 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 376 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 377 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 378 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 379 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 380 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 381 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 374 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 375 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?')
|
| 376 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("SPACE") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
|
| 377 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V')
|
| 378 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z')
|
| 379 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0") PORT_CODE(KEYCODE_0_PAD)
|
| 380 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M')
|
| 381 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 382 | 382 | |
| 383 | 383 | PORT_START("ROW1")
|
| 384 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 385 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 386 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 387 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 388 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 389 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 390 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 391 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 384 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 385 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>')
|
| 386 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N')
|
| 387 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B')
|
| 388 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X')
|
| 389 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x93") PORT_CODE(KEYCODE_DOWN) PORT_CHAR(UCHAR_MAMEKEY(DOWN))
|
| 390 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<')
|
| 391 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 392 | 392 | |
| 393 | 393 | PORT_START("ROW2")
|
| 394 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 395 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 396 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 397 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 398 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 399 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 400 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 401 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 394 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("REPEAT")
|
| 395 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right SHIFT") PORT_CODE(KEYCODE_RSHIFT)
|
| 396 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("CAPS") PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK))
|
| 397 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left SHIFT") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
|
| 398 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("LOCK")
|
| 399 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 400 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("CTRL") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_MAMEKEY(LCONTROL))
|
| 401 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 402 | 402 | |
| 403 | 403 | PORT_START("ROW3")
|
| 404 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 405 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 406 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 407 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 408 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 409 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 410 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 411 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 404 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("cannot read label")
|
| 405 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR(')')
|
| 406 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR('(')
|
| 407 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$')
|
| 408 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#')
|
| 409 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad .") PORT_CODE(KEYCODE_DEL_PAD)
|
| 410 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 3") PORT_CODE(KEYCODE_3_PAD)
|
| 411 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x90") PORT_CODE(KEYCODE_LEFT) PORT_CHAR(UCHAR_MAMEKEY(LEFT))
|
| 412 | 412 | |
| 413 | 413 | PORT_START("ROW4")
|
| 414 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 415 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 416 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 417 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 418 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 419 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 420 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 421 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 414 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("BACKSPACE") PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
|
| 415 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')
|
| 416 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')
|
| 417 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')
|
| 418 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E')
|
| 419 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F2") PORT_CODE(KEYCODE_F2)
|
| 420 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 5") PORT_CODE(KEYCODE_5_PAD)
|
| 421 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x92") PORT_CODE(KEYCODE_RIGHT) PORT_CHAR(UCHAR_MAMEKEY(RIGHT))
|
| 422 | 422 | |
| 423 | 423 | PORT_START("ROW5")
|
| 424 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 425 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 426 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 427 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 428 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 429 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 430 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 431 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 424 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("HOLD")
|
| 425 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_CHAR('}')
|
| 426 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H')
|
| 427 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^')
|
| 428 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')
|
| 429 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F1") PORT_CODE(KEYCODE_F1)
|
| 430 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2") PORT_CODE(KEYCODE_2_PAD)
|
| 431 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("\xE2\x86\x91") PORT_CODE(KEYCODE_UP) PORT_CHAR(UCHAR_MAMEKEY(UP))
|
| 432 | 432 | |
| 433 | 433 | PORT_START("ROW6")
|
| 434 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 435 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 436 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 437 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 438 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 439 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 440 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 441 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 434 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("ENTER") PORT_CODE(KEYCODE_ENTER) PORT_CHAR(13)
|
| 435 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=') PORT_CHAR('+')
|
| 436 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')
|
| 437 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y')
|
| 438 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('@')
|
| 439 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad ENTER") PORT_CODE(KEYCODE_ENTER_PAD) PORT_CHAR(13)
|
| 440 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 9") PORT_CODE(KEYCODE_9_PAD)
|
| 441 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7") PORT_CODE(KEYCODE_7_PAD)
|
| 442 | 442 | |
| 443 | 443 | PORT_START("ROW7")
|
| 444 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 445 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 446 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 447 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 448 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 449 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 450 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 451 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 444 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 445 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('\'') PORT_CHAR('"')
|
| 446 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('*')
|
| 447 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')
|
| 448 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W')
|
| 449 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 450 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6") PORT_CODE(KEYCODE_6_PAD)
|
| 451 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4") PORT_CODE(KEYCODE_4_PAD)
|
| 452 | 452 | |
| 453 | 453 | PORT_START("ROW8")
|
| 454 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 455 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 456 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 457 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 458 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 459 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 460 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 461 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 454 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 455 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_')
|
| 456 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I')
|
| 457 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%')
|
| 458 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C')
|
| 459 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 460 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8") PORT_CODE(KEYCODE_8_PAD)
|
| 461 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1") PORT_CODE(KEYCODE_1_PAD)
|
| 462 | 462 | |
| 463 | 463 | PORT_START("ROW9")
|
| 464 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 465 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 466 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 467 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 468 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 469 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 470 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 471 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 464 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 465 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{')
|
| 466 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')
|
| 467 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T')
|
| 468 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')
|
| 469 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 470 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 471 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 472 | 472 | |
| 473 | 473 | PORT_START("ROW10")
|
| 474 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 475 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 476 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 477 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 478 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 479 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 480 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 481 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 474 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 475 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
|
| 476 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&')
|
| 477 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')
|
| 478 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!')
|
| 479 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 480 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("ESC") PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC))
|
| 481 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 482 | 482 | |
| 483 | 483 | PORT_START("ROW11")
|
| 484 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 485 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 486 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 487 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 488 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 489 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 490 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 491 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD )
|
| 484 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 485 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')
|
| 486 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')
|
| 487 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R')
|
| 488 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q')
|
| 489 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 490 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("TAB") PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t')
|
| 491 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
| 492 | 492 | INPUT_PORTS_END
|
| 493 | 493 | |
| 494 | 494 | /* Video */
|