Yahoo Groups archive

SynthModules

Index last updated: 2026-04-28 23:14 UTC

Message

Re: MIDI interupts

2004-04-10 by djbrow54

--- In SynthModules@yahoogroups.com, "grantrichter2001"
<grichter@a...> wrote:
> Version 7.2 implements HSERIN and HSEROUT which are 
> code blocks that use the hardware UART. In theory, they should 
> take care of interupt processing for us. But direct register use 
> may still needed for byte by byte message parsing, the HSERIN 
> routine may add enough overhead so it can't handle MIDI data 
> rates.
> 
> To use HSERIN you also have to enable it and use the 
> SERSETUP command to initialize the UART.
> Grant

I did finally get the PMR1 to work without a poke.  Must have been a
late night moment.

I've played around with the HSERIN this morning.  When I do an
ENABLEHSERIAL and the SETHSERIAL command, the RE (receiver enable)
bit in SCR3 is set to 0.  I can't even turn it back on with a
SCR3=%11110000 command.  I'm suspecting that it might be enabled
within the HSERIN command.  As such, I don't know how to use this
with interrupts since I don't seem to be able to enable the receiver.

Dave

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.