src/mess/drivers/cosmicos.c
| r7083 | r7084 | |
| 241 | 241 | |
| 242 | 242 | static INPUT_CHANGED( run ) { if (!newval) set_cdp1802_mode(field->port->machine, CDP1802_MODE_RUN); } |
| 243 | 243 | static INPUT_CHANGED( load ) { if (!newval) set_cdp1802_mode(field->port->machine, CDP1802_MODE_LOAD); } |
| 244 | | static INPUT_CHANGED( pause ) { if (!newval) set_cdp1802_mode(field->port->machine, CDP1802_MODE_PAUSE); } |
| 244 | static INPUT_CHANGED( cosmicos_pause ) { if (!newval) set_cdp1802_mode(field->port->machine, CDP1802_MODE_PAUSE); } |
| 245 | 245 | static INPUT_CHANGED( reset ) { if (!newval) set_cdp1802_mode(field->port->machine, CDP1802_MODE_RESET); } |
| 246 | 246 | |
| 247 | 247 | static void clear_input_data(running_machine *machine) |
| r7083 | r7084 | |
| 321 | 321 | PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_SPACE) PORT_NAME("Single Step") PORT_CHANGED(single_step, 0) |
| 322 | 322 | PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_G) PORT_NAME("Run") PORT_CHANGED(run, 0) |
| 323 | 323 | PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_NAME("Load") PORT_CHANGED(load, 0) |
| 324 | | PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_NAME(DEF_STR( Pause )) PORT_CHANGED(pause, 0) |
| 324 | PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_NAME(DEF_STR( Pause )) PORT_CHANGED(cosmicos_pause, 0) |
| 325 | 325 | PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_R) PORT_NAME("Reset") PORT_CHANGED(reset, 0) |
| 326 | 326 | PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_DEL_PAD) PORT_NAME("Clear Data") PORT_CHANGED(clear_data, 0) |
| 327 | 327 | PORT_BIT( 0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_M) PORT_NAME("Memory Protect") PORT_CHANGED(memory_protect, 0) PORT_TOGGLE |