Telecommunications on the QL

Author(s): Michael Mitchell
Publication: ZX-Appeal
Pub Details: ZX-Appeal Summer 88
Date: Summer 1988
Pages: 20

The Ql for all its power and versitility is limited in telecommunicating at 300 baud without a hardware link between the serial port and the modem. The following program which appeared in the Data Expansion or the Dallas/Fort Worth group will get you on line to a TNC or a telephone at 300 (or even 1200) baud.

  1 REMark         300/1200 baud terminal
2 REMark MIKE_TERM
3 REMark Developed by
4 REMark Michael Mitchell
5 REMark attribution requested
6 REMark Sinclair/Timex User Group
7 REMark Boston Computer Society
100 WINDOW 465,204,6,0
105 BORDER 1,0,7: LB=127
110 CLS: POKE 163976,255: CLS#0
120 PRINT#0,,"Choose Baud: H=1200, L=300
130 IF INKEY$(-1)=="h"THEN BAUD 1200: ELSE BAUD 300
140 CLS#0: OPEN#5,SER2i
150 PRINT#0,,"F5=QUIT","ALT^C=^C","^G=BELL"
160 REPEAT TERM
170 TERMINAL: PRINT#0,,"Exit?(y/n)"
180 IF INKEY$(-1)=="Y" THEN EXIT term
190 END REPterm
200 CLOSE#5
205 PRINT#0,,"Re-run/Quit? (r/q)"
210 IF INKEY$(-1)=="R" THEN RUN: ELSE STOP
220 DEFine PROCedure terminal
230 REPeat key_loop
240 a=CODE(INKEY$(#5,0))&&LB
250 IF a=13 THEN PRINT
260 IF a=7 THEN BEEP 2000,15
270 IF>31 THEN PRINT CHR$(a)
280 b=CODE(INKEY$)
290 IF b=248 THEN EXIT key_loop
300 IF b=255 THEN b=0
310 IF b=0 THEN NEXT key_loop
320 IF b=10 THEN b=13
330 IF b=208 THEN b=7
340 PRINT#5, CHR$(b);
350 END REPeat key_loop
360 RETurn
370 END DEFine terminal

Save as MIKE_TERM_bas

(Reprinted from QZX)

Reprinted from the May/88 issue of the Nite-Time News – the N/L of the Chicago Area T/S Users Group

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.