[comp.sys.amiga] Amiga MIDI design philosophy

ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (08/26/87)

In article <2247@cbmvax.UUCP> andy@cbmvax.UUCP (Andy Finkel) writes:
>The Amiga serial.device does not timestamp the serial input events.  [...]
>The solution ?
>There are two...(I like this one) write a small, very fast
>midi.device (which can leave out a lot of stuff the serial.device
>has to keep around) or set up a small task, running at a high
>priority, whose task it is to get bytes from the serial.device,
>timestamp them, and feed them to whoever asks.  (through a message port)
>
	No, don't use a task to timestamp the serial events; the switching
time is too slow, as well as running the risk of being pre-empted.

	Write an interrupt handler who grabs the bytes off the serial port,
timestamps them, puts them im a buffer, and signals the main .device driver.

	I mention this in case anyone decides to actually go out and do
this; just want to be sure it gets written is the most effective way.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape	ihnp4!ptsfa -\
 \_ -_	 Bike shrunk by popular demand,	      dual ---> !{well,unicom}!ewhac
O----^o	 But it's still the only way to fly.  hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor