[Unix-jun72] more corrections
wkt at tuhs.org
Thu May 1 18:51:28 EDT 2008
On Thu, May 01, 2008 at 08:34:10AM -1000, Tim Newsham wrote:
> > I adjusted my tools/dumpaout.py appropriately and tested with the 1ed
> > assembler. If you sed all the files to s/mount/xmount/ it builds just
> > fine with 1ed "as" and the a.out header is indeed 6 bytes long and
> > is included in the text segment... Everything is lining up..
> ugh, I was wrong.. it was not lining up! The 1ed "as" is also
> using a 16-byte header. This together with the "mount" issue is
> making me think they used a different assembler for these sources.
Tim, I think the as we have from the s2 tape is a V2 assembler, as it has
an 0407 header, not an 0405 header.
> .... so... we may have to either 1) alter the way as works, or 2)
> remove those comment characters in the vector table...
Patching the V2 as binary to work like V1 is going to be hard. I even though
about modifying the V7 as to output 0405 headers, but again hard.
Given that we know the assembler has predefined symbols, which means
renaming $mount, I think we might as well take the path where we modify
the source code so that it can be built with the tools we have, which is
your option 2) above. And of course, document the changes.
More information about the Unix-jun72