<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=Installing_1_BSD_on_SIMH</id>
	<title>Installing 1 BSD on SIMH - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=Installing_1_BSD_on_SIMH"/>
	<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Installing_1_BSD_on_SIMH&amp;action=history"/>
	<updated>2026-11-15T08:20:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://gunkies.org/w/index.php?title=Installing_1_BSD_on_SIMH&amp;diff=37778&amp;oldid=prev</id>
		<title>Zaphod: added a setup for 1BSD</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Installing_1_BSD_on_SIMH&amp;diff=37778&amp;oldid=prev"/>
		<updated>2026-11-15T03:50:58Z</updated>

		<summary type="html">&lt;p&gt;added a setup for 1BSD&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is my guide to installing [[1 BSD]] on [[SIMH]].&lt;br /&gt;
&lt;br /&gt;
(The installation of this system requires a preinstalled [[UNIX]] system, the version it was written to be installed onto of [[Unix Sixth Edition]]; see [[Installing Unix Sixth Edition]] for an explanation of how to get that set up)&lt;br /&gt;
&lt;br /&gt;
my ini file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set CPU 11/70&lt;br /&gt;
set CPU 4M&lt;br /&gt;
set CPU idle&lt;br /&gt;
set CLK 60hz&lt;br /&gt;
set PCLK disabled&lt;br /&gt;
set PTR enabled&lt;br /&gt;
attach PTR ptr.ptap&lt;br /&gt;
set PTP enabled&lt;br /&gt;
attach PTP ptp.ptap&lt;br /&gt;
set TTI 7p&lt;br /&gt;
set TTO 7p&lt;br /&gt;
set TDC disabled&lt;br /&gt;
set CR disabled&lt;br /&gt;
set LPT enabled&lt;br /&gt;
attach LPT lpt.txt&lt;br /&gt;
set DLI disabled&lt;br /&gt;
set DLO disabled&lt;br /&gt;
set DCI disabled&lt;br /&gt;
set DCO disabled&lt;br /&gt;
set DZ disabled&lt;br /&gt;
set VH disabled&lt;br /&gt;
set DH disabled&lt;br /&gt;
set RC disabled&lt;br /&gt;
set RF disabled&lt;br /&gt;
set RK disabled&lt;br /&gt;
set RL disabled&lt;br /&gt;
set HK disabled  &lt;br /&gt;
set RX disabled&lt;br /&gt;
set RY disabled&lt;br /&gt;
set RP enabled&lt;br /&gt;
set RP0 rp04&lt;br /&gt;
attach RP0 rp04-1.dsk&lt;br /&gt;
set RP1 disabled&lt;br /&gt;
set RP2 disabled&lt;br /&gt;
set RP3 disabled&lt;br /&gt;
set RP4 disabled&lt;br /&gt;
set RP5 disabled&lt;br /&gt;
set RP6 disabled&lt;br /&gt;
set RP7 disabled&lt;br /&gt;
set RR disabled&lt;br /&gt;
set RS disabled&lt;br /&gt;
set RQ disabled&lt;br /&gt;
set RQB disabled&lt;br /&gt;
set RQC disabled&lt;br /&gt;
set RQD disabled&lt;br /&gt;
set TC enabled&lt;br /&gt;
attach TC0 tu56.dta&lt;br /&gt;
set TC1 disabled&lt;br /&gt;
set TC2 disabled&lt;br /&gt;
set TC3 disabled&lt;br /&gt;
set TC4 disabled&lt;br /&gt;
set TC5 disabled&lt;br /&gt;
set TC6 disabled&lt;br /&gt;
set TC7 disabled&lt;br /&gt;
set TM enabled&lt;br /&gt;
attach TM0 tu10.tap&lt;br /&gt;
set TM1 disabled&lt;br /&gt;
set TM2 disabled&lt;br /&gt;
set TM3 disabled&lt;br /&gt;
set TM4 disabled&lt;br /&gt;
set TM5 disabled&lt;br /&gt;
set TM6 disabled&lt;br /&gt;
set TM7 disabled&lt;br /&gt;
set TS disabled&lt;br /&gt;
set TQ disabled&lt;br /&gt;
set TU disabled&lt;br /&gt;
set TA disabled&lt;br /&gt;
set VT disabled&lt;br /&gt;
set XQ disabled&lt;br /&gt;
set XQB disabled&lt;br /&gt;
set XU disabled&lt;br /&gt;
set XUB disabled&lt;br /&gt;
set KG disabled&lt;br /&gt;
set DMC disabled&lt;br /&gt;
set DUP disabled&lt;br /&gt;
set DPV disabled&lt;br /&gt;
set KDP disabled&lt;br /&gt;
set KE disabled&lt;br /&gt;
set CH disabled&lt;br /&gt;
set NG disabled&lt;br /&gt;
set DAZ disabled&lt;br /&gt;
set TV disabled&lt;br /&gt;
set MB disabled&lt;br /&gt;
&lt;br /&gt;
This is a very pruned configuration with an excessively large storage unit but that is the setup I installed my v6 UNIX system as)&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll need a tape image, from the files found on the [[TUHS]] archive.  I have a pre-made tape [https://codeberg.org/jdavidson89/1BSD/src/branch/main/tu10.tap]. I made that tape by using [[SIMH]] simtools program rawtap to package the tarball from TUHS into a magtape, then used tar in [[Unix Seventh Edition]] to extract the tree into a v7 UNIX guest, then used v7 tp to create a magtape of that tree that is what I have uploaded.&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll also need the [[DECTape]] I created which is here [https://codeberg.org/jdavidson89/1BSD/src/branch/main/tu56.dta].  That tape contains ar-new.c which is the ar.c file from 2.79BSD source from TUHS, but I had to add the functions for xtol and mktemps into it so it doesn&amp;#039;t look for them when compiling on v6 unix, the sources for those functions are also added to it from the 2.79BSD source tree, it compiles cleanly on v6 with no additional requirements and has changes over v6 ar that allows you to extract the cont.a files on the 1BSD tape.  As far as I can tell the changes were in a patchset released to UCB from Bell Labs that I have no copy of so I used a future version that includes the changes.&lt;br /&gt;
&lt;br /&gt;
With that all done now boot off the rp04(or any Unix system you already have installed) with a &amp;#039;boot rp0&amp;#039; from inside SIMH.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
I chose to create /usr/ucb for my directory to extract the tape to you could extract wherever&lt;br /&gt;
&lt;br /&gt;
mkdir /usr/ucb&lt;br /&gt;
chdir /usr/ucb&lt;br /&gt;
mkdir ar&lt;br /&gt;
chdir ar&lt;br /&gt;
tp x (now is worth noting if you are using your own v6 UNIX install you might get an error here:&lt;br /&gt;
&lt;br /&gt;
Tape open error&lt;br /&gt;
END&lt;br /&gt;
&lt;br /&gt;
if that is the case you must have /dev/tapx existing for tp to work(you can ln /dev/tap0 /dev/tapx)&lt;br /&gt;
then that should work and now you should have ar-new.c in /usr/ucb/ar directory)&lt;br /&gt;
&lt;br /&gt;
then run cc -O -s ar-new.c&lt;br /&gt;
&lt;br /&gt;
now a.out is a working ar file that can extract cont.a from 1BSD, I chose to call it ar.bsd in /usr/bin you can place it where and whatever you wish to call it&lt;br /&gt;
&lt;br /&gt;
with that done now we can extract the 1BSD tape&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chdir /usr/ucb&lt;br /&gt;
tp xm setup (instructions say tp xm ./setup but that doesn&amp;#039;t work with my tape but tp xm setup does)&lt;br /&gt;
./setup&lt;br /&gt;
tp xm&lt;br /&gt;
&lt;br /&gt;
and with that done you now have the 1BSD tree extracted fully into your v6 UNIX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then you can go ahead and copy the files into your directories as you wish, I choose to use /usr/bin and /usr/lib but you can do /bin and /lib or wherever else you may wish&lt;br /&gt;
&lt;br /&gt;
for example of how to use the new ar and get the files go to say the /usr/ucb/bin directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# chdir /usr/ucb/bin&lt;br /&gt;
# ls&lt;br /&gt;
READ_ME &lt;br /&gt;
cont.a&lt;br /&gt;
&lt;br /&gt;
then run ar.bsd x cont.a&lt;br /&gt;
&lt;br /&gt;
when that completes you can run rm cont.a&lt;br /&gt;
&lt;br /&gt;
# rm cont.a&lt;br /&gt;
cont.a: 110664 mode&lt;br /&gt;
&lt;br /&gt;
type y&lt;br /&gt;
&lt;br /&gt;
then you should now have&lt;br /&gt;
&lt;br /&gt;
# ls&lt;br /&gt;
Print          crazy          last           pix            squash&lt;br /&gt;
READ_ME        cxref          linerm         pq             ssp&lt;br /&gt;
ashell         dates          list           print          strip&lt;br /&gt;
biorhythm      double         lnall          procp          syswatch&lt;br /&gt;
block          expand         lntree         pss            teco&lt;br /&gt;
box            eyacc          lock           public         ticktock&lt;br /&gt;
cat3a          file           ls             pxref          toc&lt;br /&gt;
chownall       fix            makeTtyn       repeat         transcribe&lt;br /&gt;
clock          fixit          man            reset          tset&lt;br /&gt;
colcrt         fold           manwhere       rmtree         ttytype&lt;br /&gt;
collpr         froc           mkstr          rout           uhav&lt;br /&gt;
colrm          funny          mvall          sess           version&lt;br /&gt;
continue       gres           nm             sethome        watch&lt;br /&gt;
cpall          head           number         sh             wc&lt;br /&gt;
cptree         iul            pascals        size           where&lt;br /&gt;
cr3            l              pcc            soelim         whoison&lt;br /&gt;
&lt;br /&gt;
those are the precompiled binaries of 1BSD, there is also a pascal compiler, libraries, trek game, man page, source files each directory has a READ_ME which I recommend you read through and you can choose what you want to add to your system and where you wish to add them.&lt;br /&gt;
&lt;br /&gt;
When you are done all this you will have a 1BSD system on top of a V6 Unix system just like Bill Joy was planning when he shipped out 1BSD tapes back in 1977.  there is no clean installation and the boot up will still be v6 UNIX but the added tools are a nice improvement of v6 UNIX, the text editor ex is also the clear predecessor of vi which is a nice quality of life step of over ed in my opinion.&lt;br /&gt;
&lt;br /&gt;
Now we can boot 1BSD&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set CPU 11/70&lt;br /&gt;
set CPU 4M&lt;br /&gt;
set CPU idle&lt;br /&gt;
set CLK 60hz&lt;br /&gt;
set PCLK disabled&lt;br /&gt;
set PTR enabled&lt;br /&gt;
attach PTR ptr.ptap&lt;br /&gt;
set PTP enabled&lt;br /&gt;
attach PTP ptp.ptap&lt;br /&gt;
set TTI 7p&lt;br /&gt;
set TTO 7p&lt;br /&gt;
set TDC disabled&lt;br /&gt;
set CR disabled&lt;br /&gt;
set LPT enabled&lt;br /&gt;
attach LPT lpt.txt&lt;br /&gt;
set DLI disabled&lt;br /&gt;
set DLO disabled&lt;br /&gt;
set DCI disabled&lt;br /&gt;
set DCO disabled&lt;br /&gt;
set DZ disabled&lt;br /&gt;
set VH disabled&lt;br /&gt;
set DH disabled&lt;br /&gt;
set RC disabled&lt;br /&gt;
set RF disabled&lt;br /&gt;
set RK disabled&lt;br /&gt;
set RL disabled&lt;br /&gt;
set HK disabled  &lt;br /&gt;
set RX disabled&lt;br /&gt;
set RY disabled&lt;br /&gt;
set RP enabled&lt;br /&gt;
set RP0 rp04&lt;br /&gt;
attach RP0 rp04-1.dsk&lt;br /&gt;
set RP1 disabled&lt;br /&gt;
set RP2 disabled&lt;br /&gt;
set RP3 disabled&lt;br /&gt;
set RP4 disabled&lt;br /&gt;
set RP5 disabled&lt;br /&gt;
set RP6 disabled&lt;br /&gt;
set RP7 disabled&lt;br /&gt;
set RR disabled&lt;br /&gt;
set RS disabled&lt;br /&gt;
set RQ disabled&lt;br /&gt;
set RQB disabled&lt;br /&gt;
set RQC disabled&lt;br /&gt;
set RQD disabled&lt;br /&gt;
set TC enabled&lt;br /&gt;
set TC1 disabled&lt;br /&gt;
set TC2 disabled&lt;br /&gt;
set TC3 disabled&lt;br /&gt;
set TC4 disabled&lt;br /&gt;
set TC5 disabled&lt;br /&gt;
set TC6 disabled&lt;br /&gt;
set TC7 disabled&lt;br /&gt;
set TM enabled&lt;br /&gt;
set TM1 disabled&lt;br /&gt;
set TM2 disabled&lt;br /&gt;
set TM3 disabled&lt;br /&gt;
set TM4 disabled&lt;br /&gt;
set TM5 disabled&lt;br /&gt;
set TM6 disabled&lt;br /&gt;
set TM7 disabled&lt;br /&gt;
set TS disabled&lt;br /&gt;
set TQ disabled&lt;br /&gt;
set TU disabled&lt;br /&gt;
set TA disabled&lt;br /&gt;
set VT disabled&lt;br /&gt;
set XQ disabled&lt;br /&gt;
set XQB disabled&lt;br /&gt;
set XU disabled&lt;br /&gt;
set XUB disabled&lt;br /&gt;
set KG disabled&lt;br /&gt;
set DMC disabled&lt;br /&gt;
set DUP disabled&lt;br /&gt;
set DPV disabled&lt;br /&gt;
set KDP disabled&lt;br /&gt;
set KE disabled&lt;br /&gt;
set CH disabled&lt;br /&gt;
set NG disabled&lt;br /&gt;
set DAZ disabled&lt;br /&gt;
set TV disabled&lt;br /&gt;
set MB disabled&lt;br /&gt;
&lt;br /&gt;
then run boot rp0&lt;br /&gt;
&lt;br /&gt;
and now you can have 1BSD which as far as I can tell had not been documented before this, enjoy.&lt;br /&gt;
&lt;br /&gt;
[[Category: UNIX Practical Guides]]&lt;/div&gt;</summary>
		<author><name>Zaphod</name></author>
	</entry>
</feed>