The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: brad@heeltoe.com (Brad Parker)
Subject: [Unix-jun72] more corrections
Date: Thu, 01 May 2008 13:47:33 -0400	[thread overview]
Message-ID: <31410.1209664053@mini> (raw)
In-Reply-To: <Pine.BSI.4.64.0805010726040.20990@malasada.lava.net>


Tim Newsham wrote:
>> I wonder... hmmm.  if the V1 a.out header where 12 bytes long, then
>> everything would just automagically work.
>
>The 1ed man pages are online.  I looked at them and it said that the
>header consists of 6 words, but that the text length included the
>header size.  However, I had to skip the first 16 bytes of the
>text segment (including header) to line up the various labels in
>u0.s (.=orig+100,  .=orig+200, etc..)

yes, I think 0405 and 0407 a.out's are different.

I believe the V7 headers are 16 bytes and the text section starts at zero.
(heh, memory management)

The v1 headers are 12 bytes and the text section starts at 014 (i.e. the
header is part of the text section and *it* begins at zero, not the code)

So, if we assemble with the v7 as we need to adjust things a bit.

-brad



  parent reply	other threads:[~2008-05-01 17:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-01 16:09 Brad Parker
2008-05-01 17:03 ` Tim Newsham
2008-05-01 17:10   ` Al Kossow
2008-05-01 17:19   ` Brad Parker
2008-05-01 17:10 ` Tim Newsham
2008-05-01 17:22   ` Brad Parker
     [not found]     ` <Pine.BSI.4.64.0805010726040.20990@malasada.lava.net>
2008-05-01 17:47       ` Brad Parker [this message]
2008-05-01 17:54         ` Tim Newsham
2008-05-01 18:15           ` Tim Newsham
2008-05-01 18:21             ` Tim Newsham
2008-05-01 18:34             ` Tim Newsham
2008-05-01 22:51               ` Warren Toomey
2008-05-01 23:31                 ` Tim Newsham
2008-05-01 19:02         ` John Cowan
2008-05-01 21:18           ` [Unix-jun72] 11/20 handbook Al Kossow
2008-05-01 23:09             ` Hellwig Geisse
2008-05-01 22:23         ` [Unix-jun72] Early a.out headers Warren Toomey
2008-05-01 22:28           ` Warren Toomey
2008-05-01 23:01           ` Al Kossow
     [not found] ` <Pine.BSI.4.64.0805011927100.20114@malasada.lava.net>
2008-05-02 10:24   ` [Unix-jun72] more corrections Brad Parker
2008-05-01 17:44 James A. Markevitch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31410.1209664053@mini \
    --to=brad@heeltoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).