UNIX V6.TAPE
Warren Toomey
wkt at henry.cs.adfa.edu.au
Fri Jan 22 10:39:04 AEST 1999
All,
Here is how to install 6th Edition from the tape image v6.tape.gz
in Distributions/research/Ken_Wellsch_v6, onto Bob Supnik's emulator 2.3d:
I found makesimtape.c in Trees/2.11BSD/usr/src/sys/pdpstand in the
PUPS Archive.
Warren
/usr/local/src/Sim_2.3d: ls -l
total 14822
-rwx------ 1 wkt wheel 6018 Jan 22 11:18 makesimtape
-rwx------ 1 wkt wheel 117728 Jan 11 14:02 pdp
-rw------- 1 wkt wheel 42 Jan 22 11:27 v6
-r-------- 1 wkt wheel 6195200 Jan 22 11:20 v6.tape
-r-------- 1 wkt wheel 2494464 Jan 15 14:14 v6root
-rw------- 1 wkt wheel 14 Jan 22 11:23 z
/usr/local/src/Sim_2.3d: cat z # Input to makesimtape
v6.tape 1
* 1
/usr/local/src/Sim_2.3d: ./makesimtape -i z -o v6tape
v6.tape: block 0, file 0
# Output is file v6tape, not shown
/usr/local/src/Sim_2.3d: cat v6 # Supnik sim config file
set cpu 18b
att rk0 v6root
att tm0 v6tape
/usr/local/src/Sim_2.3d: ./pdp v6 # Run simulator
PDP-11 simulator V2.3d
sim> id 10000-10012 # Toggle in boot code
10000: 012700 # as per V6 install
10002: 172526 # instructions
10004: 010040
10006: 012740
10010: 060003
10012: 000777
sim> g 10000 # Run above boot code
# After a while, enter ctrl-E
Simulation stopped, PC: 010012 (BR 10012)
sim> g 0 # Restart CPU at location 0
=tmrk
disk offset # Follow instructions as per
0 # V6 install notes
tape offset
100
count
1
=tmrk
disk offset
1
tape offset
101
count
3999
= # Enter ctrl-E
Simulation stopped, PC: 137274 (TSTB @#177560)
sim> b rk # Boot RK device 0
@rkunix # Choose correct kernel image
login: root
# ls -l
total 244
drwxrwxr-x 2 bin 1104 May 14 00:47 bin
drwxrwxr-x 2 bin 1824 Aug 14 22:04 dev
drwxrwxr-x 2 bin 496 Oct 10 12:29 etc
-rwxrwxrwx 1 root 29074 Oct 10 12:28 hpunix
drwxrwxr-x 2 bin 464 May 13 23:35 lib
drwxrwxr-x 2 bin 32 May 13 20:01 mnt
-rwxrwxrwx 1 root 28836 Oct 10 12:22 rkunix
-rwxrwxrwx 1 root 29020 Oct 10 12:25 rpunix
drwxrwxrwx 2 bin 272 Jul 18 09:19 tmp
-rw-rw-rw- 1 root 28684 Jul 18 09:18 unix
drwxrwxr-x 14 bin 224 May 13 20:16 usr
# sync
# # Enter ctrl-E again
Simulation stopped, PC: 016022 (SOB R4,15746)
sim> q
Goodbye
Received: (from major at localhost)
by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id OAA22539
for pups-liszt; Fri, 22 Jan 1999 14:22:41 +1100 (EST)
More information about the TUHS
mailing list