|The Atari SIG Historical Archive|
|Created and hosted by: atarimax.com|
|[ HOME | GO ATARI | 8-BIT | ST/TT | PORTFOLIO | LYNX | JAGUAR | LIBRARY ]|
Article #109 (419 is last): Newsgroups: freenet.sci.comp.atari.questions From: visitor Subject: MODEM COMMANDS FROM BASIC Date: Sun Jul 30 09:20:56 1989 IS THERE A WAY TO RUN A MODEM FROM BASIC? IF SO PLESE LEAVEINFO ABOUT IT. THANK-YOU ** Answered by JOHN SUCHY (aa271) on Thu Jun 4 02:23:39 1987 ** To run a modem you need two kinds of code: a 'handler' and a 'user interface'. A handler is a machine language program that tells your Atari how to talk to the modem. It involves those strange internal workings like CIO, IOCB, and SIO. You don't need to worry about those if you search around the BBS's and user groups for an 'R-handler'('T-handler' if you have a 1030 or XM301). The handler must be 'booted' before you run your control program, or with luck and some research may be loaded at the beginning of your program. The user interface lets you (theuser) talk to the computer and tell it what you want to send to the modem and what to do with what it sends you. Thisprogram could be as simple as a two- person game such as 'battleship' or as complex as an auto-dial/auto-answer terminal program. In any case, for running a modem in BASIC, you need to study these commands: OPEN CLOSE GET PUT INPUT # PRINT # and XIO. Your best sources are THE ATARI BASIC REFERENCE MANUAL and the SAM'S PROGRAMMER'S REFERENCE GUIDE FOR THE ATARI 400/800 COMPUTERS. I personally use SAM'S. Your Co-sysop John E. Suchy aa271 Thanks for asking!