1. Driving COM ports
- Posted by Andy Drummond <kestrelandy at xalt.co.uk> May 02, 2001
- 482 views
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
2. Re: Driving COM ports
- Posted by Irv Mullins <irvm at ellijay.com> May 02, 2001
- 425 views
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
3. Re: Driving COM ports
- Posted by Kat <gertie at PELL.NET> May 02, 2001
- 475 views
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