[TUHS] recreating bj.s for Unix v5

Mark Longridge cubexyz at gmail.com
Sat Jun 13 06:16:20 AEST 2015


> I missed some. It also wants quest1, quest2 and quest5 (and maybe more).
> This may present a bit of a problem, as I can't find any trace of them
> anywhere, and will have to work out from the source what their arguments,
> etc are, what they do, etc.
>
> I wonder how on earth the 2.11 people got this to assemble? (Or maybe they
> didn't?)
>
 >       Noel


You gave me a good hint :)

in 2.11bsd:

cd /usr/src/games/pdp
su
make bj

which does:

as -o bj.o etc.s bj.s us.s
ld -o bj bj.o -lc

the executable seems to work OK.

I tried to assemble it in v5 and it actually does assemble but then
gives "Memory fault -- Core dumped" when trying to run it.

I was wrong about .even, the v5 assembler does understand it. It might
just be easier to modify a later version of bj.c so the v5 compiler
could use it.

On 6/12/15, Noel Chiappa <jnc at mercury.lcs.mit.edu> wrote:
>     > From: Noel Chiappa
>
>     > another assembler source file, which contains the following routines
>     > which are missing from bj.s:
>
> I missed some. It also wants quest1, quest2 and quest5 (and maybe more).
> This may present a bit of a problem, as I can't find any trace of them
> anywhere, and will have to work out from the source what their arguments,
> etc are, what they do, etc.
>
> I wonder how on earth the 2.11 people got this to assemble? (Or maybe they
> didn't?)
>
> 	Noel
>



More information about the TUHS mailing list