The program, nuterm.bin, is a bare bones terminal program, written in BASIC, to illustrate the technique of saving an ASCII text file to diskette without sending holdoffs to the host (CONTROL S, e.g.). Because no error checking protocol is used, the method is not recommended for program files. But it produces minimum online time. If contiguous characters are received, they re displayed and saved to a sequential file in essentially real time. No buffer, other than the 255 byte, RS-232 receiver buffer, is used. Thus, since the program ma be easily modified, the addition of a capture buffer will permit both saving to diskette and buffer capturing for later printing. It has been tested with a C-64C, a 1670 modem, and a 1541-II drive at 300 and 1200 baud. When LOADed and RUN, it transfers 515 bytes of ML to the region from $C000 to $C202. The BASIC program itself occupies $0801 to $0D6C. Any line number greater than 20 and less than 2020 may be deleted, edited, or added. If the program is reSAVEd, be sure to make line 10 end in GOTO 2020 rather than GOTO 0020. Since the program was designed for use with CIS, F2$, F4$, and 6$ are string variables which should be redefined as 'phone number, user ID, and password (unless your password happens to be number/modem). After answering prompts for FILENAME of file to be SAVEd and baudrate, pres F1 to enter terminal mode. You are then in an ML loop. You would usually press F2 to dial he CIS 'phone number, press the STOP key for a control C when connection is made, and follow with F4 for user ID and F6 for password. Press F3 to return to menu mode. If a text file is to be SAVEd to diskette, request to REAd the file. After entering the CIS FILENAME, don't press return. Press F5 instead. You should see the text on the screen and be SAVing to diskette. The sporadic breaks in printing to the screen, during drive read/write head activity, do not represent hold offs sent to the host. As soon as the drive sets the program free, the characters that had built up in the receiver buffer are rapidly read out. At the end of the file, first press F7, then RETURN. ONLY THE F7 KEY IS OPERATIVE DURING A SAVE. PETASCII/ASCII and ASCII/PETASCII conversion is used. Again, this is just a demonstration of a technique whih may not be in common use. The program hardly quallifies as a finished product. It was designed for ease of modification. All suggestions, criticisms and comments are welcome. John Iannetta 73510,2152
Amiga7878