GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — MOS Technology file format - Wikipedia

Not to be confused with Mostek hex format.

The MOS Technology file format is a file format that conveys binary information in ASCII text form.

History

The KIM-1 single-board computer specified a file format for magnetic tape and a format for paper tape. The paper tape format was adapted slightly and has been used to interchange files for computers based on the MOS Technology 6502 microprocessor.[1]

The open-source Srecord package simplified this tape format by eliminating the <NUL> and XOFF characters.[2]

Format

Each record begins with a semicolon (;), followed by two hexadecimal digits denoting the length of the data in the record. The next two bytes represent the starting address of the data, in big-endian (most-significant byte first) hexadecimal. Up to 24 bytes of data follow. Then, there is a 2-byte (4-character) checksum: the sum of the other non-; data in the record.[3] Finally, a record ends with a carriage return (<CR>), a line break (<LF>), and six null characters (<NUL>).

The last record on the paper tape is empty (its length field is 0000), with the starting address field representing the total number of data bytes contained in the transmission. The file ends with a XOFF.[4]

See also

  • Binary-to-text encoding, a survey and comparison of encoding algorithms
  • Intel hex format
  • Motorola S-record hex format
  • Tektronix hex format

References

  1. ↑ Feichtinger, Herwig (1987). "1.8.5. Lochstreifen-Datenformate" [1.8.5. Paper tape data formats]. Arbeitsbuch Mikrocomputer [Microcomputer work book] (in German) (2 ed.). Munich, Germany: Franzis-Verlag GmbH. pp. 240–243 [243]. ISBN 3-7723-8022-0.
  2. ↑ Miller, Peter (2014) [1998]. "srec_mos_tech − MOS Technology file format". Version 1.64. Archived from the original on 2020-07-31. Retrieved 2020-07-31.
  3. ↑ Hennig-Roleff, Werner (1993-02-01) [1988]. "HEX.DOC: MOS Technology Hex Format". SIM51. 1.04 (in German). Archived from the original on 2017-08-11. Retrieved 2021-12-08. (NB. This is an older version of SIM51, the software and documentation was maintained up to 1996.)
  4. ↑ "Appendix F − Paper Tape Format". KIM-1 − Microcomputer Module − User Manual (2 ed.). Norristown, Pasadena, USA: MOS Technology. August 1976. pp. F-1 − F-2. Publications Number 6500-15B. Retrieved 2020-07-31.
Retrieved from "https://en.wikipedia.org/w/index.php?title=MOS_Technology_file_format&oldid=1374432150"
Category:
  • Binary-to-text encoding formats
Hidden categories:
  • Articles with short description
  • Short description matches Wikidata
  • Use list-defined references from December 2021
  • Use dmy dates from July 2020
  • CS1 German-language sources (de)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.