Previous 15994 Revisions Next

r1234 Tuesday 6th November, 2007 at 20:32:34 UTC by Dirk Best
[ORIC] Fixed floppy interface detection.
[docs]messnew.txt
[src/mess/drivers]oric.c
[src/mess/includes]oric.h
[src/mess/machine]oric.c

src/mess/includes/oric.h
r1233r1234
11/* from machine/oric.c */
22MACHINE_START( oric );
3MACHINE_RESET( oric );
34INTERRUPT_GEN( oric_interrupt );
45READ8_HANDLER( oric_IO_r );
56WRITE8_HANDLER( oric_IO_w );
src/mess/machine/oric.c
r1233r1234
11151115
11161116MACHINE_START( oric )
11171117{
1118   int disc_interface_id;
1119
11201118   oric_common_init_machine();
11211119   
11221120   oric_is_telestrat = 0;
11231121
11241122   oric_ram_0x0c000 = auto_malloc(16384);
11251123
1126   disc_interface_id = readinputport(9) & 0x07;
1124   wd17xx_init(WD_TYPE_179X,oric_wd179x_callback, NULL);
1125}
11271126
1127
1128MACHINE_RESET( oric )
1129{
1130   int disc_interface_id = readinputportbytag("oric_floppy_interface") & 0x07;
1131
11281132   switch (disc_interface_id)
11291133   {
11301134      default:
r1233r1234
11771181      }
11781182      break;
11791183   }
1180
1181
1182   wd17xx_init(WD_TYPE_179X,oric_wd179x_callback, NULL);
11831184}
11841185
11851186
1186
11871187READ8_HANDLER ( oric_IO_r )
11881188{
11891189#if 0
src/mess/drivers/oric.c
r1233r1234
332332
333333INPUT_PORTS_START(oric)
334334   INPUT_PORT_ORIC
335   PORT_START
335   PORT_START_TAG("oric_floppy_interface")
336336   /* floppy interface  */
337   PORT_DIPNAME( 0x07, 0x00, "Floppy disc interface" )
338   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
339   PORT_DIPSETTING(    0x01, "Microdisc" )
340   PORT_DIPSETTING(    0x02, "Jasmin" )
341/*   PORT_DIPSETTING(    0x03, "Low 8D DOS" ) */
342/*   PORT_DIPSETTING(    0x04, "High 8D DOS" ) */
337   PORT_CONFNAME( 0x03, 0x00, "Floppy disc interface" )
338   PORT_CONFSETTING(    0x00, DEF_STR( None ) )
339   PORT_CONFSETTING(    0x01, "Microdisc" )
340   PORT_CONFSETTING(    0x02, "Jasmin" )
341/*   PORT_CONFSETTING(    0x03, "Low 8D DOS" ) */
342/*   PORT_CONFSETTING(    0x04, "High 8D DOS" ) */
343343
344344   /* vsync cable hardware. This is a simple cable connected to the video output
345345   to the monitor/television. The sync signal is connected to the cassette input
346346   allowing interrupts to be generated from the vsync signal. */
347   PORT_DIPNAME(0x08, 0x00, "Vsync cable hardware")
348   PORT_DIPSETTING(0x0, DEF_STR( Off) )
349   PORT_DIPSETTING(0x8, DEF_STR( On) )
347   PORT_CONFNAME(0x08, 0x00, "Vsync cable hardware")
348   PORT_CONFSETTING(0x0, DEF_STR( Off) )
349   PORT_CONFSETTING(0x8, DEF_STR( On) )
350350   PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_VBLANK)
351351INPUT_PORTS_END
352352
353353INPUT_PORTS_START(orica)
354354   INPUT_PORT_ORICA
355   PORT_START
355   PORT_START_TAG("oric_floppy_interface")
356356   /* floppy interface  */
357   PORT_DIPNAME( 0x07, 0x00, "Floppy disc interface" )
358   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
359   PORT_DIPSETTING(    0x01, "Microdisc" )
360   PORT_DIPSETTING(    0x02, "Jasmin" )
361/*   PORT_DIPSETTING(    0x03, "Low 8D DOS" ) */
362/*   PORT_DIPSETTING(    0x04, "High 8D DOS" ) */
357   PORT_CONFNAME( 0x03, 0x00, "Floppy disc interface" )
358   PORT_CONFSETTING(    0x00, DEF_STR( None ) )
359   PORT_CONFSETTING(    0x01, "Microdisc" )
360   PORT_CONFSETTING(    0x02, "Jasmin" )
361/*   PORT_CONFSETTING(    0x03, "Low 8D DOS" ) */
362/*   PORT_CONFSETTING(    0x04, "High 8D DOS" ) */
363363
364364   /* vsync cable hardware. This is a simple cable connected to the video output
365365   to the monitor/television. The sync signal is connected to the cassette input
366366   allowing interrupts to be generated from the vsync signal. */
367    PORT_DIPNAME(0x08, 0x00, "Vsync cable hardware")
368   PORT_DIPSETTING(0x0, DEF_STR( Off) )
369   PORT_DIPSETTING(0x8, DEF_STR( On) )
367    PORT_CONFNAME(0x08, 0x00, "Vsync cable hardware")
368   PORT_CONFSETTING(0x0, DEF_STR( Off) )
369   PORT_CONFSETTING(0x8, DEF_STR( On) )
370370   PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_VBLANK)
371371INPUT_PORTS_END
372372
r1233r1234
452452   MDRV_INTERLEAVE(1)
453453
454454   MDRV_MACHINE_START( oric )
455
455   MDRV_MACHINE_RESET( oric )
456   
456457    /* video hardware */
457458   MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
458459   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
docs/messnew.txt
r1233r1234
2020
2121- [GAMEGEAR] Fixed graphics issues in Ax Battler.  (bug #1332) [Wilbert Pol]
2222
23- [ORIC] Fixed floppy interface detection.  [Dirk Best]
24
2325- [PET] Updated to use MAME's CRTC6548 implementation.  [Wilbert Pol]
2426
2527- [PET] Fixed keyboard regression introduced in 0.116.  (bug #1405) [Wilbert

Previous 15994 Revisions Next


© 1998-2018 The MESS Team