src/mess/drivers/crvision.c
| r4632 | r4633 | |
| 14 | 14 | |
| 15 | 15 | - BASIC v1,v2 numbers are invisible |
| 16 | 16 | - proper keyboard emulation, need keyboard schematics |
| 17 | - memory expansion |
| 17 | 18 | - parallel I/O module |
| 18 | 19 | |
| 19 | 20 | */ |
| r4632 | r4633 | |
| 49 | 50 | |
| 50 | 51 | /* Input Ports */ |
| 51 | 52 | |
| 53 | static INPUT_CHANGED( trigger_nmi ) |
| 54 | { |
| 55 | cputag_set_input_line(field->port->machine, M6502_TAG, INPUT_LINE_NMI, (input_port_read(field->port->machine, "NMI") ? CLEAR_LINE : ASSERT_LINE)); |
| 56 | } |
| 57 | |
| 52 | 58 | static INPUT_PORTS_START( crvision ) |
| 53 | 59 | // Player 1 Joystick |
| 54 | 60 | |
| r4632 | r4633 | |
| 209 | 215 | PORT_START("PA3-7") |
| 210 | 216 | PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 211 | 217 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P2 Button 1 / - =") PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('=') PORT_PLAYER(2) |
| 218 | |
| 219 | PORT_START("NMI") |
| 220 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_NAME("Reset") PORT_CODE(KEYCODE_F10) PORT_CHANGED(trigger_nmi, 0) |
| 212 | 221 | INPUT_PORTS_END |
| 213 | 222 | |
| 214 | 223 | /* Machine Interface */ |