1. COM ports?
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Aug 03, 1997
- 908 views
- Last edited Aug 04, 1997
Hello everybody... I'm new here (But not to FIDONet... So I know how to behave :)... But anyway, I was wondering if anybody knows how to use the COM ports in Euphoria? I have a Qbasic terminal program I made, but it has overflows because of the speed of the interpreter, and I can't compile it into an EXE. (There is a BaudControl subroutine that sets the COM port to more than 9600) Basically, here is what I need to know: How to use the COM port. How to tell if data is ready to be received from the COM port. How to set the baud rate. Thanks in advance... BTW, I only have E-Mail... No Internet access.
2. Re: COM ports?
- Posted by Faerun McLeam <photek.maven.gov at JUNO.COM> Aug 04, 1997
- 973 views
o__ --- _,>/'_ --- (_) \(_) --- On Sun, 3 Aug 1997 20:15:02 -0400 Robert B Pilkington <bpilkington at JUNO.COM> writes: >---------------------- Information from the mail header >----------------------- >Sender: Euphoria Programming for MS-DOS ><EUPHORIA at MIAMIU.ACS.MUOHIO.EDU> >Poster: Robert B Pilkington <bpilkington at JUNO.COM> >Subject: COM ports? >------------------------------------------------------------------------------- > >Hello everybody... >I'm new here (But not to FIDONet... So I know how to behave :)... >But anyway, I was wondering if anybody knows how to use the COM ports >in Euphoria? I have a Qbasic terminal program I made, but it has >overflows because of the speed of the interpreter, and I can't compile it into >an EXE. >(There is a BaudControl subroutine that sets the COM port to more than >9600) >Basically, here is what I need to know: >How to use the COM port. >How to tell if data is ready to be received from the COM port. >How to set the baud rate. > >Thanks in advance... BTW, I only have E-Mail... No Internet access. > Well, with Qbasic 4.5, you *can* compile into exe format, and the only way that I know of accessing ports directly with EU is to use either the adress of the device or the interupt. If you have uudecoding technology I will give you qbasic 4.5, or if you don't i will give you doth a decoder and the zip file. L8trz, MaVeN
3. Re: COM ports?
- Posted by Robert Craig <rds at MSN.COM> Aug 04, 1997
- 938 views
- Last edited Aug 05, 1997
Robert B Pilkington writes: > But anyway, I was wondering if anybody knows how to use the COM ports in > Euphoria? I have a Qbasic terminal program I made, but it has overflows > because of the speed of the interpreter, and I can't compile it into an EXE. On the Euphoria user contributions page there's a good example of COM port I/O for Euphoria written by Peter Blue. Since you don't have Web access I'm attaching serial.zip to this message (it's only 3K or so). Regards, Rob Craig Rapid Deployment Software
4. Re: COM ports?
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Aug 04, 1997
- 916 views
- Last edited Aug 05, 1997
On Mon, 4 Aug 1997 21:46:31 UT Robert Craig <rds at MSN.COM> writes: >> But anyway, I was wondering if anybody knows how to use the COM >>ports in >> Euphoria? I have a Qbasic terminal program I made, but it has >>>overflows >> because of the speed of the interpreter, and I can't compile it into >>an EXE. >On the Euphoria user contributions page there's a good example of >COM port I/O for Euphoria written by Peter Blue. > >Since you don't have Web access I'm attaching serial.zip to this >message (it's only 3K or so).
5. Re: COM ports?
- Posted by Bryan Watts <BWatts1 at COMPUSERVE.COM> Aug 05, 1997
- 858 views
Robert P. Pilkington wrote:
6. Re: COM ports?
- Posted by "midnight.runner" <mrunner at WEBACCESS.NET> Aug 04, 1997
- 899 views
- Last edited Aug 05, 1997
Bryan Watts wrote: > This exact same thing has happened to me too!! I don't know what it is. > Someone mailed me some stuff earlier, and it had that, and I told them > that that's what I got, and they went and changed some settings and I got > the attached file perfectly, like I should have. I have CompuServe, and > attached mails always come through like they should, but this mailing list > must do something different...maybe if you change the setting (I'm not sure > how your mail service is set up) that says "Send as: {binary - text}" to > binary, that would work better. I'm not really sure what's up, but I would > like to use the info and programs on this list too!! it's uuencoded. someone posted a encoder/decoder awhile ago. perhaps Craig should put these files up on the Euphoria page when you subscribe to the list, that way everybody has them, or at least knows there will be uuencoded attachments. -- - MiD ( mrunner at webaccess.net / http://mrunner.home.ml.org ) nothing:information Service: 1 - 719 - 380 - 1396 iLLoGiK ushq / Project Gabbangelion ushq unofficial Kosmic distro
7. Re: COM ports?
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Aug 05, 1997
- 882 views
- Last edited Aug 06, 1997
8. Re: COM ports?
- Posted by Daniel Berstein <danielberstein at USA.NET> Aug 05, 1997
- 906 views
- Last edited Aug 06, 1997
> and_bits is not declared. I used search.ex to look for it in the > C:\Euphoria directory and didn't find it. I used search.ex on the > serial.zip package (E-term.ex, ports.e, Serial.E)... No declarations, and_bits() is (since Euphoria 1.5) a built-in function. Older releases (1.4-) didn't came woth this function (and or_bits, xor_bits...), so Jacques Deschenes contributed his version (available at RDS homepage). Check that you are using the latest (1.5b) version of Euphoria. Regards, Daniel Berstein danielberstein at usa.net http://www.geocities.com/SiliconValley/Heights/9316
9. Re: COM ports?
- Posted by Cameron Kaiser <spectre at WWW2.BUOY.COM> Aug 06, 1997
- 889 views
Re: can't get serial.e to work! and_bits() is in the latest version of Euphoria. You must have been trying that with 1.4. Try downloading 1.5 and seeing if it will work with the new version (I should expect it will). -- Cameron Kaiser http://www.sserv.com/ spectre at sserv.com --
10. Re: COM ports?
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Aug 06, 1997
- 898 views
>Re: can't get serial.e to work! > >and_bits() is in the latest version of Euphoria. You must have been trying >that with 1.4. Try downloading 1.5 and seeing if it will work with the >new version (I should expect it will). I would *REALLY* love to download 1.5... But around here 1.4 is the latest that can be found.... Fortunately, there is a friendly Sysop around... I'm sure he'd be willing to download 1.5 for me..... (I don't have any internet access and he does. I have Juno which means that uuencoded or debug scripted files are all I can get...) I'll get the Sysop to download it and I should have it by tonight or Thursday latest.
11. Re: COM ports?
- Posted by Larry D Poos <ldpoos at JUNO.COM> Aug 07, 1997
- 888 views
On Wed, 6 Aug 1997 13:27:49 -0400 Robert B Pilkington <bpilkington at JUNO.COM> writes: >Subject: Re: COM ports? >have any internet access and he does. I have Juno which means that >uuencoded or debug scripted files are all I can get...) >I'll get the Sysop to download it and I should have it by tonight or >Thursday latest. > As you will note I use Juno also and have been able to do Archie and Gopher searchs via E-mail. Then do anonymous FTP requests for files. Got a copy of F-prot that way. Go to your local library and get a copy of "The Internet Complete Reference" by Hahn and Stout. It has a very good explanation of how to do a lot of things via e-mail that most people do on-line. Of course you have to have patience E-Mail isn't as fast as a TCP/IP connection. <BG> Larry D. Poos -[USMC (Retar{bks}{bks}ired) Havelock, NC]- - Programming and System Consultant, LTAD Enterprises -