CO File Format: Difference between revisions
From Bitchin100 DocGarden
Jump to navigationJump to search
(New page: The structure of a Model T CO file is very simple: START LENGTH ENTRY EXECUTABLE DATA Where START, LENGTH and ENTRY are 16-bit words in little-endian (Intel) byte order. The LENGTH does...) |
No edit summary |
||
Line 1: | Line 1: | ||
The structure of a Model T CO file is very simple: | The structure of a Model T CO file is very simple: | ||
START | 1. START | ||
LENGTH | 2. LENGTH | ||
ENTRY | 3. ENTRY | ||
EXECUTABLE DATA | 4. EXECUTABLE DATA | ||
Where START, LENGTH and ENTRY are 16-bit words in little-endian (Intel) byte order. | Where START, LENGTH and ENTRY are 16-bit words in little-endian (Intel) byte order. |
Revision as of 16:36, 11 November 2008
The structure of a Model T CO file is very simple:
1. START 2. LENGTH 3. ENTRY 4. EXECUTABLE DATA
Where START, LENGTH and ENTRY are 16-bit words in little-endian (Intel) byte order.
The LENGTH does not include the START LENGTH ENTRY header, just the length of EXECUTABLE DATA.
The contents of EXECUTABLE DATA needs to be 8085 machine code ORG'ed at START.