CO File Format: Difference between revisions
From Bitchin100 DocGarden
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
The contents of EXECUTABLE DATA needs to be 8085 machine code ORG'ed at START. | The contents of EXECUTABLE DATA needs to be 8085 machine code ORG'ed at START. | ||
[[Category:Model T Developer Reference]] |
Revision as of 22:59, 30 January 2009
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 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.