src/mess/video/x68k.c
| r3991 | r3992 | |
| 296 | 296 | if(scan <= sys.crtc.vtotal) |
| 297 | 297 | { |
| 298 | 298 | sys.mfp.gpio &= ~0x40; // GPIP6 |
| 299 | | if((input_port_read(machine, "options") & 0x01)) |
| 300 | | { |
| 301 | | video_screen_update_partial(machine->primary_screen,scan); |
| 302 | | } |
| 299 | video_screen_update_partial(machine->primary_screen,scan); |
| 303 | 300 | irq_time = video_screen_get_time_until_pos(machine->primary_screen,scan,2); |
| 304 | 301 | // end of HBlank period clears GPIP6 also? |
| 305 | 302 | end_time = video_screen_get_time_until_pos(machine->primary_screen,scan,sys.crtc.hbegin); |
src/mess/drivers/x68k.c
| r3991 | r3992 | |
| 452 | 452 | { |
| 453 | 453 | sys.mfp.rsr |= 0x80; // Buffer full |
| 454 | 454 | // mfp_trigger_irq(MFP_IRQ_RX_FULL); |
| 455 | | current_vector[6] = 0x4c; |
| 456 | | cpu_set_input_line_and_vector(machine->cpu[0],6,ASSERT_LINE,0x4c); |
| 457 | | logerror("MFP: Receive buffer full IRQ sent\n"); |
| 455 | if(input_port_read(machine,"options") & 0x01) |
| 456 | { |
| 457 | current_vector[6] = 0x4c; |
| 458 | cpu_set_input_line_and_vector(machine->cpu[0],6,ASSERT_LINE,0x4c); |
| 459 | logerror("MFP: Receive buffer full IRQ sent\n"); |
| 460 | } |
| 458 | 461 | } |
| 459 | 462 | } |
| 460 | 463 | sys.keyboard.buffer[sys.keyboard.headpos++] = code; |
| r3991 | r3992 | |
| 1829 | 1832 | PORT_BIT( 0x00080000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Opt. 2") PORT_CODE(KEYCODE_PAUSE) /* Opt2 */ |
| 1830 | 1833 | |
| 1831 | 1834 | PORT_START("options") |
| 1832 | | PORT_CONFNAME( 0x01, 0x01, "Enable partial updates on raster IRQ") |
| 1835 | PORT_CONFNAME( 0x01, 0x01, "Enable keyboard hack") |
| 1833 | 1836 | PORT_CONFSETTING( 0x00, DEF_STR( Off )) |
| 1834 | 1837 | PORT_CONFSETTING( 0x01, DEF_STR( On )) |
| 1835 | 1838 | PORT_CONFNAME( 0x02, 0x02, "Enable fake bus errors") |