src/mess/drivers/spectrum.c
| r4513 | r4514 | |
| 208 | 208 | /* DJR: Spectrum+ keys added */ |
| 209 | 209 | READ8_HANDLER(spectrum_port_fe_r) |
| 210 | 210 | { |
| 211 | | int lines = offset>>8; |
| 212 | | int data = 0xff; |
| 211 | int lines = offset >> 8; |
| 212 | int data = 0xff; |
| 213 | 213 | |
| 214 | | int cs_extra1 = input_port_read(space->machine, "PLUS0") & 0x1f; |
| 215 | | int cs_extra2 = input_port_read(space->machine, "PLUS1") & 0x1f; |
| 216 | | int cs_extra3 = input_port_read(space->machine, "PLUS2") & 0x1f; |
| 217 | | int ss_extra1 = input_port_read(space->machine, "PLUS3") & 0x1f; |
| 218 | | int ss_extra2 = input_port_read(space->machine, "PLUS4") & 0x1f; |
| 214 | int cs_extra1 = input_port_read_safe(space->machine, "PLUS0", 0xff) & 0x1f; |
| 215 | int cs_extra2 = input_port_read_safe(space->machine, "PLUS1", 0xff) & 0x1f; |
| 216 | int cs_extra3 = input_port_read_safe(space->machine, "PLUS2", 0xff) & 0x1f; |
| 217 | int ss_extra1 = input_port_read_safe(space->machine, "PLUS3", 0xff) & 0x1f; |
| 218 | int ss_extra2 = input_port_read_safe(space->machine, "PLUS4", 0xff) & 0x1f; |
| 219 | 219 | |
| 220 | | /* Caps - V */ |
| 221 | | if ((lines & 1)==0) |
| 222 | | { |
| 220 | /* Caps - V */ |
| 221 | if ((lines & 1) == 0) |
| 222 | { |
| 223 | 223 | data &= input_port_read(space->machine, "LINE0"); |
| 224 | 224 | /* CAPS for extra keys */ |
| 225 | 225 | if (cs_extra1 != 0x1f || cs_extra2 != 0x1f || cs_extra3 != 0x1f) |
| 226 | 226 | data &= ~0x01; |
| 227 | | } |
| 227 | } |
| 228 | 228 | |
| 229 | | /* A - G */ |
| 230 | | if ((lines & 2)==0) |
| 229 | /* A - G */ |
| 230 | if ((lines & 2) == 0) |
| 231 | 231 | data &= input_port_read(space->machine, "LINE1"); |
| 232 | 232 | |
| 233 | | /* Q - T */ |
| 234 | | if ((lines & 4)==0) |
| 233 | /* Q - T */ |
| 234 | if ((lines & 4) == 0) |
| 235 | 235 | data &= input_port_read(space->machine, "LINE2"); |
| 236 | 236 | |
| 237 | | /* 1 - 5 */ |
| 238 | | if ((lines & 8)==0) |
| 237 | /* 1 - 5 */ |
| 238 | if ((lines & 8) == 0) |
| 239 | 239 | data &= input_port_read(space->machine, "LINE3") & cs_extra1; |
| 240 | 240 | |
| 241 | | /* 6 - 0 */ |
| 242 | | if ((lines & 16)==0) |
| 241 | /* 6 - 0 */ |
| 242 | if ((lines & 16) == 0) |
| 243 | 243 | data &= input_port_read(space->machine, "LINE4") & cs_extra2; |
| 244 | 244 | |
| 245 | | /* Y - P */ |
| 246 | | if ((lines & 32)==0) |
| 245 | /* Y - P */ |
| 246 | if ((lines & 32) == 0) |
| 247 | 247 | data &= input_port_read(space->machine, "LINE5") & ss_extra1; |
| 248 | 248 | |
| 249 | | /* H - Enter */ |
| 250 | | if ((lines & 64)==0) |
| 249 | /* H - Enter */ |
| 250 | if ((lines & 64) == 0) |
| 251 | 251 | data &= input_port_read(space->machine, "LINE6"); |
| 252 | 252 | |
| 253 | | /* B - Space */ |
| 254 | | if ((lines & 128)==0) |
| 253 | /* B - Space */ |
| 254 | if ((lines & 128) == 0) |
| 255 | 255 | { |
| 256 | 256 | data &= input_port_read(space->machine, "LINE7") & cs_extra3 & ss_extra2; |
| 257 | 257 | /* SYMBOL SHIFT for extra keys */ |
| r4513 | r4514 | |
| 268 | 268 | } |
| 269 | 269 | |
| 270 | 270 | /* Issue 2 Spectrums default to having bits 5, 6 & 7 set. |
| 271 | | Issue 3 Spectrums default to having bits 5 & 7 set and bit 6 reset. */ |
| 271 | Issue 3 Spectrums default to having bits 5 & 7 set and bit 6 reset. */ |
| 272 | 272 | if (input_port_read(space->machine, "CONFIG") & 0x80) |
| 273 | 273 | data ^= (0x40); |
| 274 | |
| 274 | 275 | return data; |
| 275 | 276 | } |
| 276 | 277 | |
| r4513 | r4514 | |
| 309 | 310 | |
| 310 | 311 | /****************************************************************************************************/ |
| 311 | 312 | |
| 312 | | /* Added natural keyboard support. The commented out PORT_CHAR are not currently reachable because MESS does not allow to differentiate Left and Right Shifts */ |
| 313 | INPUT_PORTS_START( spec_joys ) |
| 314 | PORT_START("JOY_INTF") |
| 315 | PORT_CATEGORY_CLASS( 0x0f, 0x01, "Joystick Interface") |
| 316 | PORT_CATEGORY_ITEM( 0x00, "None (No Joystick)", 0 ) |
| 317 | PORT_CATEGORY_ITEM( 0x01, "Kempston", 1 ) |
| 318 | PORT_CATEGORY_ITEM( 0x02, "Fuller", 2 ) |
| 319 | PORT_CATEGORY_ITEM( 0x03, "Mikrogen", 3 ) |
| 320 | |
| 321 | PORT_START("KEMPSTON") /* Kempston joystick interface */ |
| 322 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("P1 Joystick Right (Kempston)") PORT_CODE(JOYCODE_X_RIGHT_SWITCH) PORT_CATEGORY(1) |
| 323 | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("P1 Joystick Left (Kempston)") PORT_CODE(JOYCODE_X_LEFT_SWITCH) PORT_CATEGORY(1) |
| 324 | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("P1 Joystick Down (Kempston)") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) PORT_CATEGORY(1) |
| 325 | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("P1 Joystick Up (Kempston)") PORT_CODE(JOYCODE_Y_UP_SWITCH) PORT_CATEGORY(1) |
| 326 | PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("P1 Joystick Fire (Kempston)") PORT_CODE(JOYCODE_BUTTON1) PORT_CATEGORY(1) |
| 327 | |
| 328 | PORT_START("FULLER") /* Fuller joystick interface */ |
| 329 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Up (Fuller)") PORT_CODE(JOYCODE_Y_UP_SWITCH) PORT_CATEGORY(2) |
| 330 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Down (Fuller)") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) PORT_CATEGORY(2) |
| 331 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Left (Fuller)") PORT_CODE(JOYCODE_X_LEFT_SWITCH) PORT_CATEGORY(2) |
| 332 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Right (Fuller)") PORT_CODE(JOYCODE_X_RIGHT_SWITCH) PORT_CATEGORY(2) |
| 333 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Fire (Fuller)") PORT_CODE(JOYCODE_BUTTON1) PORT_CATEGORY(2) |
| 334 | |
| 335 | PORT_START("MIKROGEN") /* Mikrogen joystick interface */ |
| 336 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Up (Mikrogen)") PORT_CODE(JOYCODE_Y_UP_SWITCH) PORT_CATEGORY(3) |
| 337 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Down (Mikrogen)") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) PORT_CATEGORY(3) |
| 338 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Right (Mikrogen)") PORT_CODE(JOYCODE_X_RIGHT_SWITCH) PORT_CATEGORY(3) |
| 339 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Left (Mikrogen)") PORT_CODE(JOYCODE_X_LEFT_SWITCH) PORT_CATEGORY(3) |
| 340 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P1 Joystick Fire (Mikrogen)") PORT_CODE(JOYCODE_BUTTON1) PORT_CATEGORY(3) |
| 341 | INPUT_PORTS_END |
| 342 | |
| 343 | /* |
| 344 | Spectrum keyboard is quite complicate to emulate. Each key can have 5 or 6 different functions, depending on which input mode we are in: |
| 345 | |
| 346 | ------------------------------------------------------------------------------------------------------------------- |
| 347 | Mode | Sequence on Spectrum | Sequence in MESS |
| 348 | ------------------------------------------------------------------------------------------------------------------- |
| 349 | KEY Mode | Simply press the key | Simply press the key |
| 350 | CAPS Mode | Press Key + CAPS SHIFT | Press Key + LShift (default mapping) |
| 351 | SYMBOL Mode | Press Key + SYMBOL SHIFT | Press Key + RShift (default mapping) |
| 352 | EXT Mode | Press CAPS + SYMBOL once, | Press LShift + RShift (to enter EXT Mode), |
| 353 | | then press Key | then press Key |
| 354 | EXT+Shift Mode | In EXT Mode, press Key + SHIFT | In EXT Mode, press Key + LShift or Key + RShift |
| 355 | | (no matter if CAPS and SYMBOL) | |
| 356 | BASIC Mode | At BASIC Prompt, press the key | At BASIC Prompt, press the key |
| 357 | ------------------------------------------------------------------------------------------------------------------- |
| 358 | |
| 359 | Number Keys are the only keys not having a function in BASIC Mode (hence, they only have 5 functions) |
| 360 | |
| 361 | 2009-04: Added natural keyboard support. The commented out PORT_CHARs are not reachable in natural keyboard mode (they are entered |
| 362 | in EXT+Shift Mode on a real Spectrum). |
| 363 | */ |
| 364 | |
| 365 | /* TO DO: replace PORT_CHAR('\xD7') with an 'empty' PORT_CHAR. I used \xD7 (multiplication sign) just as a placeholder. There should be no |
| 366 | PORT_CHAR for those functions (which have no equivalent on modern keyboards), but something is needed (to correctly have natural support for |
| 367 | a few keys in SYMBOL Mode) and I found no EMPTY PORT_CHAR in MESS */ |
| 313 | 368 | INPUT_PORTS_START( spectrum ) |
| 314 | | PORT_START("LINE0") /* [0] 0xFEFE */ |
| 369 | /* PORT_NAME = KEY Mode CAPS Mode SYMBOL Mode EXT Mode EXT+Shift Mode BASIC Mode */ |
| 370 | PORT_START("LINE0") /* 0xFEFE */ |
| 315 | 371 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("CAPS SHIFT") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) |
| 316 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Z COPY : LN BEEP") PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z')// PORT_CHAR(':') |
| 317 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("X CLEAR Pound EXP INK") PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X')// PORT_CHAR('\xA3') |
| 318 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("C CONT ? LPRINT PAPER") PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C')// PORT_CHAR('?') |
| 319 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("V CLS / LLIST FLASH") PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V')// PORT_CHAR('/') |
| 372 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("z Z : LN BEEP COPY") PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z') PORT_CHAR(':') |
| 373 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("x X \xC2\xA3 EXP INK CLEAR") PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X') PORT_CHAR('\xA3') |
| 374 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("c C ? LPRINT PAPER CONT") PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C') PORT_CHAR('?') |
| 375 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("v V / LLIST FLASH CLS") PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V') PORT_CHAR('/') |
| 320 | 376 | |
| 321 | | PORT_START("LINE1") /* [1] 0xFDFE */ |
| 322 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("A NEW STOP READ ~") PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')// PORT_CHAR('~') |
| 323 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("S SAVE NOT RESTORE |") PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')// PORT_CHAR('|') |
| 324 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("D DIM STEP DATA \\") PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')// PORT_CHAR('\\') |
| 325 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F FOR TO SGN {") PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')// PORT_CHAR('{') |
| 326 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("G GOTO THEN ABS }") PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')// PORT_CHAR('}') |
| 377 | PORT_START("LINE1") /* 0xFDFE */ |
| 378 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("a A STOP READ ~ NEW") PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')// PORT_CHAR('~') |
| 379 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("s S NOT RESTORE | SAVE") PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')// PORT_CHAR('|') |
| 380 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("d D STEP DATA \\ DIM") PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')// PORT_CHAR('\\') |
| 381 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("f F TO SGN { FOR") PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')// PORT_CHAR('{') |
| 382 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("g G THEN ABS } GOTO") PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')// PORT_CHAR('}') |
| 327 | 383 | |
| 328 | | PORT_START("LINE2") /* [2] 0xFBFE */ |
| 329 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Q PLOT <= SIN ASN") PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q') |
| 330 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("W DRAW <> COS ACS") PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W') |
| 331 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("E REM >= TAN ATN") PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E') |
| 332 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("R RUN < INT VERIFY") PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R')// PORT_CHAR('<') |
| 333 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("T RAND > RND MERGE") PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T')// PORT_CHAR('>') |
| 384 | PORT_START("LINE2") /* 0xFBFE */ |
| 385 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("q Q <= SIN ASN PLOT") PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q') |
| 386 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("w W <> COS ACS DRAW") PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W') |
| 387 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("e E >= TAN ATN REM") PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E') |
| 388 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("r R < INT VERIFY RUN") PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R') PORT_CHAR('<') |
| 389 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("t T > RND MERGE RAND") PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T') PORT_CHAR('>') |
| 334 | 390 | |
| 335 | 391 | /* interface II uses this port for joystick */ |
| 336 | | PORT_START("LINE3") /* [3] 0xF7FE */ |
| 337 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("1 ! BLUE DEF FN") PORT_CODE(KEYCODE_1) PORT_CHAR('1')// PORT_CHAR('!') |
| 338 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("2 @ RED FN") PORT_CODE(KEYCODE_2) PORT_CHAR('2')// PORT_CHAR('@') |
| 339 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("3 # MAGENTA LINE") PORT_CODE(KEYCODE_3) PORT_CHAR('3')// PORT_CHAR('#') |
| 340 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("4 $ GREEN OPEN#") PORT_CODE(KEYCODE_4) PORT_CHAR('4')// PORT_CHAR('$') |
| 341 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("5 % CYAN CLOSE#") PORT_CODE(KEYCODE_5) PORT_CHAR('5')// PORT_CHAR('%') |
| 392 | PORT_START("LINE3") /* 0xF7FE */ |
| 393 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("1 EDIT ! BLUE DEF FN") PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('\xD7') PORT_CHAR('!') |
| 394 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("2 CAPS LOCK @ RED FN") PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('\xD7') PORT_CHAR('@') |
| 395 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("3 TRUE VID # MAGENTA LINE") PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('\xD7') PORT_CHAR('#') |
| 396 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("4 INV VID $ GREEN OPEN#") PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('\xD7') PORT_CHAR('$') |
| 397 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("5 Left % CYAN CLOSE#") PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR(UCHAR_MAMEKEY(LEFT)) PORT_CHAR('%') |
| 342 | 398 | |
| 343 | 399 | /* protek clashes with interface II! uses 5 = left, 6 = down, 7 = up, 8 = right, 0 = fire */ |
| 344 | | PORT_START("LINE4") /* [4] 0xEFFE */ |
| 345 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("0 _ BLACK FORMAT") PORT_CODE(KEYCODE_0) PORT_CHAR('0')// PORT_CHAR('_') |
| 346 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("9 ) POINT") PORT_CODE(KEYCODE_9) PORT_CHAR('9')// PORT_CHAR(')') |
| 347 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("8 ( CAT") PORT_CODE(KEYCODE_8) PORT_CHAR('8')// PORT_CHAR('(') |
| 348 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("7 ' WHITE ERASE") PORT_CODE(KEYCODE_7) PORT_CHAR('7')// PORT_CHAR('\'') |
| 349 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("6 & YELLOW MOVE") PORT_CODE(KEYCODE_6) PORT_CHAR('6')// PORT_CHAR('&') |
| 400 | PORT_START("LINE4") /* 0xEFFE */ |
| 401 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("0 DEL _ BLACK FORMAT") PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR(8) PORT_CHAR('_') |
| 402 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("9 GRAPH ) POINT") PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR('\xD7') PORT_CHAR(')') |
| 403 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("8 Right ( CAT") PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR(UCHAR_MAMEKEY(RIGHT)) PORT_CHAR('(') |
| 404 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("7 Up ' WHITE ERASE") PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR(UCHAR_MAMEKEY(UP)) PORT_CHAR('\'') |
| 405 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("6 Down & YELLOW MOVE") PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR(UCHAR_MAMEKEY(DOWN)) PORT_CHAR('&') |
| 350 | 406 | |
| 351 | | PORT_START("LINE5") /* [5] 0xDFFE */ |
| 352 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P PRINT \" TAB (c)") PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')// PORT_CHAR('\"') |
| 353 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("O POKE ; PEEK OUT") PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')// PORT_CHAR(';') |
| 354 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("I INPUT AT CODE IN") PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I') |
| 355 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("U IF OR CHR$ ]") PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U') |
| 356 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Y RETURN AND STR$ [") PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y') |
| 407 | PORT_START("LINE5") /* 0xDFFE */ |
| 408 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("p P \" TAB (c) PRINT") PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P') PORT_CHAR('"') |
| 409 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("o O ; PEEK OUT POKE") PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O') PORT_CHAR(';') |
| 410 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("i I AT CODE IN INPUT") PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I') |
| 411 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("u U OR CHR$ ] IF") PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')// PORT_CHAR(']') |
| 412 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("y Y AND STR$ [ RETURN") PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y')// PORT_CHAR('[') |
| 357 | 413 | |
| 358 | | PORT_START("LINE6") /* [6] 0xBFFE */ |
| 414 | PORT_START("LINE6") /* 0xBFFE */ |
| 359 | 415 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("ENTER") PORT_CODE(KEYCODE_ENTER) PORT_CHAR(13) |
| 360 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("L LET = USR ATTR") PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')// PORT_CHAR('=') |
| 361 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("K LIST + LEN SCREEN$") PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')// PORT_CHAR('+') |
| 362 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("J LOAD - VAL VAL$") PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')// PORT_CHAR('-') |
| 363 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("H GOSUB ^ SQR CIRCLE") PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H')// PORT_CHAR('^') |
| 416 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("l L = USR ATTR LET") PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L') PORT_CHAR('=') |
| 417 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("k K + LEN SCREEN$ LIST") PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K') PORT_CHAR('+') |
| 418 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("j J - VAL VAL$ LOAD") PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J') PORT_CHAR('-') |
| 419 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("h H ^ SQR CIRCLE GOSUB") PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H') PORT_CHAR('^') |
| 364 | 420 | |
| 365 | | PORT_START("LINE7") /* [7] 0x7FFE */ |
| 421 | PORT_START("LINE7") /* 0x7FFE */ |
| 366 | 422 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SPACE") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') |
| 367 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SYMBOL SHIFT") PORT_CODE(KEYCODE_RSHIFT) |
| 368 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("M PAUSE . PI INVERSE") PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M')// PORT_CHAR('.') |
| 369 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("N NEXT , INKEY$ OVER") PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N')// PORT_CHAR(',') |
| 370 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("B BORDER * BIN BRIGHT") PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B')// PORT_CHAR('*') |
| 423 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SYMBOL SHIFT") PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_2) |
| 424 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("m M . PI INVERSE PAUSE") PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M') PORT_CHAR('.') |
| 425 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("n N , INKEY$ OVER NEXT") PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N') PORT_CHAR(',') |
| 426 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("b B * BIN BRIGHT BORDER") PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B') PORT_CHAR('*') |
| 371 | 427 | |
| 372 | | PORT_START("PLUS0") /* [8] Spectrum+ Keys (set CAPS + 1-5) */ |
| 373 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("EDIT (CAPS + 1)") PORT_CODE(KEYCODE_INSERT) |
| 374 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("CAPS LOCK (CAPS + 2)") PORT_CODE(KEYCODE_CAPSLOCK) |
| 375 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("TRUE VID (CAPS + 3)") PORT_CODE(KEYCODE_HOME) |
| 376 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("INV VID (CAPS + 4)") PORT_CODE(KEYCODE_END) |
| 377 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor left (CAPS + 5)") PORT_CODE(KEYCODE_LEFT) |
| 428 | PORT_START("NMI") |
| 429 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("NMI") PORT_CODE(KEYCODE_F12) |
| 430 | |
| 431 | PORT_START("CONFIG") |
| 432 | PORT_DIPNAME( 0x80, 0x00, "Hardware Version" ) |
| 433 | PORT_DIPSETTING( 0x00, "Issue 2" ) |
| 434 | PORT_DIPSETTING( 0x80, "Issue 3" ) |
| 435 | PORT_DIPNAME( 0x40, 0x00, "End of .TAP action" ) |
| 436 | PORT_DIPSETTING( 0x00, "Disable .TAP support" ) |
| 437 | PORT_DIPSETTING( 0x40, "Rewind tape to start (to reload earlier levels)" ) |
| 438 | PORT_DIPNAME( 0x20, 0x00, "+3/+2a etc. Disk Drive" ) |
| 439 | PORT_DIPSETTING( 0x00, "Enabled" ) |
| 440 | PORT_DIPSETTING( 0x20, "Disabled" ) |
| 441 | PORT_BIT(0x1f, IP_ACTIVE_LOW, IPT_UNUSED) |
| 442 | |
| 443 | PORT_INCLUDE( spec_joys ) |
| 444 | INPUT_PORTS_END |
| 445 | |
| 446 | /* These keys need not to be mapped in natural mode because Spectrum+ supports both these and the Spectrum sequences above. |
| 447 | Hence, we can simply keep using such sequences in natural keyboard emulation */ |
| 448 | INPUT_PORTS_START( spec_plus ) |
| 449 | PORT_INCLUDE( spectrum ) |
| 450 | |
| 451 | PORT_START("PLUS0") /* Spectrum+ Keys (Same as CAPS + 1-5) */ |
| 452 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("EDIT") PORT_CODE(KEYCODE_INSERT) |
| 453 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("CAPS LOCK") PORT_CODE(KEYCODE_CAPSLOCK) |
| 454 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("TRUE VID") PORT_CODE(KEYCODE_HOME) |
| 455 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("INV VID") PORT_CODE(KEYCODE_END) |
| 456 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor Left") PORT_CODE(KEYCODE_LEFT) |
| 378 | 457 | PORT_BIT(0xe0, IP_ACTIVE_LOW, IPT_UNUSED) |
| 379 | 458 | |
| 380 | | PORT_START("PLUS1") /* [9] Spectrum+ Keys (set CAPS + 6-0) */ |
| 381 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("DEL (CAPS + 0)") PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8) |
| 382 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("GRAPH (CAPS + 9)") PORT_CODE(KEYCODE_LALT) |
| 383 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor right (CAPS + 8)") PORT_CODE(KEYCODE_RIGHT) |
| 384 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor up (CAPS + 7)") PORT_CODE(KEYCODE_UP) |
| 385 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor down (CAPS + 6)") PORT_CODE(KEYCODE_DOWN) |
| 459 | PORT_START("PLUS1") /* Spectrum+ Keys (Same as CAPS + 6-0) */ |
| 460 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("DEL") PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8) |
| 461 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("GRAPH") PORT_CODE(KEYCODE_LALT) |
| 462 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor Right") PORT_CODE(KEYCODE_RIGHT) |
| 463 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor Up") PORT_CODE(KEYCODE_UP) |
| 464 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Cursor Down") PORT_CODE(KEYCODE_DOWN) |
| 386 | 465 | PORT_BIT(0xe0, IP_ACTIVE_LOW, IPT_UNUSED) |
| 387 | 466 | |
| 388 | | PORT_START("PLUS2") /* [10] Spectrum+ Keys (set CAPS + SPACE and CAPS + SYMBOL */ |
| 467 | PORT_START("PLUS2") /* Spectrum+ Keys (Same as CAPS + SPACE and CAPS + SYMBOL) */ |
| 389 | 468 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("BREAK") PORT_CODE(KEYCODE_PAUSE) |
| 390 | 469 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("EXT MODE") PORT_CODE(KEYCODE_LCONTROL) |
| 391 | 470 | PORT_BIT(0xfc, IP_ACTIVE_LOW, IPT_UNUSED) |
| 392 | 471 | |
| 393 | | PORT_START("PLUS3") /* [11] Spectrum+ Keys (set SYMBOL SHIFT + O/P */ |
| 472 | PORT_START("PLUS3") /* Spectrum+ Keys (Same as SYMBOL SHIFT + O/P) */ |
| 394 | 473 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\"") PORT_CODE(KEYCODE_F4) |
| 395 | 474 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(";") PORT_CODE(KEYCODE_COLON) |
| 396 | 475 | PORT_BIT(0xfc, IP_ACTIVE_LOW, IPT_UNUSED) |
| 397 | 476 | |
| 398 | | PORT_START("PLUS4") /* [12] Spectrum+ Keys (set SYMBOL SHIFT + N/M */ |
| 477 | PORT_START("PLUS4") /* Spectrum+ Keys (Same as SYMBOL SHIFT + N/M) */ |
| 399 | 478 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(".") PORT_CODE(KEYCODE_STOP) |
| 400 | 479 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(",") PORT_CODE(KEYCODE_COMMA) |
| 401 | 480 | PORT_BIT(0xf3, IP_ACTIVE_LOW, IPT_UNUSED) |
| 402 | | |
| 403 | | PORT_START("KEMPSTON") /* [13] Kempston joystick interface */ |
| 404 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("KEMPSTON JOYSTICK RIGHT") PORT_CODE(JOYCODE_X_RIGHT_SWITCH) |
| 405 | | PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("KEMPSTON JOYSTICK LEFT") PORT_CODE(JOYCODE_X_LEFT_SWITCH) |
| 406 | | PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("KEMPSTON JOYSTICK DOWN") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) |
| 407 | | PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("KEMPSTON JOYSTICK UP") PORT_CODE(JOYCODE_Y_UP_SWITCH) |
| 408 | | PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("KEMPSTON JOYSTICK FIRE") PORT_CODE(JOYCODE_BUTTON1) |
| 409 | | |
| 410 | | PORT_START("FULLER") /* [14] Fuller joystick interface */ |
| 411 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("FULLER JOYSTICK UP") PORT_CODE(JOYCODE_Y_UP_SWITCH) |
| 412 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("FULLER JOYSTICK DOWN") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) |
| 413 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("FULLER JOYSTICK LEFT") PORT_CODE(JOYCODE_X_LEFT_SWITCH) |
| 414 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("FULLER JOYSTICK RIGHT") PORT_CODE(JOYCODE_X_RIGHT_SWITCH) |
| 415 | | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("FULLER JOYSTICK FIRE") PORT_CODE(JOYCODE_BUTTON1) |
| 416 | | |
| 417 | | PORT_START("MIKROGEN") /* [15] Mikrogen joystick interface */ |
| 418 | | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MIKROGEN JOYSTICK UP") PORT_CODE(JOYCODE_Y_UP_SWITCH) |
| 419 | | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MIKROGEN JOYSTICK DOWN") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) |
| 420 | | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MIKROGEN JOYSTICK RIGHT") PORT_CODE(JOYCODE_X_RIGHT_SWITCH) |
| 421 | | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MIKROGEN JOYSTICK LEFT") PORT_CODE(JOYCODE_X_LEFT_SWITCH) |
| 422 | | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MIKROGEN JOYSTICK FIRE") PORT_CODE(JOYCODE_BUTTON1) |
| 423 | | |
| 424 | | PORT_START("NMI") |
| 425 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("NMI") PORT_CODE(KEYCODE_F12) |
| 426 | | |
| 427 | | PORT_START("CONFIG") /* [16] */ |
| 428 | | PORT_DIPNAME(0x80, 0x00, "Hardware Version") |
| 429 | | PORT_DIPSETTING(0x00, "Issue 2" ) |
| 430 | | PORT_DIPSETTING(0x80, "Issue 3" ) |
| 431 | | PORT_DIPNAME(0x40, 0x00, "End of .TAP action") |
| 432 | | PORT_DIPSETTING(0x00, "Disable .TAP support" ) |
| 433 | | PORT_DIPSETTING(0x40, "Rewind tape to start (to reload earlier levels)" ) |
| 434 | | PORT_DIPNAME(0x20, 0x00, "+3/+2a etc. Disk Drive") |
| 435 | | PORT_DIPSETTING(0x00, "Enabled" ) |
| 436 | | PORT_DIPSETTING(0x20, "Disabled" ) |
| 437 | | PORT_BIT(0x1f, IP_ACTIVE_LOW, IPT_UNUSED) |
| 438 | 481 | INPUT_PORTS_END |
| 439 | 482 | |
| 440 | 483 | |