home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!watmsg.uwaterloo.ca!fwbent
- From: fwbent@watmsg.uwaterloo.ca (Fred Bent)
- Subject: Re: Borland .OBJ file format requested
- Message-ID: <C0DwrF.Ltp@math.uwaterloo.ca>
- Keywords: format object
- Sender: news@math.uwaterloo.ca (News Owner)
- Organization: University of Waterloo
- References: <sankey.726186518@unixg.ubc.ca>
- Date: Tue, 5 Jan 1993 14:11:39 GMT
- Lines: 42
-
- In article <sankey.726186518@unixg.ubc.ca> sankey@unixg.ubc.ca (Todd Sankey) writes:
- > Does anyone have information on Borland's object file format?
- >
-
- Well, Micros*ft's MS-DOS Encyclopedia has a good section on the
- .OBJ format. You might also want to get a copy of READOBJ.ARC
- from wuarchive.
-
- Borland has some extensions to COMENT record type which are
- documented in their Open Architecture package.
-
- Basically the .OBJ is built from the Intel Object Module file format
- which is simply a record like so:
-
-
- -----------------------//--------------
- ! type ! length ! data ! chksum !
- ----------------------//---------------
-
- Where: type is a byte
-
- length is a word
-
- data is a variable length record which depends upon the
- type of the record
-
- chksum is the inverted sum of all the data in the
- record modulo 256. (So adding up all the bytes in
- the record will get you zero).
-
- >
- >
- >--
- > Todd Sankey
- > sankey@unixg.ubc.ca
- >
-
- --
- Fred Bent Department of Computer Science
- fwbent@plg.uwaterloo.ca University of Waterloo
-
-
-