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 |
||
(5 intermediate revisions by 3 users not shown) | |||
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 | {| border=1 | ||
LENGTH | | START || LENGTH || ENTRY || EXECUTABLE DATA... | ||
ENTRY | |} | ||
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. | ||
START - Where the program is ORG'd to run from.<br> | |||
LENGTH - Size of executable data, this does not include the header(6 bytes), just the length of EXECUTABLE DATA.<br> | |||
ENTRY - Where the program will be entered (entry point).<br> | |||
EXECUTABLE DATA - 8085 machine code ORG'ed at START.<br> | |||
[[Category:Model T Developer Reference]] |
Latest revision as of 20:59, 22 September 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.
START - Where the program is ORG'd to run from.
LENGTH - Size of executable data, this does not include the header(6 bytes), just the length of EXECUTABLE DATA.
ENTRY - Where the program will be entered (entry point).
EXECUTABLE DATA - 8085 machine code ORG'ed at START.