Previous 15994 Revisions Next

r5625 Monday 7th September, 2009 at 08:52:18 UTC by Miodrag Milanović
[ORIC] Uncommented code, and made floppy work again
[docs]messnew.txt
[src/mess/machine]oric.c

src/mess/machine/oric.c
r5624r5625
11781178READ8_HANDLER ( oric_IO_r )
11791179{
11801180   const device_config *via_0 = devtag_get_device(space->machine, "via6522_0");
1181#if 0
1182   switch (input_port_read(machine, "FLOPPY") & 0x07)
1181   switch (input_port_read(space->machine, "FLOPPY") & 0x07)
11831182   {
11841183      default:
11851184      case ORIC_FLOPPY_INTERFACE_NONE:
r5624r5625
11891188      {
11901189         if ((offset>=0x010) && (offset<=0x01f))
11911190         {
1192            return oric_microdisc_r(offset);
1191            return oric_microdisc_r(space, offset);
11931192         }
11941193      }
11951194      break;
r5624r5625
11981197      {
11991198         if ((offset>=0x0f4) && (offset<=0x0ff))
12001199         {
1201            return oric_jasmin_r(offset);
1200            return oric_jasmin_r(space, offset);
12021201         }
12031202      }
12041203      break;
12051204   }
1206#endif
12071205   if (enable_logging)
12081206   {
12091207      if ((offset & 0x0f)!=0x0d)
r5624r5625
12181216WRITE8_HANDLER ( oric_IO_w )
12191217{
12201218   const device_config *via_0 = devtag_get_device(space->machine, "via6522_0");
1221#if 0
1222   switch (input_port_read(machine, "FLOPPY") & 0x07)
1219   switch (input_port_read(space->machine, "FLOPPY") & 0x07)
12231220   {
12241221      default:
12251222      case ORIC_FLOPPY_INTERFACE_NONE:
r5624r5625
12291226      {
12301227         if ((offset >= 0x010) && (offset <= 0x01f))
12311228         {
1232            oric_microdisc_w(offset, data);
1229            oric_microdisc_w(space, offset, data);
12331230            return;
12341231         }
12351232      }
r5624r5625
12391236      {
12401237         if ((offset >= 0x0f4) && (offset <= 0x0ff))
12411238         {
1242            oric_jasmin_w(offset, data);
1239            oric_jasmin_w(space, offset, data);
12431240            return;
12441241         }
12451242
12461243      }
12471244      break;
12481245   }
1249#endif
12501246   if (enable_logging)
12511247   {
12521248      logerror("via 0 w: %04x %02x %04x\n", offset, data,(unsigned) cpu_get_reg(cputag_get_cpu(space->machine, "maincpu"), REG_GENPC));
docs/messnew.txt
r5624r5625
6262- [NES] Improved NES APU when reading reading $4015 and sprite overflow
6363  emulation, fixed 4-screen mirroring. [Robert Bohms]
6464
65- [ORIC] Revert commented floppy code [Miodrag Milanovic]
66
6567- [PIPPIN] Added CD-ROM firmware. [incog nito]
6668
6769- [SNES] Plenty of improvements to SNES emulation (see MAME whatsnew for
r5624r5625
127129- The core is based on MAME 0.133u5.  This incorporates all features of the
128130  update to this core.  [MAME team]
129131
132- Floppy cleanup [Miodrag Milanovic]
130133
131
1321340.133
133135
134136New System Drivers Supported (in no particular order):

Previous 15994 Revisions Next


© 1998-2018 The MESS Team