Thread View: comp.sys.amiga.tech
1 messages
1 total messages
Started by Ric Peregrino
Mon, 11 Mar 1991 23:05
Help, MIDI data dumps
Author: Ric Peregrino
Date: Mon, 11 Mar 1991 23:05
Date: Mon, 11 Mar 1991 23:05
20 lines
1235 bytes
1235 bytes
Concerning MIDI sample data dumps: I have an A2000 1.3 with a program to send and receive MIDI sample data dumps. It's not pretty, but I'd like to make it so. The ugliness is that I Disable/Enable around a RBF (TBE for send) polling loop, thus taking over the machine. What I would like to do is have a RBF interupt service routine that **DOESN'T MISS A BYTE**. Sending is not a problem. The problem is MIDI 31250 BAUD; 8bits, 1 start, 1 stop; 320uS/data. So I've got to get the data and be ready for the next data in 320uS. The question I pose is how long (in CPU clock cycles) does it take from a RBF interupt to when my service routine gets control of CPU, in the worst case (I guess you need the operating system source code to answer this). I noticed the hardware priority for the RBF is 6; can any other interupt override this? If so, all hope is lost. ric@hpspd
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads