[comp.sys.mac.comm] MIDI, the Mac and the Serial Port

svb@bksmel.oz.au (Stuart Begg) (09/04/90)

I have recently turned my computing interests to MIDI programming and,
having a Macintosh, have invested in some sequencing software and a 
MIDI interface.  And while this system works just fine, it has piqued
my interest in developing my own software in this environment.

My programming experience is quite extensive, however, my hardware and
communications experience leaves something to be desired.  With this
in mind, and given that I have read what I think are the appropriate
sections of "Inside Macintosh" (V1-V5), I can't work out how to 
configure and access the serial port for MIDI transmission and
receipt on my Macintosh Plus!

The interface I have clocks the HSK pin on the Macintosh at 1MHz, and 
I don't understand what, given that the MIDI protocol is asynchronous
(31.25kbps, 8 data bits, 1 stop bit), this signal is doing.  What
vital piece of communications/hardware/interrupt information am I 
missing here?

Also, what about this crazy speed?  31.25kbps, what sort of speed is
that for a self respecting piece of equipment to run at? :-)

I know there are some MIDI libraries around but I would prefer to
understand the process a little more fully by implementing my own.
If anyone can help with tips, pointers, source code, references, 
technical notes, or any other relevant information, I would greatly 
appreciate the assistance.  I can be emailed at the address in the
signature, of course.

Oh, when you do send something, I would appreciate a reference too,
if that's possible.

Thanks, in advance.
Stuart.

------------------------------------------------------------------
Stuart Begg : usenet = svb@bksmel.oz.au
------------------------------------------------------------------