1. 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.

new topic     » topic index » view message » categorize

2. Re: COM ports?

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

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

3. Re: COM ports?

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

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

4. Re: COM ports?

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).

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

5. Re: COM ports?

Robert P. Pilkington wrote:

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

6. Re: COM ports?

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

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

7. Re: COM ports?


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

8. Re: COM ports?

> 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

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

9. Re: COM ports?

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
--

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

10. Re: COM ports?

>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.

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

11. Re: COM ports?

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 -

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

Search



Quick Links

User menu

Not signed in.

Misc Menu