XMODEM 6.0 Copyright (C) 1986 by Microtechnic Solutions, Inc. All Rights Reserved Released into the public domain by Microtechnic Solutions, Inc. OVERVIEW: This version of XMODEM (CRC/Checksum) loads into C64 memory $C000 (49152) and uses $C000-$C884. The routine strips padding characters from the last block received when downloading. Padding is added when transmitting. The normal pad character is CTRL-Z (dec. 26) unless the last valid character in the file is a 26, in which case a dec. 0 is substituted as the pad character. This routine assumes that the calling program has - as its last string operation before calling - set a string to the filename specifier. The assumed disk device is unit 8. It uses a logical file 8 for reading/writing the disk, and logical file 15 for the command channel.These defaults may be overridden by poking device number to 49155 before calling the routine. Note: this number should be decimal.. POKE49155,8. The user calls this routine by setting a string (any name) to the desired filename, and then SYS 49152,A where A = 16 if the routine should be sensitive to carrier detect, or 0 if carrier is to be ignored. Syntax for filename is: FILENAME,<type>,<direction>,<translate> FILENAME may be any valid disk name. <type> is either P (program), S (sequential), or U (user). <direction> is either R (read) for sending, or W (write) for receiving. <translate> valid for sequential files only. Enter a "t" to indicate translation desired. Examples: DISKFILE,P,W Receive a program file called DISKFILE. ASCIIFILE,S,R,T Send a sequential file called ASCIIFILE. Translate the file contents to standard ASCII before transmitting. The routine will provide a display of the number of blocks sent/received and the status of the last block (A=ok, N=error). User will be notified when the transfer is either successfully completed or aborted because of excessive errors. If a download is aborted, it is the user's responsibility to SCRATCH the incomplete file from the disk. XMODEM 6.0 will operate at either 300 or 1200 baud, depending on your modem and the baud rate at which you open the modem. XMODEM 6.0 first attempts to initiate CRC mode when downloading, and will respond to CRC operation request when uploading. Control remains with the routine until the transfer is aborted or until successful completion. The user may abort the transfer locally by pressing the STOP key.
Amiga7878