Previous 15994 Revisions Next

r1313 Wednesday 21st November, 2007 at 00:08:28 UTC by Dirk Best
[ORIC] Fixed bug #1432.
[src/mess/drivers]oric.c

src/mess/drivers/oric.c
r1312r1313
373373static INPUT_PORTS_START(prav8d)
374374   INPUT_PORT_PRAV8D
375375   /* 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 ) )
384384   PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_VBLANK)
385385INPUT_PORTS_END
386386
387387static INPUT_PORTS_START(telstrat)
388388   INPUT_PORT_ORICA
389   PORT_START
389
390   PORT_START_TAG("oric_floppy_interface")   
390391   /* vsync cable hardware. This is a simple cable connected to the video output
391392   to the monitor/television. The sync signal is connected to the cassette input
392393   allowing interrupts to be generated from the vsync signal. */
393394   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 ) )
397398   PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_VBLANK)
398399   /* left joystick port */
399400   PORT_START
r1312r1313
409410   PORT_BIT(0x004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("JOYSTICK 1 LEFT") PORT_CODE(JOYCODE_BUTTON1)
410411   PORT_BIT(0x008, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("JOYSTICK 1 RIGHT") PORT_CODE(JOYCODE_Y_DOWN_SWITCH)
411412   PORT_BIT(0x010, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("JOYSTICK 1 FIRE 1") PORT_CODE(JOYCODE_Y_UP_SWITCH)
412
413413INPUT_PORTS_END
414414
415415static unsigned char oric_palette[8*3] =
r1312r1313
482482   MDRV_CPU_PROGRAM_MAP( telestrat_mem, 0 )
483483
484484   MDRV_MACHINE_START( telestrat )
485   MDRV_MACHINE_RESET( NULL )
485486MACHINE_DRIVER_END
486487
487488

Previous 15994 Revisions Next


© 1998-2018 The MESS Team