[comp.sys.apple2] Programming a Modem?

STEIN@UCONNVM.BITNET (Alan Stein) (02/10/91)

What needs to be done, under GS/OS using Assembler, Orca/C or Orca/Pascal,
in order to send an ASCII string to a modem?

 __________________________________________________________
|                                                          |
| Alan H. Stein              | stein@uconnvm.bitnet        |
| Department of Mathematics  |                             |
| University of Connecticut  | Compu$erve  71545,1500      |
| 32 Hillside Avenue         | GEnie       ah.stein        |
| Waterbury, CT 06710        | SNET        (203) 757-1231  |
|__________________________________________________________|

mhill@pnet91.cts.com (Martin Hill) (02/12/91)

> What needs to be done, under GS/OS using Assembler, Orca/C or Orca/Pascal,
> in order to send an ASCII string to a modem?

If you only need to send a string to the modem, and don't have a speed
requirement, then there are many ways. You can use FWEntry to call the modem
firmware directly, or you can use the GS/OS character FST. If you're doing
read operations, you will have to first call the firmware and check if a
character is there, and only then read it. Otherwise, if no character is
received, your program will hang as the Character FST waits forever.

UUCP: bkj386!pnet91!mhill
INET: mhill@pnet91.cts.com