Previous 15994 Revisions Next

r4633 Tuesday 5th May, 2009 at 09:19:11 UTC by Curt Coder
[CRVISION] Added reset button.
[src/mess/drivers]crvision.c

src/mess/drivers/crvision.c
r4632r4633
1414
1515   - BASIC v1,v2 numbers are invisible
1616    - proper keyboard emulation, need keyboard schematics
17   - memory expansion
1718   - parallel I/O module
1819
1920*/
r4632r4633
4950
5051/* Input Ports */
5152
53static 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
5258static INPUT_PORTS_START( crvision )
5359   // Player 1 Joystick
5460
r4632r4633
209215   PORT_START("PA3-7")
210216   PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED )
211217   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)
212221INPUT_PORTS_END
213222
214223/* Machine Interface */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team