Dave Laundon wrote:
> Actually, the MIDI Out interrupt is different (shorter). I don't remember
> the exact details right now, but it's something like the duration of one
> half bit of MIDI transmission. I expect MIDI In is the same as MIDI Out.
You're right - I misread the value in the header:
#define MIDI_INT_ACTIVE_TIME USECONDS_TO_TSTATES(16)
So MIDI OUT is 16*6 = 96 tstates.
I seem to remember the time between the MIDI OUT and the generated interrupt
was much harder to get right - you managed it though :-) There was 32
tstate rounding, and further offsetting by 16 tstates, or something like
that. Those timings are still a mystery to me - any ideas?
Si