home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11805 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.6 KB  |  55 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. 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
  3. From: fwbent@watmsg.uwaterloo.ca (Fred Bent)
  4. Subject: Re: Borland .OBJ file format requested
  5. Message-ID: <C0DwrF.Ltp@math.uwaterloo.ca>
  6. Keywords: format object
  7. Sender: news@math.uwaterloo.ca (News Owner)
  8. Organization: University of Waterloo
  9. References: <sankey.726186518@unixg.ubc.ca>
  10. Date: Tue, 5 Jan 1993 14:11:39 GMT
  11. Lines: 42
  12.  
  13. In article <sankey.726186518@unixg.ubc.ca> sankey@unixg.ubc.ca (Todd Sankey) writes:
  14. > Does anyone have information on Borland's object file format?
  15. >
  16.  
  17. Well, Micros*ft's MS-DOS Encyclopedia has a good section on the
  18. .OBJ format.  You might also want to get a copy of READOBJ.ARC
  19. from wuarchive.
  20.  
  21. Borland has some extensions to COMENT record type which are
  22. documented in their Open Architecture package.
  23.  
  24. Basically the .OBJ is built from the Intel Object Module file format
  25. which is simply a record like so:
  26.  
  27.  
  28.   -----------------------//--------------
  29.   ! type ! length  !    data   ! chksum !
  30.   ----------------------//---------------
  31.  
  32. Where:    type is a byte
  33.  
  34.           length is a word
  35.  
  36.           data is a variable length record which depends upon the
  37.              type of the record
  38.  
  39.           chksum is the inverted sum of all the data in the
  40.              record modulo 256.  (So adding up all the bytes in
  41.              the record will get you zero).
  42.  
  43. >
  44. >
  45. >-- 
  46. >        Todd Sankey
  47. >        sankey@unixg.ubc.ca
  48. >
  49.  
  50. --
  51. Fred Bent            Department of Computer Science
  52. fwbent@plg.uwaterloo.ca        University of Waterloo
  53.  
  54.  
  55.