Previous 199869 Revisions Next

r31702 Tuesday 19th August, 2014 at 02:19:11 UTC by R. Belmont
(MESS) Apple II: hook up ACIAs for Laser 128 series, remove cassette for IIc and Laser. [R. Belmont]
[src/mess/drivers]apple2.c
[src/mess/machine]apple2.c

trunk/src/mess/drivers/apple2.c
r31701r31702
12041204   MCFG_MACHINE_START_OVERRIDE(apple2_state,apple2c)
12051205   MCFG_VIDEO_START_OVERRIDE(apple2_state,apple2c)
12061206
1207   // IIc and friends have no cassette port
1208   MCFG_DEVICE_REMOVE("cassette")
1209
12071210   MCFG_A2BUS_SLOT_REMOVE("sl1")   // IIc has no slots, of course :)
12081211   MCFG_A2BUS_SLOT_REMOVE("sl2")
12091212   MCFG_A2BUS_SLOT_REMOVE("sl3")
trunk/src/mess/machine/apple2.c
r31701r31702
347347      offset &= 0x7F;
348348      slot = offset / 0x10;
349349
350      if ((m_machinetype == APPLE_IIC) || (m_machinetype == APPLE_IICPLUS))
350      if ((m_machinetype == APPLE_IIC) || (m_machinetype == APPLE_IICPLUS) || (m_machinetype == LASER128))
351351      {
352352         if (slot == 1)
353353         {
r31701r31702
366366            }
367367         }
368368      }
369      else if ((m_machinetype == LASER128) && (slot == 6))
369
370      if ((m_machinetype == LASER128) && (slot == 6))
370371      {
371372         offset &= 0xf;
372373         return m_laserudc->read(offset);
r31701r31702
394395   offset &= 0x7F;
395396   slot = offset / 0x10;
396397
397   if ((m_machinetype == APPLE_IIC) || (m_machinetype == APPLE_IICPLUS))
398   if ((m_machinetype == APPLE_IIC) || (m_machinetype == APPLE_IICPLUS) || (m_machinetype == LASER128))
398399   {
399400      if (slot == 1)
400401      {
r31701r31702
415416         }
416417      }
417418   }
418   else if ((m_machinetype == LASER128) && (slot == 6))
419
420   if ((m_machinetype == LASER128) && (slot == 6))
419421   {
420422      offset &= 0xf;
421423      m_laserudc->write(space, offset, data);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team