[comp.sys.amiga] serial.device and MIDI

eraps1@nadc (05/06/87)

From: eraps1@NADC


Hello,

Is the source for the serial.device floating about anywhere?  I wish
to make a couple of changes to convert it into a midi.device.  As
you may know, MIDI timing on the Amiga sucks since the incoming data
is NOT time-stamped in the driver.  Since the machine multi-tasks,
the software time-stamping is inaccurate.  Also, the output speeds
are uneven.  The 'cleanest' way to solve the problem is simply to
have the driver output the value of some HARDWARE register along
with the MIDI data (say the TOD counter? or the serial timer itself?)
Writing this with the source for serial.device would be fairly
trivial since most of the work is chopping out unused options
(baud rate, etc ...) and adding the time-stamp.  Also to be added
would be a double buffered block output scheme (similar to the
audio buffering) where the data bytes had their durations mixed in
with the values.

					Thanks for any help,
					Rob Ginn (eraps1@nadc.arpa)

ps: please write directly to my since the info-amiga mailer seems
    to be dysfunctional (2 months and no mail)