The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Subject: [TUHS] recreating bj.s for Unix v5
Date: Fri, 12 Jun 2015 15:31:23 -0400 (EDT)	[thread overview]
Message-ID: <20150612193123.F29F418C0C0@mercury.lcs.mit.edu> (raw)

    > From: Mark Longridge <cubexyz at gmail.com>

    > My first idea was to grab bj.s from 2.11BSD and assemble it the Unix v5
    > as command. That seems to generate a bunch of errors.

I saw that there's a SysIII bj.s, which is almost identical to the 2.11 one;
so the latter is probably descended from the first, which I assume is Bell
source. So I grabbed it and tried to assemble it.

The errors are because bj.s is designed to be assembled along with another
assembler source file, which contains the following routines which are
missing from bj.s:

 mesg
 decml
 nline

Dunno if you're aware of this, but, the line 'as a.s b.s' _doesn't_
separately assemble a.s and b.s, rather it's as if you'd typed
'cat a.s b.s > temp.s ; as temp.s'. (This is used in the demi-enigmatic
"as data.s l.s" in the system generation procedure.)

I looked around in the sources that come with V6, and I didn't see any obvious
such file. I'm going to whip the required routines up really quickly, and see
if the results assemble/run.


I looked to see if I could steal them from the binary of 'bj' on V6, and...
it looks like that binary is totally different from this source. Let me look
into this...


    > Also other assembly source files don't seem to have .even in them.

The V6 assembler groks '.even'.

	Noel



             reply	other threads:[~2015-06-12 19:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12 19:31 Noel Chiappa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-12 20:00 Noel Chiappa
2015-06-12 20:16 ` Mark Longridge
2015-06-12 18:39 Noel Chiappa
2015-06-12 19:01 ` Mark Longridge
2015-06-12 22:46   ` Greg 'groggy' Lehey
2015-06-12 18:23 Mark Longridge
2015-06-15  5:14 ` Lars Brinkhoff

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=20150612193123.F29F418C0C0@mercury.lcs.mit.edu \
    --to=jnc@mercury.lcs.mit.edu \
    /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).