Wednesday, February 11, 2009

Install UNIX v6 on SIMH from distribution tape


1. Download the file v6.tape.gz
# wget http://www.tuhs.org/Archive/PDP-11/Distributions/research/Ken_Wellsch_v6/v6.tape.gz

2. gunzip it and enblock it
# gunzip v6.tape.gz
# enblock < tv6.tape > dist.tap

3. Create the 4 RK05 disk
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # root
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # src
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # doc
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # spare

4. Create SIMH command script v6.simh, this sets the cpu type and attaches the RK05 disk images and tape image
# cat v6.simh
set cpu 11/40
set cpu idle
set tto 7b
att rk0 unix0_v6_rk05.dsk
att rk1 unix1_v6_rk05.dsk
att rk2 unix2_v6_rk05.dsk
att tm0 disk.tag

5. Create SIMH command script boot-tm.simh, this will copy first 512 bytes of the tape to address 0
 # cat boot-tm.simh
d 100000 012700
d 100002 172526
d 100004 010040
d 100006 012740
d 100010 060003
d 100012 000777
go 100000

6. Boot from the tape image disk.tag
# pdp11 v6.simh

PDP-11 simulator V3.8-0
Disabling XQ
sim> do boot-tm.simh

type ^E to get the simh console, and
sim> go 0 

to boot from the tape boot program just copied.

7. Consult SETTING UP UNIX − Sixth Edition for further instructions.

No comments:

Post a Comment