-*-fill,indent:0,fillw:70-*- TOHEX and FROMHEX - Hex Conversion Programs =========================================== by Robert Heller Synopis: TOHEX binaryfile >hexfile FROMHEX hexfile binaryfile The binaryfile is any file, espically non-text files, to be either converted to hex format (TOHEX) or to be restored from hex format (FROMHEX). The hexfile is a hex format file, either created by TOHEX or used as input to FROMHEX. The hex format is the same as KIM-1 paper tape format[KIMUM1976]. The hexfiles are text files and can be transmited as 7-bit ASCII characters over serial lines (ie RS232) and converted back to binary format at a later time. TOHEX generates checksum and record number for each `record'. This information is used by FROMHEX to check to be sure there weren't any characters lost or scrambled in transmission. REFERENCES ========== [KIMUM1976] - MOS Technology, Inc. Publications Number 6500-15B, "KIM-1 User Manual", August, 1976. Appendix F: "Paper Tape Format"