Using P11 emulator (was 2.11BSD installation problems)
Warren Toomey
wkt at henry.cs.adfa.oz.au
Thu May 7 06:43:56 AEST 1998
Matthias,
Here are some instructions on getting that RP disk image working
with the Begemot P11 2.3 emulator. These should supplement Greg's email.
Warren
Running the 2.11BSD RP disk image on the P11 Emulator
Ok, here's how I got P11-2.3 running. Firstly, I extracted the source code
for P11 from the tarball, and built the emulator in the extracted emu
directory. Note: you need lots of virtual memory to build instab.o.
With p11 built, I went into ../run, and copied the following files here:
total 16
-rw------- 1 root wheel 1562 Apr 22 19:56 mon.help
-rw------- 1 root wheel 648 Apr 22 19:55 p11conf
-rw------- 1 root wheel 4096 Dec 12 1994 qna.rom
-rw------- 1 root wheel 512 Apr 22 19:41 rp.boot
All except p11conf came from ../emu. I had a hard time getting the p11conf
configuration file working, what with the cpp path etc. So I basically made
a p11conf file which doesn't use any #defines. Here it is:
libdir = .
ctrl rl 017774400 0160 4 4000
end
ctrl rp 017776700 0254 5 4000
0 /usr/local/src/RP_211bsd_root 12
end
ctrl kl
017777560 060 064 4 ../emu/IOProgs/tty_net -7 -t 10002
017776500 0300 0304 4 ../emu/IOProgs/tty_net -7 -t 10003
end
ctrl mr 017777520 ./rp.boot
end
ctrl lp 017777514 0200 4
end
ctrl tm 017772520 0224 5
end
Note that the emulated RP disk image is at /usr/local/src/RP_211bsd_root.
The number 12 after this is arbitrary, I have no idea what it does.
Now, to run the emulator using the p11conf above from the run directory,
do ../emu/p11 -d &. You can run it in the background as it doesn't require
any keyboard interaction. Then telnet localhost 10002, and hit Return a few
times. You will see:
% telnet localhost 10002
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
-----
<---- Hit Return once or twice here
: xp(0,0,0)unix
Boot: bootdev=05000 bootcsr=0176700
2.11 BSD UNIX #11: Tue Jan 6 16:57:02 MET 1998
root at pdp11.begemot.com:/usr/src/sys/HIPPON
attaching lo0
phys mem = 2097152
avail mem = 1668352
user mem = 307200
January 8 08:25:02 init: configure system
lp 0 csr 177514 vector 200 attached
rl 0 csr 174400 vector 160 attached
tm 0 csr 172520 vector 224 attached
xp 0 csr 176700 vector 254 attached
cn 1 csr 176500 vector 300 attached
cn 2 csr 176510 vector 310 skipped: No CSR.
cn 3 csr 176520 vector 320 skipped: No CSR.
cn 4 csr 176530 vector 330 skipped: No CSR.
erase, kill ^U, intr ^C
#
That's it!!
Warren
Received: (from major at localhost)
by minnie.cs.adfa.oz.au (8.8.8/8.8.8) id GAA09164
for pups-liszt; Thu, 7 May 1998 06:26:14 +1000 (EST)
More information about the TUHS
mailing list