home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
comms
/
term93
/
!MicroTnc
/
!Run
< prev
next >
Wrap
Text File
|
1993-12-16
|
803b
|
29 lines
wimpslot -min 8k -max 8k
Basic
10 ON ERROR PROCerror:END
11 SYS "OS_CLI","Filer_OpenDir devices:$"
12 PRINT:PRINT
20 PRINT"PRESS ESCAPE TO END THE PROGRAM"
30 SYS "OS_SerialOp",1,0
31 REM Edit the next two lines to suit your normal baud rate
32 REM ",6" = 4800 AND ",7" = 9600.
40 SYS "OS_SerialOp",5,6
45 SYS "OS_SerialOp",6,6
50 SYS "OS_Byte",3,0
51 SYS "OS_Byte",2,2
60 REPEAT
70 kp%=INKEY(0)
80 IF kp%>0 AND kp%<256 SYS "OS_SerialOp",3,kp%:SYS "OS_WriteC",kp%:IF kp%=13 SYS "OS_NewLine"
90 SYS "OS_SerialOp",4,0 TO ,ip%
101 SYS "OS_WriteC",ip%
110 IF ip%=13 SYS "OS_NewLine"
120 UNTIL FALSE
130 END
131 :
140 DEF PROCerror
150 SYS "OS_CLI","Filer_CloseDir devices:$"
160 PRINT REPORT$;" @ ";ERL
170 ENDPROC
RUN