Received: (from major@localhost)
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id LAA22017
	for pups-liszt; Fri, 22 Jan 1999 11:38:06 +1100 (EST)
Received: from henry.cs.adfa.edu.au (henry.cs.adfa.oz.au [131.236.21.158])
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) with ESMTP id LAA22012
	for <pups@minnie.cs.adfa.oz.au>; Fri, 22 Jan 1999 11:37:58 +1100 (EST)
Received: (from wkt@localhost)
	by henry.cs.adfa.edu.au (8.9.1/8.9.1) id LAA11544
	for pups@minnie.cs.adfa.oz.au; Fri, 22 Jan 1999 11:39:04 +1100 (EST)
	(envelope-from wkt)
From: Warren Toomey <wkt@henry.cs.adfa.edu.au>
Message-Id: <199901220039.LAA11544@henry.cs.adfa.edu.au>
Subject: Re: UNIX V6.TAPE
To: pups@minnie.cs.adfa.oz.au (Unix Heritage Society)
Date: Fri, 22 Jan 1999 11:39:04 +1100 (EST)
Reply-To: wkt@cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups@minnie.cs.adfa.edu.au
Precedence: bulk

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

