MediaWiki:Sitenotice
2026-03-12: Cocopedia.com is now using a new caching system that should make things faster. Please let me know if you encounter any new issues.

2026-03-15: MediaWiki has been reinstalled and the old database and files restored. It was pretty clogged up from being upgraded so many times since 2004. I am also testing out Cloudflare to see if it can prevent the 'bot assaults that took the site down last year.

2026-03-16: Special thanks to Don Barber for hosting a backup mirror of CoCopedia: https://cocopedia.dgb3.net

Binary file

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigationJump to search

A CoCo binary file can contain sheer data or one or more executable machine language programs. They can be loaded into memory using the LOADM or CLOADM commands. Included in the format is the load address of the binary as well as an execution address. They may contain multiple loadable sections, each of which has its own load address. Each section starts with a preamble that is five bytes long. The first byte is zero. The next two bytes specify the number of bytes to load and the last two bytes specify the address to load the bytes at. Then, a string of bytes follows containing the program and/or any data. After this there may be another preamble followed by more data/code or a postamble. The postamble is also five bytes in length. The first byte of the postamble is $FF, the next two are zero, and the last two form the execution address for the binary section.

contents length meaning
$00 8 bit marker
16 bit length
16 bit start address
variable data/code
$FF 00 00 24 bit marker
16 bit exec address