Previous 199869 Revisions Next

r20609 Wednesday 30th January, 2013 at 01:34:42 UTC by R. Belmont
(MESS) apple2gs: Enable 6850 MIDI card.  Tested in MasterTracks Pro and synthLAB. [R. Belmont]
[src/mess/drivers]apple2gs.c
[src/mess/machine]a2midi.c

trunk/src/mess/drivers/apple2gs.c
r20608r20609
6767#include "machine/a2softcard.h"
6868#include "machine/a2sam.h"
6969#include "machine/a2alfam2.h"
70#include "machine/a2midi.h"
7071
7172static const gfx_layout apple2gs_text_layout =
7273{
r20608r20609
292293    SLOT_INTERFACE("ramfactor", A2BUS_RAMFACTOR)    /* Applied Engineering RamFactor */
293294    SLOT_INTERFACE("sam", A2BUS_SAM)    /* SAM Software Automated Mouth (8-bit DAC + speaker) */
294295    SLOT_INTERFACE("alfam2", A2BUS_ALFAM2)    /* ALF Apple Music II */
296   SLOT_INTERFACE("midi", A2BUS_MIDI)   /* Generic 6840+6850 MIDI board */
295297//    SLOT_INTERFACE("softcard", A2BUS_SOFTCARD)  /* Microsoft SoftCard */  // appears not to be IIgs compatible?
296298//    SLOT_INTERFACE("scsi", A2BUS_SCSI)  /* Apple II SCSI Card */
297299SLOT_INTERFACE_END
trunk/src/mess/machine/a2midi.c
r20608r20609
156156   }
157157   else if (offset == 8)
158158   {
159      // HACK: GS/OS's CARD6850.MIDI driver sets 8-N-2, which is not valid MIDI.
160      // This works on h/w pretty much by accident; we'll make it right here.
161      if ((data & 0x1c) == 0x10)
162      {
163         data |= 0x04;   // change wordbits from 0x10 to 0x14
164      }
165
159166      m_acia->control_write(space, 0, data);
160167   }
161168   else if (offset == 9)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team