[comp.sys.atari.8bit] Standalone

jhs@MITRE-BEDFORD.ARPA (10/04/87)

Steven Grove, your message arrived with no useable return path, so I am unable
to reply directly.

Steve comments that he would like to download OmniCom but has no terminal
software with which to download it.  This situation keeps coming up.  Can't
somebody come up with a simple downloading program?  The following program
might be turned into something that can be used for this purpose by
adding some machinery to buffer the received data in a string, then
CLOSE the serial I/O and write the string to a file.  Steve, maybe you
could be the one to get this working.  Meanwhile, the program below, as
it stands, may be enough to let you at least log in as a dumb terminal.
You may have to fiddle to get it working, but it is what Avatex publishes
with their modem as a simple terminal program.

-John S.
-------------------------------c-u-t---h-e-r-e--------------------------------
10 GOTO 310:REM Dumb Terminal Prog.
100 STATUS #3,AVAR:IF PEEK(747)=0 THEN 200
120 GET #3,CHAR:IF CHAR=0 OR CHAR=10 THEN 200
130 PUT #4,CHAR
200 IF PEEK(764)=255 THEN 100
210 GET #2,KEY:PUT #3,KEY:GOTO 100
300 REM I/O Setup for Dumb Terminal.
310 OPEN #2,4,0,"K:"
320 OPEN #3,13,0,"R:"
330 OPEN #4,8,0,"E:"
340 XIO 34,#3,192+48+3,0,"R:"
350 XIO 40,#3,0,0,"R:"
360 GOTO 100:REM Go to it!