"Bistmans, Leo" wrote:

> The 'ptt output: none' is the result of following failing test in the
> soundmode code ( sm.c )
> 
>     timeout =  jiffies + (HZ / 100);
>     while (inb(MIDI_STATUS(iobase)) & MIDI_WRITE_EMPTY)
>       if ((signed)(jiffies - timeout) > 0)
>               return 0;
> 
> This seems to be the first read from the MIDI port.

That code verifies if a MIDI interface is indeed there,
by checking if there's a "Transmitter Empty" bit
in the status register

Tom

Reply via email to