1. Driving COM ports

Hello there you Euphoric people.
I have just written a moderately big database program in Euphoria with 
Win32Lib using the IDE. So far so good. But there seems to be no support 
for driving the serial ports of the PC. I have some code I have got off 
the EU site but that is just giving me access to the 16550 UARTs so I 
can push and pull bytes to it. I have to use a timer interrupt to test 
for received bytes. Not nice.
Does anyone have a clean-ish package to drive the COM ports with 
interrupt I/O, so it can be driven as if a system character device? Or 
does anyone know where I can get one .... etc etc.
Thanks
Andy

new topic     » topic index » view message » categorize

2. Re: Driving COM ports

On Wed, 02 May 2001, Andy Drummond wrote:

> Hello there you Euphoric people.
> I have just written a moderately big database program in Euphoria with 
> Win32Lib using the IDE. So far so good. But there seems to be no support 
> for driving the serial ports of the PC. I have some code I have got off 
> the EU site but that is just giving me access to the 16550 UARTs so I 
> can push and pull bytes to it. I have to use a timer interrupt to test 
> for received bytes. Not nice.
> Does anyone have a clean-ish package to drive the COM ports with 
> interrupt I/O, so it can be driven as if a system character device? Or 
> does anyone know where I can get one .... etc etc.
> Thanks
> Andy
> 

There's a much simpler explanation, written for Delphi, using Win32 calls,
which should be fairly easy to translate to Euphoria:

http://www.innotts.co.uk/~zephyr/serial.html

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

3. Re: Driving COM ports

On 2 May 2001, at 14:06, Andy Drummond wrote:

> 
> Hello there you Euphoric people.
> I have just written a moderately big database program in Euphoria with 
> Win32Lib using the IDE. So far so good. But there seems to be no support 
> for driving the serial ports of the PC. I have some code I have got off 
> the EU site but that is just giving me access to the 16550 UARTs so I 
> can push and pull bytes to it. I have to use a timer interrupt to test 
> for received bytes. Not nice.
> Does anyone have a clean-ish package to drive the COM ports with 
> interrupt I/O, so it can be driven as if a system character device? Or 
> does anyone know where I can get one .... etc etc.

http://www.rapideuphoria.com/serial.zip

http://members.aol.com/robertc538/jd.zip

http://www.rapideuphoria.com/euio.zip

http://www.geocities.com/TimesSquare/Labyrinth/9472/downloads.html

all listed at:
http://www.rapideuphoria.com/cgi-bin/search.cgi?keywords=ports

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu