src/mess/drivers/oric.c
| r1312 | r1313 | |
| 373 | 373 | static INPUT_PORTS_START(prav8d) |
| 374 | 374 | INPUT_PORT_PRAV8D |
| 375 | 375 | /* force apple2 disc interface for pravetz */ |
| 376 | | PORT_START |
| 377 | | PORT_DIPNAME( 0x07, 0x00, "Floppy disc interface" ) |
| 378 | | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 379 | | PORT_DIPSETTING( 0x03, "Low 8D DOS" ) |
| 380 | | PORT_DIPSETTING( 0x04, "High 8D DOS" ) |
| 381 | | PORT_DIPNAME(0x08, 0x00, "Vsync cable hardware") |
| 382 | | PORT_DIPSETTING(0x0, DEF_STR( Off ) ) |
| 383 | | PORT_DIPSETTING(0x8, DEF_STR( On ) ) |
| 376 | PORT_START_TAG("oric_floppy_interface") |
| 377 | PORT_CONFNAME( 0x07, 0x00, "Floppy disc interface" ) |
| 378 | PORT_CONFSETTING( 0x00, DEF_STR( None ) ) |
| 379 | PORT_CONFSETTING( 0x03, "Low 8D DOS" ) |
| 380 | PORT_CONFSETTING( 0x04, "High 8D DOS" ) |
| 381 | PORT_CONFNAME(0x08, 0x00, "Vsync cable hardware") |
| 382 | PORT_CONFSETTING(0x0, DEF_STR( Off ) ) |
| 383 | PORT_CONFSETTING(0x8, DEF_STR( On ) ) |
| 384 | 384 | PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_VBLANK) |
| 385 | 385 | INPUT_PORTS_END |
| 386 | 386 | |
| 387 | 387 | static INPUT_PORTS_START(telstrat) |
| 388 | 388 | INPUT_PORT_ORICA |
| 389 | | PORT_START |
| 389 | |
| 390 | PORT_START_TAG("oric_floppy_interface") |
| 390 | 391 | /* vsync cable hardware. This is a simple cable connected to the video output |
| 391 | 392 | to the monitor/television. The sync signal is connected to the cassette input |
| 392 | 393 | allowing interrupts to be generated from the vsync signal. */ |
| 393 | 394 | PORT_BIT (0x07, 0x00, IPT_UNUSED) |
| 394 | | PORT_DIPNAME(0x08, 0x00, "Vsync cable hardware") |
| 395 | | PORT_DIPSETTING(0x0, DEF_STR( Off ) ) |
| 396 | | PORT_DIPSETTING(0x8, DEF_STR( On ) ) |
| 395 | PORT_CONFNAME(0x08, 0x00, "Vsync cable hardware") |
| 396 | PORT_CONFSETTING(0x0, DEF_STR( Off ) ) |
| 397 | PORT_CONFSETTING(0x8, DEF_STR( On ) ) |
| 397 | 398 | PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_VBLANK) |
| 398 | 399 | /* left joystick port */ |
| 399 | 400 | PORT_START |
| r1312 | r1313 | |
| 409 | 410 | PORT_BIT(0x004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("JOYSTICK 1 LEFT") PORT_CODE(JOYCODE_BUTTON1) |
| 410 | 411 | PORT_BIT(0x008, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("JOYSTICK 1 RIGHT") PORT_CODE(JOYCODE_Y_DOWN_SWITCH) |
| 411 | 412 | PORT_BIT(0x010, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("JOYSTICK 1 FIRE 1") PORT_CODE(JOYCODE_Y_UP_SWITCH) |
| 412 | | |
| 413 | 413 | INPUT_PORTS_END |
| 414 | 414 | |
| 415 | 415 | static unsigned char oric_palette[8*3] = |
| r1312 | r1313 | |
| 482 | 482 | MDRV_CPU_PROGRAM_MAP( telestrat_mem, 0 ) |
| 483 | 483 | |
| 484 | 484 | MDRV_MACHINE_START( telestrat ) |
| 485 | MDRV_MACHINE_RESET( NULL ) |
| 485 | 486 | MACHINE_DRIVER_END |
| 486 | 487 | |
| 487 | 488 | |