Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!STONY-BROOK.SCRC.SYMBOLICS.COM!jrd From: jrd@STONY-BROOK.SCRC.SYMBOLICS.COM (John R. Dunning) Newsgroups: comp.sys.atari.st Subject: Midi questions Message-ID: <19890415001925.6.JRD@MOA.SCRC.Symbolics.COM> Date: 15 Apr 89 00:19:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 19 Can anybody out there tell me the "right" way to read a bunch of midi data? I have some code that reads byte-at-a-time using Bconin(3), and that works until I tell my synthesizer (a Kawai K1) to dump its whole patch database. That apparently causes buffer overruns inside the ST, as the first few patches come thru ok, but the rest is gubbish. Transferring small amounts of data works. In the OSBIND defs, I see Mfpint; is that something to do with getting MIDI interrupts for incoming data? Also, about a year ago, a fragment of C code called midisys flew by on this list; it appears to be low-level interrupt handlers that hack the ACIA directly. Anybody remember it, used it, etc? One of the things it does is snag a batch of vectors with Kbdvbase() and grab the MIDI one; does anybody know which one that is? Finally, code fragments, in any language, would be welcome. Thanks in advance for any and all info.