6. Translation Formats
UniSite-xpi User Manual
6-53
Intel OMF286 Format, Code 98
The Intel OMF286 format is a dynamically allocatable file format.
This format has three basic parts: the file header, data file module, and a
1-byte checksum. The file header is hexadecimal number (A2) that
identifies this file as an Intel OMF 286 format file. See Figure 6-23.
The first 75 bytes of the data file module is the data file header. The
header information is generated and used by the development system
and is not used by the programmer, although some characters must fill
those bytes. The rest of the data file module consists of one partition.
The partition begins with a 20 byte table of contents. The table of contents
specifies the locations of ABSTXT (absolute text), DEBTXT (debug text),
the last location of this partition, and the location of the next partition.
The OMF286 format consists of only one partition so this field will be
zeros. The rest of the partition consists of sections. The actual data are
located in the sections. The first 3 bytes in each section specify the real
address of the text. The next 2 bytes state the length of the text, and the
remainder of the section is the text (or data). Following the final section of
the final partition is a 1-byte checksum representing the complement of
the sum of all the bytes in the file, including the header. The sum of the
checksum byte and the calculated checksum for the file should equal
zero. The programmer ignores this checksum.
Figure 6-23
A Sample of the Intel OMF286 Format
A2 F3 FF FF 00 30 38 2F-30 34 2F 38 37 30 38 3A
34 33 3A 30 31 1C 69 41-50 58 32 38 36 20 53 59
53 54 45 4D 20 42 55 49-4C 44 45 52 2C 20 56 33
2E 32 20 20 20 20 20 20-20 20 20 20 20 20 3F 01
00 80 FF 00 FF 00 40 81-FF 00 18 00
50 00 00 00
5B 66 00 00 6B EF 00 00-00 00 00 00 00 00 00 00
40 01 00 2C 00 00 00 00-04 28 00 00 00 00 00 00
00 00 00 6E 4F 00 02 00-00 00 00 00 00 00 00 00
04 00 04 00 00 00 00 28-00 20 00 28 00 28 00 00
00
70 01 00 2C 00 00 00-00 04 28 00 00 00 00 00
00 00 00 00 F5 38 00 02-00 00 00 00 00 00 00 00
00 00
A0 01 00 2C 00 00-00 00 04 28 00 00 00 00
00 00 00 00 00 33 39 00-02 00 00 00 00 00 00 00
00 00 04 00 04 00 00 00-00 28 00 20 00 28 00 28
00-00 00 00 04 28 00 00 00
-00 00 00 00 00 00 00 00
0431-2
Last Location
File Header
DEBTXT Location
ASBTXT Location
Length of ASBTXT
Section
Section
Section
Next Partition
Reserved
Table of Contents
ASBTXT Location
Data File Header
Summary of Contents for UniSite-xpi
Page 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Page 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Page 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Page 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Page 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Page 402: ...Keep Current Subscription Service 6 Keep Current ...