<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unix &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Mon, 27 Apr 2026 22:20:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>Downgrading the Plexus P20 emulator to Visual C++ 2003</title>
		<link>https://virtuallyfun.com/2026/04/27/downgrading-the-plexus-p20-emulator-to-visual-c-2003/</link>
					<comments>https://virtuallyfun.com/2026/04/27/downgrading-the-plexus-p20-emulator-to-visual-c-2003/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 27 Apr 2026 22:20:27 +0000</pubDate>
				<category><![CDATA[68000]]></category>
		<category><![CDATA[m68k]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15718</guid>

					<description><![CDATA[I ended up falling down the rabbit hole of the P20. For those who don&#8217;t know here you go: This is great, not ONE but TWO 68010 processors! 2MB of RAM, and SYSV Unix! NEAT! Adrian has (had he&#8217;s donating &#8230; <a href="https://virtuallyfun.com/2026/04/27/downgrading-the-plexus-p20-emulator-to-visual-c-2003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I ended up falling down the rabbit hole of the P20.  For those who don&#8217;t know here you go:</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="The Plexus P/20: A Fantastic Journey (Supercut)" width="584" height="329" src="https://www.youtube.com/embed/lBprWU9cHXs?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">This is great, not ONE but TWO 68010 processors!  2MB of RAM, and SYSV Unix!</p>



<p class="wp-block-paragraph">NEAT!</p>



<p class="wp-block-paragraph">Adrian has (had he&#8217;s donating it) so the odds of people playing with it, are slim to none. But no, there are not ONE but two emulators!</p>



<p class="wp-block-paragraph">There is a <a href="https://github.com/pbrook/qemu/tree/plexus-p20">QEMU based one</a>, and a <a href="https://github.com/Spritetm/plexus_20_emu">MUSAHI based one</a>.</p>



<p class="wp-block-paragraph">I had thought about trying to take a look at the SCSI handling as the system uses one of those funky MFM disk shims with a SCSI &#8216;like&#8217; interface bus.. It has an interesting layout with the first block to explain the disk to the controller and the system, along with the disk partitions/slice layout. Very early 1980&#8217;s stuff.</p>



<p class="wp-block-paragraph">Anyways despite all these years, I&#8217;m kinda terrible with Xcode, so I thought using Visual Studio to debug would be the way to go.  And whoa&#8230; I had a copy of 2010 handy as I was having internet issues, and yeah it&#8217;s more C89 than C99.</p>



<p class="wp-block-paragraph">And then there was this fun thing while trying to do an optimised build:</p>



<pre class="wp-block-code"><code>c:\proj\plexus_p20\musashi\m68kfpu.c(134) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\6030\vc\Compiler\Utc\src\P2\main.c', line 148)</code></pre>



<p class="wp-block-paragraph">Nothing like crashing the compiler <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p class="wp-block-paragraph">Thankfully you can simply turn off optimizations in the various parts of the source that crash.The Plexus neither has and I think pre-dates the 68881/68882 so the FPU emulation really doesn&#8217;t matter, just simply add</p>



<pre class="wp-block-code"><code>pragma optimize("", off)</code></pre>



<p class="wp-block-paragraph">at the start of the file, and turn it back on at the end. Yay!</p>



<figure class="wp-block-image size-large"><a href="https://github.com/neozeed/plexus_p20-vc2003" target="_blank" rel=" noreferrer noopener"><img fetchpriority="high" decoding="async" width="1024" height="459" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-26-1024x459.png" alt="" class="wp-image-15719" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-26-1024x459.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-26-300x134.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-26-768x344.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-26-500x224.png 500w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-26.png 1221w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Visual C++ 2003!</figcaption></figure>



<p class="wp-block-paragraph">So yeah that was pretty fun.</p>



<p class="wp-block-paragraph">Oh I should add there is a <a href="https://spritetm.github.io/plexus_20_emu/">WASM version</a>, so the ultimate for tourists, you don&#8217;t even have to install anything!  Super cool!</p>



<p class="wp-block-paragraph">I thought I&#8217;d try to make a slight improvement since I expect people to use old machines, so I amputated <a href="https://github.com/adoxa/ansicon" target="_blank" rel="noreferrer noopener">ansicon</a>, and drive it directly!  So, no DLL injection or anything else weird, to try to prevent antivirus software from freaking out.</p>



<p class="wp-block-paragraph">It&#8217;s enough for vi to work at least!</p>



<figure class="wp-block-image size-full"><img decoding="async" width="979" height="515" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-27.png" alt="" class="wp-image-15720" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-27.png 979w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-27-300x158.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-27-768x404.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-27-500x263.png 500w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<p class="wp-block-paragraph">Although I should probably detect Windows 10, since it has the ability to detect and drive ANSI codes on it&#8217;s own.</p>



<p class="wp-block-paragraph">Anyways for anyone wanting to check it out on Windows here is the repo with the first release:</p>



<p class="wp-block-paragraph"><a href="https://github.com/neozeed/plexus_p20-vc2003">https://github.com/neozeed/plexus_p20-vc2003</a></p>



<p class="wp-block-paragraph">Don&#8217;t forget you&#8217;ll need ROMs and a Disk image.</p>



<p class="wp-block-paragraph">Oh C compiler is installed, and I believe Fortran as well!  The &#8216;catch&#8217; is there currently is no good way to move data into the VM.  Pasting into the console gets dropped chars, and it&#8217;s just impossible.  uuencode to the system OUT however works great.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/04/27/downgrading-the-plexus-p20-emulator-to-visual-c-2003/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Installing HP-UX 11i v1 (11.11) 32bit PA1.1 on QEMU 10.1</title>
		<link>https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/</link>
					<comments>https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sun, 26 Oct 2025 23:20:23 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[HPPA]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15494</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) Definitely not the first person doing this. In fact this has been quite widely documented, in particular by astr0baby and openpa.net. Just my personal observations and tweaks. Install ISOs from &#8230; <a href="https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>(This is a guest post by Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph">Definitely not the first person doing this. In fact this has been quite widely documented, in particular by <a href="https://astr0baby.wordpress.com/2021/04/21/running-hp-ux-11-11-on-the-apple-m1/">astr0baby</a> and <a href="https://www.openpa.net/qemu_pa-risc_emulation.html">openpa.net</a>. Just my personal observations and tweaks.</p>



<h2 class="wp-block-heading">Install</h2>



<p class="wp-block-paragraph"><a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/2006-12%20MCOE,%20Apps/">ISOs from 2006 MCOE</a> work just fine</p>



<pre class="wp-block-code"><code>qemu-img create -f qcow2 hpux.img 20G

qemu-system-hppa \
-machine B160L \
-smp cpus=4 \
-accel tcg,thread=multi \
-boot d \
-drive if=scsi,bus=0,index=6,file=hpux.img,format=qcow2 \
-m 512 \
-d nochain \
-cdrom mcoe.1_5.iso \
-net nic,model=tulip \
-net user
</code></pre>



<p class="wp-block-paragraph">I installed mostly the defaults, removed Java spyware and Web based management.</p>



<p class="wp-block-paragraph">I recommend using advanced mode and editing File Systems to your desired size or just leaving /stand and / and deleting everything else. Otherwise, if you do defaults, you will be facing resizing them in single user mode later.</p>



<p class="wp-block-paragraph">Forget any serial console, telnet stdio or forwarding X over SSH nonsense. Graphical console now works fully end to end without any issues, except for <code>nsswitch.conf</code>. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="845" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-1024x845.png" alt="" class="wp-image-15496" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-1024x845.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-300x247.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-768x633.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-364x300.png 364w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin.png 1290w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">When trying to login via CDE you will get an error about unable to start desktop messaging system. Login either via text console or failsafe session. Copy <code>/etc/nsswitch.files</code> to <code>/etc/nsswitch.conf</code>. Also make sure that your hostname can resolve via <code>/etc/hosts</code>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="876" height="405" src="https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM.png" alt="" class="wp-image-15495" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM.png 876w, https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM-300x139.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM-768x355.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM-500x231.png 500w" sizes="auto, (max-width: 876px) 100vw, 876px" /></figure>



<p class="wp-block-paragraph">Once this is done you should be able to login via CDE:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="840" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-1024x840.png" alt="" class="wp-image-15497" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-1024x840.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-300x246.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-768x630.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-366x300.png 366w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde.png 1296w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">If you left filesystem defaults, you will be facing this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="881" height="366" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc.png" alt="" class="wp-image-15499" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc.png 881w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc-300x125.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc-768x319.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc-500x208.png 500w" sizes="auto, (max-width: 881px) 100vw, 881px" /></figure>



<p class="wp-block-paragraph">To fix this, add <code>-boot menu=on</code> to qemu parameters, run <code>boot pri</code> then answer yes to interact with IPL and then type <code>hpux -is</code>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="641" height="366" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle.png" alt="" class="wp-image-15500" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle.png 641w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle-300x171.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle-500x285.png 500w" sizes="auto, (max-width: 641px) 100vw, 641px" /></figure>



<p class="wp-block-paragraph">This will land you in single user mode where you can extend volumes like so:</p>



<pre class="wp-block-code"><code># cat /etc/fstab
....
lvextend -L 4096 /dev/vg00/lvol7
extendfs /dev/vg00/lvol7
....
</code></pre>



<p class="wp-block-paragraph">But ideally this should be done ahead of time during install in File Systems tabs (advanced mode).</p>



<p class="wp-block-paragraph">I like to disable some slow starting and unnecessary services on startup, to do so go to <code>/etc/rc.config.d</code> and edit bunch of files changing value from <code>=1</code> to <code>=0</code>. I typically disable SNMP, CIM and Mailserver, Webadmin, Diagnostics, EMS, nettl, icod, etc at minimum. Also some stubborn services need to be disabled by renaming or removing them from <code>/sbin/rcX.d</code> &#8230;</p>



<h2 class="wp-block-heading">Software Install</h2>



<p class="wp-block-paragraph">Note that this emulates <strong>PA-RISC 1.1</strong> (32bit) and software built for <strong>PA-RISC 2.0</strong> (64bit) will not work. Very little software is marked which platform is it for, so your mileage will vary. You will encounter errors and crashes. To avoid confusion check the binary with <code>file(1)</code> utility.</p>



<p class="wp-block-paragraph">I have a bunch of handy tools like bash/gmake/gzip/gtar/ncftp bundled up <a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/tools/tools-hpux11iv1.tar.lz">here</a>. There is GCC 4.0.2 <a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/hppa1.1-hp-hpux11.11/gcc-4.0.2.depot.tar.lz">here</a> as a depot and <a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/tools/gcc-core-402-hpux11v1.tar.lz">here</a> as a tarball. I also installed a bunch of tools and enhancements from Soft Pack and Apps cdroms.</p>



<p class="wp-block-paragraph">Most importantly SimCity!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="839" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-1024x839.png" alt="" class="wp-image-15506" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-1024x839.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-300x246.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-768x629.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-366x300.png 366w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim.png 1299w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">More games can be found <a href="https://www.openpa.net/hp-ux_games_software.html">here</a>. However this emulated HP-UX doesn&#8217;t have working OpenGL so don&#8217;t expect much.</p>



<p class="wp-block-paragraph">Finally, to shut down the os:</p>



<pre class="wp-block-code"><code>reboot -h</code></pre>



<p class="wp-block-paragraph">The ready to run image is available <a href="http://tenox.pdp-11.ru/os/hpux/Qemu/hpux11v1-qemu.tar.lz">here</a>. It works with QEMU 10.1. It has bash &amp; gcc pre-installed. Login as root/root.</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A modern re-implementation of RCPD (Remote Copy Daemon)</title>
		<link>https://virtuallyfun.com/2024/08/25/a-modern-re-implementation-of-rcpd-remote-copy-daemon/</link>
					<comments>https://virtuallyfun.com/2024/08/25/a-modern-re-implementation-of-rcpd-remote-copy-daemon/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sun, 25 Aug 2024 09:29:11 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=14819</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka tenox) TL;DRRCPD plays nicely with NAT, re-implemented as a stand alone daemon, from scratch, without ined, r-daemons. Fully open, no security or authentication. Docker friendly. I often find myself needing to &#8230; <a href="https://virtuallyfun.com/2024/08/25/a-modern-re-implementation-of-rcpd-remote-copy-daemon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">(<em>This is a guest post by Antoni Sawicki aka tenox)</em></p>



<p class="wp-block-paragraph">TL;DR<br><a href="https://en.wikipedia.org/wiki/Berkeley_r-commands#rcp" data-type="link" data-id="https://en.wikipedia.org/wiki/Berkeley_r-commands#rcp">RCPD</a> plays nicely with NAT, re-implemented as a stand alone daemon, from scratch, without <a href="https://en.wikipedia.org/wiki/Inetd" data-type="link" data-id="https://en.wikipedia.org/wiki/Inetd">ined</a>, r-daemons. Fully open, no security or authentication. Docker friendly.</p>



<p class="wp-block-paragraph">I often find myself needing to copy a file or two, in or out of an emulated system with some weird networking setup like qemu net user, SLiRP, NAT, etc. Or from/to a physical machine, but having server running in a Docker container, sometimes on a Mac, which has even weirder network contraptions.</p>



<p class="wp-block-paragraph">Most of the old file transfer protocols like FTP have tendency to open a reverse connection from the server back to the client, which doesn&#8217;t play very well with NAT. Even TFTP (who would have thought!) requires <code>nf_conntrack</code>, STUN, proxies, connection helpers, punching holes, UPnP and other nonsense. While they can be individually worked out, it&#8217;s rather not universal. Vintage OS SSH/SCP is either non existent or ciphers are too old to play well with modern SSH server. NFS is mostly OK but it has it&#8217;s own quirks and you can&#8217;t run it in a Docker container. I seen people doing shit like <a href="https://john-millikin.com/running-sunos-4-in-qemu-sparc#recv-c" data-type="link" data-id="https://john-millikin.com/running-sunos-4-in-qemu-sparc#recv-c">this</a>. I&#8217;m also guilty of using Kermit to transfer files over network from time to time. Overall quite frustrating situation.</p>



<p class="wp-block-paragraph">It turns out that the <a href="https://en.wikipedia.org/wiki/Berkeley_r-commands#rcp" data-type="link" data-id="https://en.wikipedia.org/wiki/Berkeley_r-commands#rcp">rcp protocol</a> is very easy on NAT, as it uses just a single, outgoing TCP connection. Not only it worked in all my use cases, but also <em>Berkeley r-commands</em> are ubiquitous on pretty much all vintage OSes that I work with. From Unix, VMS to Windows NT. There are ports to OS/2, DOS and everything else. A recent practical example was how Neozeed and I <a href="https://virtuallyfun.com/2023/05/15/windows-2000-64-bit-for-alpha-axp/">copied a VBScript in to Windows 2000 64bit</a> install.</p>



<p class="wp-block-paragraph">The server side however is somewhat of a challenge. It has been obsolete for quite some time now. For starters, R-daemons require <code>inetd</code>, which is mostly not a thing on modern Unix. Then there are actual rshd/rexec/rlogin/rcpd daemons. I spent several hours trying to hack <code>netkit-rsh</code> and <code>rsh-redone</code> to play nicely in Docker, without good results. Even if it could be done, there still are <code>/etc/hosts.equiv</code>, <code>~/.rhosts</code> and other bullshit &#8220;security&#8221; contraptions to deal with.</p>



<p class="wp-block-paragraph">Annoyed with all this nonsense decided to write RCPD from scratch. Docker friendly, fully open, no security or authentication of any kind. I also didn&#8217;t want remote shell (rsh/rlogin/rexec), just the file copy part. The original <code>rcpd</code> was using <code>rshd</code> under the hood. This is now completely eliminated and the shell stuff is synthetically generated to satisfy the protocol.</p>



<p class="wp-block-paragraph">Now if I want to copy a file in to a vintage system I can simply do this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="376" height="133" src="https://virtuallyfun.com/wp-content/uploads/2024/08/sunrcp.png" alt="" class="wp-image-14822" srcset="https://virtuallyfun.com/wp-content/uploads/2024/08/sunrcp.png 376w, https://virtuallyfun.com/wp-content/uploads/2024/08/sunrcp-300x106.png 300w" sizes="auto, (max-width: 376px) 100vw, 376px" /></figure>



<p class="wp-block-paragraph">That&#8217;s it. It just works<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /> with net user and Docker on a Mac vmnet. </p>



<p class="wp-block-paragraph">The best part that the whole thing has been written and debugged entirely by <a href="https://claude.ai" data-type="link" data-id="https://claude.ai">Claude</a>!</p>



<p class="wp-block-paragraph">Available from <a href="https://github.com/tenox7/rcpd">https://github.com/tenox7/rcpd</a></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2024/08/25/a-modern-re-implementation-of-rcpd-remote-copy-daemon/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>The Rise of Unix. The Seeds of its Fall. / A Chronicle of the Unix Wars</title>
		<link>https://virtuallyfun.com/2024/01/05/the-rise-of-unix-the-seeds-of-its-fall-a-chronicle-of-the-unix-wars/</link>
					<comments>https://virtuallyfun.com/2024/01/05/the-rise-of-unix-the-seeds-of-its-fall-a-chronicle-of-the-unix-wars/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Fri, 05 Jan 2024 09:42:29 +0000</pubDate>
				<category><![CDATA[32v]]></category>
		<category><![CDATA[386BSD]]></category>
		<category><![CDATA[4 BSD]]></category>
		<category><![CDATA[4.2 BSD]]></category>
		<category><![CDATA[4.3 BSD]]></category>
		<category><![CDATA[4.3 BSD RENO]]></category>
		<category><![CDATA[80386]]></category>
		<category><![CDATA[AT&T Unix]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[SIMH]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[virtual networking]]></category>
		<category><![CDATA[Win32]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=13695</guid>

					<description><![CDATA[It&#8217;s not mine, rather it&#8217;s Asianometry&#8216;s. It&#8217;s a nice overview of the rise of Unix. I&#8217;d recommend checking it out, it&#8217;s pretty good. And of course, as I&#8217;m referenced! And part 2: A Chronicle of the Unix Wars Years ago &#8230; <a href="https://virtuallyfun.com/2024/01/05/the-rise-of-unix-the-seeds-of-its-fall-a-chronicle-of-the-unix-wars/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">It&#8217;s not mine, rather it&#8217;s <a href="https://www.youtube.com/@Asianometry">Asianometry</a>&#8216;s.  It&#8217;s a nice overview of the rise of Unix.  I&#8217;d recommend checking it out, it&#8217;s pretty good.  And of course, as I&#8217;m referenced!<a href="https://www.youtube.com/@Asianometry"></a></p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="The Rise of Unix. The Seeds of its Fall." width="584" height="329" src="https://www.youtube.com/embed/HADp3emVABg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div><figcaption class="wp-element-caption">The Rise of Unix. The Seeds of its Fall.</figcaption></figure>



<p class="wp-block-paragraph">And part 2: A Chronicle of the Unix Wars</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="A Chronicle of the Unix Wars" width="584" height="329" src="https://www.youtube.com/embed/Ffh3DRFzRL0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=Ffh3DRFzRL0">A Chronicle of the Unix Wars (youtube.com)</a></figcaption></figure>



<p class="wp-block-paragraph">Years ago I had tried to make these old OS&#8217;s accessible to the masses with a simple windows installer where you could click &amp; run these ancient artifacts.  Say 4.2BSD.</p>



<p class="wp-block-paragraph"><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.3%20Beta%201/BSD4.2-install-0.3.exe/download">Download BSD4.2-install-0.3.exe (Ancient UNIX/BSD emulation on Windows) (sourceforge.net)</a></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="649" src="https://virtuallyfun.com/wp-content/uploads/2024/01/install-4.2BSD-on-windows-1024x649.png" alt="" class="wp-image-13696" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/install-4.2BSD-on-windows-1024x649.png 1024w, https://virtuallyfun.com/wp-content/uploads/2024/01/install-4.2BSD-on-windows-300x190.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/install-4.2BSD-on-windows-768x487.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/01/install-4.2BSD-on-windows-473x300.png 473w, https://virtuallyfun.com/wp-content/uploads/2024/01/install-4.2BSD-on-windows.png 1305w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Installing should be pretty straight forward, I just put the license as a click through and accept defaults.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="622" src="https://virtuallyfun.com/wp-content/uploads/2024/01/booted-into-4.2BSD-1024x622.png" alt="" class="wp-image-13697" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/booted-into-4.2BSD-1024x622.png 1024w, https://virtuallyfun.com/wp-content/uploads/2024/01/booted-into-4.2BSD-300x182.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/booted-into-4.2BSD-768x466.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/01/booted-into-4.2BSD-494x300.png 494w, https://virtuallyfun.com/wp-content/uploads/2024/01/booted-into-4.2BSD.png 1031w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Starting BSD via &#8216;RUN BSD42&#8217; and the emulator will fire up, and being up a console program (Tera Term) giving you the console access.  Windows will probably warn you that it requested network access.  This will allow you to access the VAX over the network, including being able to telnet into the VAX via &#8216;Attach a PTY&#8217; which will spawn another Tera Term, prompting you to login.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="822" height="427" src="https://virtuallyfun.com/wp-content/uploads/2024/01/attach-a-ptty.png" alt="" class="wp-image-13698" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/attach-a-ptty.png 822w, https://virtuallyfun.com/wp-content/uploads/2024/01/attach-a-ptty-300x156.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/attach-a-ptty-768x399.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/01/attach-a-ptty-500x260.png 500w" sizes="auto, (max-width: 822px) 100vw, 822px" /><figcaption class="wp-element-caption">telnettting into the VAX</figcaption></figure>



<p class="wp-block-paragraph">You can login as root, there is no password, and now you are up and running your virtual VAX with 4.2BSD!</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-items.png"><img loading="lazy" decoding="async" width="748" height="652" src="https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-items.png" alt="" class="wp-image-13699" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-items.png 748w, https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-items-300x261.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-items-344x300.png 344w" sizes="auto, (max-width: 748px) 100vw, 748px" /></a><figcaption class="wp-element-caption">All the items</figcaption></figure>



<p class="wp-block-paragraph">I converted many of the old documents into PDF&#8217;s so you may want to start with the Beginners guide to Unix.  I thought this was a great way to bring a complex system to the masses, but I&#8217;m not sure if I succeded.</p>



<figure class="wp-block-image size-large"><a href="https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats.png"><img loading="lazy" decoding="async" width="1024" height="488" src="https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats-1024x488.png" alt="" class="wp-image-13700" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats-1024x488.png 1024w, https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats-300x143.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats-768x366.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats-500x238.png 500w, https://virtuallyfun.com/wp-content/uploads/2024/01/4.2BSD-download-stats.png 1171w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">776 downloads</figcaption></figure>



<p class="wp-block-paragraph">As it sits now, since 2007 it&#8217;s had 776 downloads.  I&#8217;d never really gotten any feedback so I&#8217;d hoped it got at least a few people launched into the bewildering world of ancient Unix.  Of course I tried to make many more packages but I&#8217;d been unsure if any of them went anywhere.  It&#8217;s why I found these videos so interesting as at least the image artifacts got used for something!</p>



<p class="wp-block-paragraph">But in the off hand, maybe this can encourage some Unix curious into a larger world.</p>



<p class="wp-block-paragraph">Other downloads in the same scope are:</p>



<ul class="wp-block-list">
<li><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.3%20Beta%201/Research-unixv1-0.3.exe/download">Research-unixv1</a></li>



<li><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.3%20Beta%201/unix32v-0.3.exe/download">unix32v</a></li>



<li><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.3%20Beta%201/BSD4.3-install-0.3.exe/download">BSD4.3</a></li>



<li><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.4/4.3BSD-Uwisc-install-0.4.exe/download">4.3BSD-Uwisc</a></li>



<li><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.3%20Beta%201/BSD4.3-Reno-installer-0.3.exe/download">BSD4.3-Reno</a></li>



<li><a href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.4/386BSD-0.1.exe/download">386BSD-0.1</a></li>
</ul>



<p class="wp-block-paragraph">Enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2024/01/05/the-rise-of-unix-the-seeds-of-its-fall-a-chronicle-of-the-unix-wars/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Peter&#8217;s Sun3 Zoo (restored)</title>
		<link>https://virtuallyfun.com/2023/08/07/peters-sun3-zoo-restored/</link>
					<comments>https://virtuallyfun.com/2023/08/07/peters-sun3-zoo-restored/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 15:18:20 +0000</pubDate>
				<category><![CDATA[archive.org]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[SUN]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://virtuallyfun.com/?p=13117</guid>

					<description><![CDATA[Sometimes there is a great seemingly timeless resource on the internet, and you pull from it from time to time, make giant compilations, but never really reach out to the creator, or just archive the entire thing. Then the unspeakable &#8230; <a href="https://virtuallyfun.com/2023/08/07/peters-sun3-zoo-restored/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><a href="http://www.sun3zoo.de/en/zoo.html"><img loading="lazy" decoding="async" width="789" height="444" src="https://virtuallyfun.com/wp-content/uploads/2023/08/Peters-sun3-zoo.jpg" alt="" class="wp-image-13118" srcset="https://virtuallyfun.com/wp-content/uploads/2023/08/Peters-sun3-zoo.jpg 789w, https://virtuallyfun.com/wp-content/uploads/2023/08/Peters-sun3-zoo-300x169.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2023/08/Peters-sun3-zoo-768x432.jpg 768w, https://virtuallyfun.com/wp-content/uploads/2023/08/Peters-sun3-zoo-500x281.jpg 500w" sizes="auto, (max-width: 789px) 100vw, 789px" /></a></figure>



<p class="wp-block-paragraph">Sometimes there is a great seemingly timeless resource on the internet, and you pull from it from time to time, make giant compilations, but never really reach out to the creator, or just archive the entire thing.</p>



<p class="wp-block-paragraph">Then the unspeakable happens and it just up&#8217;s and disappears.</p>



<p class="wp-block-paragraph">I never reached out to Peter Koch, to even thank him for preserving so much, or to apologise for not preserving his site, for some reason it felt like someone else would have done a better job.  But then sometimes you find out you were that <em>one</em> person, and you didn&#8217;t do it, so you didn&#8217;t do it.</p>



<p class="wp-block-paragraph">I don&#8217;t know the story, but it seems Peter did know that it was coming to and end.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><em>May 01 2010</em> &#8211; Ending</p>



<p class="wp-block-paragraph">Dear friends!</p>



<p class="wp-block-paragraph">I have to give up my collection.</p>



<p class="wp-block-paragraph">So if you&#8217;re interested in some pieces or know someone who might, please send me an e-mail.</p>
<cite>Peter &#8211; <a href="https://web.archive.org/web/20161027012054/http://www.sun4zoo.de/en/index.html" target="_blank" rel="noreferrer noopener">Sun3 Zoo</a></cite></blockquote>



<p class="wp-block-paragraph">So I&#8217;ll put in a call for help for the world at wide?  Did anyone save anything more comprehensive than what was in <a href="https://web.archive.org/web/20161109030648/http://www.sun3zoo.de/en/index.html" target="_blank" rel="noreferrer noopener">archive.org</a>, or what was in the &#8216;<a href="https://archive.org/download/titor-special_torrent/UNIX-Source-Code/SUN/www.sun3zoo.de/sun3arc/BootTapes/Sun3/" target="_blank" rel="noreferrer noopener">Titor Special</a>&#8216;?</p>



<p class="wp-block-paragraph">In the meantime, the site has a new owner, and it&#8217;s been restored.</p>



<p class="wp-block-paragraph"><a href="http://www.sun3zoo.de/en/zoo.html">Peter&#8217;s Sun3 Zoo &#8211; sun3zoo.de</a> </p>



<p class="wp-block-paragraph">If anyone has any stories or anything preserved it&#8217;d be appreciated.  There was at least a few <a rel="noreferrer noopener" href="https://web.archive.org/web/20030228054031/http://www.sun3zoo.de:80/en/party.html" target="_blank">parties</a>, and <a rel="noreferrer noopener" href="https://web.archive.org/web/20191231024110/http://www.sun3zoo.de/en/party3.html" target="_blank">party3</a>, with party2 missing.</p>



<p class="wp-block-paragraph">Thanks.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2023/08/07/peters-sun3-zoo-restored/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SimCity for Unix Liberated</title>
		<link>https://virtuallyfun.com/2022/12/30/simcity-for-unix-liberated/</link>
					<comments>https://virtuallyfun.com/2022/12/30/simcity-for-unix-liberated/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Fri, 30 Dec 2022 22:23:21 +0000</pubDate>
				<category><![CDATA[games]]></category>
		<category><![CDATA[guest post]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=12136</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) In early 90s DUX Software ported SimCity classic UNIX. They provided downloadable demo versions for SunOS, Solaris, HP-UX, SGI IRIX, OSF/1, Digital Unix, OpenDesktop, UnixWare, Linux and BSD. In the &#8230; <a href="https://virtuallyfun.com/2022/12/30/simcity-for-unix-liberated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>(This is a guest post by Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph">In early 90s <a href="https://web.archive.org/web/19970714233606/http://www.dux.com/simctyux.html">DUX Software</a> ported <a href="https://en.wikipedia.org/wiki/SimCity_(1989_video_game)" data-type="URL" data-id="https://en.wikipedia.org/wiki/SimCity_(1989_video_game)">SimCity</a> classic <strong>UNIX</strong>. They provided <a href="https://web.archive.org/web/19961103113523/http://www.dux.com/demo.html">downloadable demo versions </a>for <strong>SunOS</strong>, <strong>Solaris,</strong> <strong>HP-UX</strong>, <strong>SGI IRIX</strong>, <strong>OSF/1</strong>, <strong>Digital Unix,</strong> <strong>OpenDesktop</strong>, <strong>UnixWare</strong>, <strong>Linux</strong> and <strong>BSD</strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="768" src="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-sgi.gif" alt="" class="wp-image-12143"/><figcaption class="wp-element-caption">SimCity SGI IRIX screenshot from DUX website</figcaption></figure>



<p class="wp-block-paragraph">In the winter break wave of nostalgia I wanted to play SimCity on my vintage HPUX workstation. Unfortunately the 5 minute demo just wouldn&#8217;t cut it. Back in 1993 you could simply purchase a license key and unlock the demo to a full version. However even if I could find an old license code, these keys were &#8220;Host ID&#8221; locked, so you could not easily use it on a different machine anyway.  </p>



<p class="wp-block-paragraph">In 2008 <a href="https://www.donhopkins.com/home/micropolis/" data-type="URL" data-id="https://www.donhopkins.com/home/micropolis/">SimCity Classic has been open sourced</a> under a new name <em><strong>Micropolis</strong></em> for the <a href="https://en.wikipedia.org/wiki/One_Laptop_per_Child" data-type="URL" data-id="https://en.wikipedia.org/wiki/One_Laptop_per_Child">OLPC project</a>. This was  truly epic endeavor, many thanks to everyone involved. Unfortunately for vintage computer enthusiasts, the source code been updated to compile on a modern Linux, before it was released to the public. It will no longer build on any old Unix system. Typically, when a developer decides to free up their obsolete version, they just toss out some licenses codes. Sadly this time no one ever bothered. </p>



<p class="wp-block-paragraph">The only option left was to bypass the license checking code. Fortunately, modern binary analysis tools make patching old apps relatively straightforward. In just minutes I was able to get the game started in a full multiplayer mode. A few hours later I got it patched on all the vintage Unix platforms!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="819" src="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-solaris-1024x819.gif" alt="" class="wp-image-12139" srcset="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-solaris-1024x819.gif 1024w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-solaris-300x240.gif 300w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-solaris-768x614.gif 768w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-solaris-375x300.gif 375w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SimCity on Solaris 7 (also works on 8 and 9)</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="819" src="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hpux-1024x819.gif" alt="" class="wp-image-12140" srcset="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hpux-1024x819.gif 1024w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hpux-300x240.gif 300w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hpux-768x614.gif 768w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hpux-375x300.gif 375w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SimCity on HP-UX 9 (doesn&#8217;t work on 10 or 11 due to TCL/TK issues)</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="819" src="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-osf1-1024x819.gif" alt="" class="wp-image-12141" srcset="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-osf1-1024x819.gif 1024w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-osf1-300x240.gif 300w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-osf1-768x614.gif 768w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-osf1-375x300.gif 375w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SimCity on OSF/1 aka Digital Unix aka Tru64</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="843" src="https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-irix-1024x843.png" alt="" class="wp-image-12168" srcset="https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-irix-1024x843.png 1024w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-irix-300x247.png 300w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-irix-768x633.png 768w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-irix-364x300.png 364w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-irix.png 1282w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SimCity on IRIX 5.3 on MAME (doesn&#8217;t work on never IRIX due to COFF binary)</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="798" src="https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sunos-1024x798.png" alt="" class="wp-image-12197" srcset="https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sunos-1024x798.png 1024w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sunos-300x234.png 300w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sunos-768x598.png 768w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sunos-385x300.png 385w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sunos.png 1036w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SimCity on SunOS 4.1.4 on QEMU </figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="865" src="https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sco-1024x865.png" alt="" class="wp-image-12200" srcset="https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sco-1024x865.png 1024w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sco-300x253.png 300w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sco-768x649.png 768w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sco-355x300.png 355w, https://virtuallyfun.com/wp-content/uploads/2023/01/simcity-sco.png 1295w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SimCity on SCO OpenServer / OpenDesktop (ODT)</figcaption></figure>



<p class="wp-block-paragraph">UPDATE: patched IRIX as well! Special thanks to <strong>Mr^Burns</strong> for providing a preinstalled IRIX 5.3 MAME image!</p>



<p class="wp-block-paragraph">UPDATE: patched SunOS version as well. Special thanks to Daghdha for preinstalled SunOS 4.1.4 QEMU image!</p>



<p class="wp-block-paragraph">UPDATE: patched SCO Unix/ODT version as well.</p>



<p class="wp-block-paragraph">UPDATE: patched the legendary SunOS <a href="http://www.art.net/~hopkins/Don/hyperlook/index.html" data-type="link" data-id="http://www.art.net/~hopkins/Don/hyperlook/index.html">HyperLook</a> Edition!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1022" height="765" src="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hyperlook2.png" alt="" class="wp-image-14725" srcset="https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hyperlook2.png 1022w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hyperlook2-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hyperlook2-768x575.png 768w, https://virtuallyfun.com/wp-content/uploads/2022/12/simcity-hyperlook2-401x300.png 401w" sizes="auto, (max-width: 1022px) 100vw, 1022px" /><figcaption class="wp-element-caption">SimCity HyperLook Edition</figcaption></figure>



<p class="wp-block-paragraph">You can download the demo versions and patches <a href="http://osarchive.org/apps/simcity">here</a>. Happy gaming on your vintage Unix Workstation!</p>



<p class="wp-block-paragraph">If you just want to try the game without bothering with an ancient unix, you can simply <code>sudo apt install micropolis &amp;&amp; micropolis</code> on a modern Linux &#8211; it&#8217;s identical except for multiplayer.</p>



<p class="wp-block-paragraph">You may also be interested in a hybrid <a href="https://virtuallyfun.com/2024/08/08/dux-simcity-unix-aka-micropolis-on-irix-6-5-and-aix-4-3/" data-type="post" data-id="14763">micropolis+dux build for AIX and IRIX 6.5</a>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="487" height="275" src="https://virtuallyfun.com/wp-content/uploads/2022/12/impeach.png" alt="" class="wp-image-14727" srcset="https://virtuallyfun.com/wp-content/uploads/2022/12/impeach.png 487w, https://virtuallyfun.com/wp-content/uploads/2022/12/impeach-300x169.png 300w" sizes="auto, (max-width: 487px) 100vw, 487px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2022/12/30/simcity-for-unix-liberated/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>Unicos CD-ROM&#8217;s found!</title>
		<link>https://virtuallyfun.com/2022/12/04/unicos-cd-roms-found/</link>
					<comments>https://virtuallyfun.com/2022/12/04/unicos-cd-roms-found/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 04 Dec 2022 23:51:59 +0000</pubDate>
				<category><![CDATA[cray]]></category>
		<category><![CDATA[SYSV]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[virtual networking]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=12087</guid>

					<description><![CDATA[Okay, so it&#8217;s old news. But it was news to me! So over on Modular Circuits, Andras had posted a promising &#8216;UNICOS Update&#8216; which had detailed that 2 CD-ROM&#8217;s of Unicos had surfaced on archive.org cray-cd1 &#38; cray-cd2. Along with &#8230; <a href="https://virtuallyfun.com/2022/12/04/unicos-cd-roms-found/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Okay, so it&#8217;s old news.  But it was news to me!</p>



<figure class="wp-block-image size-large"><a href="https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted.png"><img loading="lazy" decoding="async" width="1024" height="506" src="https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted-1024x506.png" alt="" class="wp-image-12088" srcset="https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted-1024x506.png 1024w, https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted-300x148.png 300w, https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted-768x380.png 768w, https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted-500x247.png 500w, https://virtuallyfun.com/wp-content/uploads/2022/12/Unicos-booted.png 1451w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">So over on <a rel="noreferrer noopener" href="http://www.modularcircuits.com/blog/" target="_blank">Modular Circuits</a>, Andras had posted a promising &#8216;<a rel="noreferrer noopener" href="http://www.modularcircuits.com/blog/2022/08/04/unicos-update/" target="_blank">UNICOS Update</a>&#8216; which had detailed that 2 CD-ROM&#8217;s of Unicos had surfaced on archive.org <a rel="noreferrer noopener" href="https://archive.org/details/cray-cd1" target="_blank">cray-cd1</a> &amp; <a rel="noreferrer noopener" href="https://archive.org/details/cray-cd2" target="_blank">cray-cd2</a>.  Along with posting the updated source to <a href="https://github.com/andrastantos/cray-sim" target="_blank" rel="noreferrer noopener">github</a>, so I had no choice to replicate the experiment!</p>



<p class="wp-block-paragraph">First the install is <strong><span style="text-decoration: underline;">INSANELY</span></strong> slow.  It requires you to setup a Linux (or unix) machine with rsh.  Surprisingly there is a rsh-server package for Ubuntu 22.04.  Basically it boils down to <a rel="noreferrer noopener" href="https://github.com/andrastantos/cray-sim/blob/master/unicos_install.md" target="_blank">following the instructions</a>.  Although with WSLv2 I ended up making the bridge manually with:</p>



<pre class="wp-block-preformatted">brctl addbr craybr<br>ip tuntap add mode tap tap1<br>ifconfig tap1 up<br>brctl addif craybr tap1<br>ifconfig craybr 172.16.0.1 netmask 255.255.255.0</pre>



<p class="wp-block-paragraph">It&#8217;s coded in the example configs to use tap1, but there you go.  It&#8217;s a pretty straightfoward install but the decompression on the cray side takes the installation hours.  As an experiment I changed the commands from rcp to remsh to gzip -dc the files locally on my PC, which had the benefit of of being much faster, and not taking up space.</p>



<p class="wp-block-paragraph">I went ahead and uploaded both of my installs for anyone wanting to play OS tourist enough to check out UNICOS but not wanting to sit through the install.</p>



<ul class="wp-block-list"><li><a href="https://archive.org/details/uni-cos-linux-x-86-64.7z" target="_blank" rel="noreferrer noopener">UNICOS 10.0.0.2</a></li><li><a href="https://archive.org/details/uni-cos-10.0.1.2-linux-x-86-64.7z" target="_blank" rel="noreferrer noopener">UNICOS 10.0.1.2</a></li></ul>



<p class="wp-block-paragraph">The C compiler is.. ancient. and very touchy.  You&#8217;ll need to add /usr/gen/bin to the path, and explicitly add the path for the linker like this:</p>



<pre class="wp-block-preformatted">/usr/gen/bin/cc zap.c -L/usr/gen/lib</pre>



<p class="wp-block-paragraph">Although the breakage is.. pretty epic.  I had pretty much no luck bringing over any of my favorites.  There should be a much better / modernish C compiler and Fortran compiler, although I&#8217;m not sure if it&#8217;s on these CD-ROM&#8217;s or I&#8217;m just massively ignorant of UNICOS, because I never got a chance to be anywhere near a legit supercomputer.</p>



<p class="wp-block-paragraph">So yeah, pretty exciting stuff!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2022/12/04/unicos-cd-roms-found/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>IBM AIX for IA64 (Itanium) aka Project Monterey runs again!</title>
		<link>https://virtuallyfun.com/2022/09/24/ibm-aix-for-ia64-itanium-aka-project-monterey-runs-again/</link>
					<comments>https://virtuallyfun.com/2022/09/24/ibm-aix-for-ia64-itanium-aka-project-monterey-runs-again/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sat, 24 Sep 2022 12:00:08 +0000</pubDate>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[guest post]]></category>
		<category><![CDATA[itanium]]></category>
		<category><![CDATA[SYSV]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=11979</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) Project Monterey was an attempt to unify the fragmented Unix market of the 90s in to a single, cross vendor Unix OS that would run on the upcoming Intel Itanium &#8230; <a href="https://virtuallyfun.com/2022/09/24/ibm-aix-for-ia64-itanium-aka-project-monterey-runs-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>(This is a guest post by Antoni Sawicki aka Tenox)</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="464" height="171" src="https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_logo.jpeg" alt="" class="wp-image-11980" srcset="https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_logo.jpeg 464w, https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_logo-300x111.jpeg 300w" sizes="auto, (max-width: 464px) 100vw, 464px" /></figure>
</div>


<p class="wp-block-paragraph"><strong><a href="https://en.wikipedia.org/wiki/Project_Monterey">Project Monterey</a></strong> was an attempt to unify the fragmented Unix market of the 90s in to a single, cross vendor Unix OS that would run on the upcoming <strong><a href="https://en.wikipedia.org/wiki/Itanium">Intel Itanium</a></strong> (and others) CPU. The main collaborators were: <strong>IBM</strong>, who brought its <strong><a href="https://en.wikipedia.org/wiki/IBM_AIX">AIX</a></strong>, <strong>SCO</strong> brought <strong><a href="https://en.wikipedia.org/wiki/UnixWare">UnixWare</a></strong>, <strong>HP</strong> was supposed to bring parts of <strong><a href="https://en.wikipedia.org/wiki/HP-UX">HP-UX</a></strong> and <strong>Sequent</strong> <strong><a href="https://en.wikipedia.org/wiki/DYNIX">DYNIX/ptx</a></strong>. Ironically the project shared fate of the Itanium processor &#8211; it totally failed. In the end Linux took spot of the &#8220;single Unix OS&#8221;. IBM <a href="http://osarchive.org/os/linux/ibm-lvm.pdf">donated</a> pieces of AIX to Linux instead and the main legacy of Project Monterey was <a href="https://en.wikipedia.org/wiki/SCO_Group,_Inc._v._International_Business_Machines_Corp.">the famous SCO vs IBM lawsuit</a>.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="439" height="397" src="https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_roadmap.png" alt="" class="wp-image-11990" srcset="https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_roadmap.png 439w, https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_roadmap-300x271.png 300w, https://virtuallyfun.com/wp-content/uploads/2022/10/monterey_roadmap-332x300.png 332w" sizes="auto, (max-width: 439px) 100vw, 439px" /></figure>
</div>


<p class="wp-block-paragraph">A little known fact, IBM did however produce AIX version for the Itanium architecture! According to Wikipedia, some 30+ licenses were sold in 2001-2002. For years a dedicated group of individuals were trying to locate a copy of the legendary OS. As time passed it seemed that the OS was lost forever.</p>



<p class="wp-block-paragraph">&#8230;until some 21 years later friends of <a href="https://www.youtube.com/c/NCommander">NCommander</a> checked in with a set of AIX5L IA64 CDROMS! The CDs have now been dumped and you can download them <a href="https://archive.org/details/aix-ia64">here</a>. Unfortunately downloading will not get you any closer to actually running this. As of today no publicly available virtualization or emulation platform can boot this. Yes we tried <a href="https://en.wikipedia.org/wiki/Simics">Simics</a>, looked at <a href="https://qemu.mercurysquad.com/">QEMU IA64</a> and XEN/KVM for IA64, etc. The OS will not boot on modern Itanium 2 (McKinley) CPUs, only the early &#8220;pre-release&#8221; <strong>Itanium 1</strong> aka <strong>Merced</strong>. The only emulator allegedly capable of doing so was the super elusive unobtanium called <a href="http://osarchive.org/os/aix/5.1ia64/misc/softsdv.pdf" data-type="URL" data-id="http://osarchive.org/os/aix/5.1ia64/misc/softsdv.pdf">Intel SoftSDV</a>.</p>



<p class="wp-block-paragraph">It&#8217;s currently speculated that AIX5L IA64 will work on and only on so called <em>Intel Software Development Vehicle (SDV)</em> sometimes referred to as <em>Intel Engineering Sample</em>. You can see the original system overview <a href="http://osarchive.org/os/aix/5.1ia64/misc/merced_system_over_final2.pdf">here</a>.</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="640" height="828" src="https://virtuallyfun.com/wp-content/uploads/2022/09/sdv1.jpg" alt="" class="wp-image-14992" style="width:269px;height:auto" srcset="https://virtuallyfun.com/wp-content/uploads/2022/09/sdv1.jpg 640w, https://virtuallyfun.com/wp-content/uploads/2022/09/sdv1-232x300.jpg 232w" sizes="auto, (max-width: 640px) 100vw, 640px" /><figcaption class="wp-element-caption">Intel Engineering Sample, image courtesy @RetroHoosk</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="443" src="https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-1024x443.jpg" alt="" class="wp-image-14990" srcset="https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-1024x443.jpg 1024w, https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-300x130.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-768x332.jpg 768w, https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-1536x665.jpg 1536w, https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-2048x886.jpg 2048w, https://virtuallyfun.com/wp-content/uploads/2022/09/sdv2-500x216.jpg 500w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Intel Engineering Sample, image courtesy @RetroHoosk</figcaption></figure>



<p class="wp-block-paragraph">Later SDV was sold under several OEM branded versions: <a href="https://www.ibm.com/support/pages/overview-ibm-intellistation-z-pro-type-6894">IBM IntelliStation Z Pro 6894</a>, <a href="https://www.openpa.net/systems/hp_i2000.html">HP i2000 Workstation</a>, <a href="https://wiki.irixnet.org/SGI-750">SGI 750</a>, Dell Precision Workstation 730 and Fujitsu-Siemens Celsius 880. They all look alike because all of them were in fact produced by Intel.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="743" height="241" src="https://virtuallyfun.com/wp-content/uploads/2022/10/ItaniumWorkstations-1.png" alt="" class="wp-image-11981" srcset="https://virtuallyfun.com/wp-content/uploads/2022/10/ItaniumWorkstations-1.png 743w, https://virtuallyfun.com/wp-content/uploads/2022/10/ItaniumWorkstations-1-300x97.png 300w, https://virtuallyfun.com/wp-content/uploads/2022/10/ItaniumWorkstations-1-500x162.png 500w" sizes="auto, (max-width: 743px) 100vw, 743px" /><figcaption class="wp-element-caption">Intel Itanium Software Development Vehicle Lineup</figcaption></figure>



<p class="wp-block-paragraph">The IBM Z pro is probably most suitable for running AIX. Finding one of these is no easy task. Luckily I was able to score a working HP i2000. Surprisingly AIX IA64 booted on a first try. The install went smoothly and I was able to log in!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="768" src="https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8331-1024x768-1.jpeg" alt="" class="wp-image-11982" srcset="https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8331-1024x768-1.jpeg 1024w, https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8331-1024x768-1-300x225.jpeg 300w, https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8331-1024x768-1-768x576.jpeg 768w, https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8331-1024x768-1-400x300.jpeg 400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">AIX 5L IA64 on HP i2000 Workstation &#8211; boot loader</figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="768" src="https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8334-1024x768-1.jpeg" alt="" class="wp-image-11983" srcset="https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8334-1024x768-1.jpeg 1024w, https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8334-1024x768-1-300x225.jpeg 300w, https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8334-1024x768-1-768x576.jpeg 768w, https://virtuallyfun.com/wp-content/uploads/2022/10/IMG_8334-1024x768-1-400x300.jpeg 400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">AIX 5L IA64 on HP i2000 Workstation &#8211; logged in</figcaption></figure>



<p class="wp-block-paragraph">The OS feels like a standard AIX 5L. Nothing particularly special about it, except that it runs on Itanium. This <a href="http://osarchive.org/os/aix/5.1ia64/misc/aix5l_differences.pdf">RedBook</a> outlines differences between the Power and IA64 versions. A few most interesting facts are that: Itanium AIX uses ELF object files. There is a new device driver model called UDI (Uniform Device Interface) with it&#8217;s own <a href="http://osarchive.org/os/aix/5.1ia64/ddk.tar.lz">DDK</a>. It came from SCO UnixWare. Also according <a href="http://osarchive.org/os/aix/5.1ia64/misc/aix_itanium_early_adopters.pdf">early adopters guide</a>, AIX5L IA64 introduces JFS2 file system.</p>



<p class="wp-block-paragraph">Initially I was not able to get the onboard NIC working. AIX5L IA64 supports only two network cards:</p>



<pre class="wp-block-code"><code>adapter 23100020 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
adapter ae120200 10/100/1000 Base-T Ethernet PCI Adapter (ae120200)
</code></pre>



<p class="wp-block-paragraph">The <a href="http://osarchive.org/os/aix/5.1ia64/misc/aix_itanium_early_adopters.pdf">AIX Itanium Early Adopters Release Notes</a> mentions a few other cards but I do not see drivers for these in the OS. The doc mentions <em>Extended Hardware Drivers CD</em> which we don&#8217;t have.</p>



<p class="wp-block-paragraph">Luckily again I was able to find a working NIC on eBay!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="740" height="217" src="https://virtuallyfun.com/wp-content/uploads/2022/10/ebaynic.png" alt="" class="wp-image-11991" srcset="https://virtuallyfun.com/wp-content/uploads/2022/10/ebaynic.png 740w, https://virtuallyfun.com/wp-content/uploads/2022/10/ebaynic-300x88.png 300w, https://virtuallyfun.com/wp-content/uploads/2022/10/ebaynic-500x147.png 500w" sizes="auto, (max-width: 740px) 100vw, 740px" /></figure>



<p class="wp-block-paragraph">The system comes with X11 and CDE but so far I was not able to get any GPU working beyond basic text mode. I tried many different video cards from that era but there simply doesn&#8217;t appear to be any driver in the OS except for basic VGA / <a href="https://www.ibm.com/docs/ssw_aix_72/kernelextension/lowfunc_term_subsys.html" data-type="URL" data-id="https://www.ibm.com/docs/ssw_aix_72/kernelextension/lowfunc_term_subsys.html">LFT</a>. I think the key to getting video working is the previously mentioned extended hardware drivers cd.</p>



<p class="wp-block-paragraph">Finally, if you want to read more I have found some interesting pieces on <a href="http://www.ibmfiles.com/pages/aixia64.htm">ibmfiles</a> and various mirrors <a href="http://ftpmirror.your.org/pub/misc/ftp.software.ibm.com/aix/itanium/developer/">here</a> and <a href="http://osarchive.org/os/aix/5.1ia64">here</a>.</p>



<p class="wp-block-paragraph"><strong>Update:</strong> Thanks to efforts of <strong>TRN</strong> we now have a working GCC and <a href="https://github.com/johnsonjh/AIX5-IA64">ports of lots of apps</a>!</p>



<p class="wp-block-paragraph"><strong>Update 2</strong>: After going through a pile of video cards I now have local X11 and CDE!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="768" src="https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-1024x768.jpg" alt="" class="wp-image-12017" srcset="https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-1024x768.jpg 1024w, https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-300x225.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-768x576.jpg 768w, https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-1536x1152.jpg 1536w, https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-2048x1536.jpg 2048w, https://virtuallyfun.com/wp-content/uploads/2022/11/IMG_8777-400x300.jpg 400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">AIX IA64 local X11 with CDE</figcaption></figure>



<p class="wp-block-paragraph">This was the lucky winner:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="716" height="202" src="https://virtuallyfun.com/wp-content/uploads/2022/11/Screen-Shot-2022-10-31-at-4.39.14-PM.png" alt="" class="wp-image-12018" srcset="https://virtuallyfun.com/wp-content/uploads/2022/11/Screen-Shot-2022-10-31-at-4.39.14-PM.png 716w, https://virtuallyfun.com/wp-content/uploads/2022/11/Screen-Shot-2022-10-31-at-4.39.14-PM-300x85.png 300w, https://virtuallyfun.com/wp-content/uploads/2022/11/Screen-Shot-2022-10-31-at-4.39.14-PM-500x141.png 500w" sizes="auto, (max-width: 716px) 100vw, 716px" /></figure>



<p class="wp-block-paragraph"><strong>Update 3</strong>: SimCity is <a href="https://github.com/tenox7/micropolis/releases/download/1.0.0/sim-aix5ia64">now available</a> for AIX IA64! You will also need other stuff mentioned <a href="https://virtuallyfun.com/2024/08/08/dux-simcity-unix-aka-micropolis-on-irix-6-5-and-aix-4-3/" data-type="post" data-id="14763">here</a>.</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2022/09/24/ibm-aix-for-ia64-itanium-aka-project-monterey-runs-again/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>2,000 monthly downloads!</title>
		<link>https://virtuallyfun.com/2022/03/03/2000-monthly-downloads/</link>
					<comments>https://virtuallyfun.com/2022/03/03/2000-monthly-downloads/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Thu, 03 Mar 2022 02:50:01 +0000</pubDate>
				<category><![CDATA[4 BSD]]></category>
		<category><![CDATA[4.3 BSD]]></category>
		<category><![CDATA[SIMH]]></category>
		<category><![CDATA[sourceforge]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=11776</guid>

					<description><![CDATA[Well this is a bit ambiguous. As Im waking up to check emails I get this notice: Congratulations! Ancient UNIX/BSD emulation on Windows has just been recognized with the following awards by SourceForge: Community ChoiceSourceForge Favorite These honors are awarded &#8230; <a href="https://virtuallyfun.com/2022/03/03/2000-monthly-downloads/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Well this is a bit ambiguous.  As Im waking up to check emails I get this notice:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Congratulations! Ancient UNIX/BSD emulation on Windows has just been recognized with the following awards by SourceForge:<br><br>Community Choice<br>SourceForge Favorite<br><br>These honors are awarded only to select projects that have reached significant milestones in terms of downloads and user engagement from the SourceForge community.<br><br>This is a big achievement, as your project has qualified for these awards out of over 500,000 open source projects on SourceForge. SourceForge sees nearly 30 million users per month looking for, and developing, open source software. These award badges will now appear on your project page, and the award assets can be found in your project admin section.</p><cite>-sourceforge email</cite></blockquote>



<p class="wp-block-paragraph">So yeah, and here we are:</p>



<!-- Begin SF Tag -->
<div class="sf-root" data-id="204974" data-badge="oss-sf-favorite-white" data-metadata="achievement=oss-sf-favorite" style="width:125px">
    <a href="https://sourceforge.net/projects/bsd42/" target="_blank" rel="noopener">Ancient UNIX/BSD emulation on Windows</a>
</div>
<script>(function () {var sc=document.createElement('script');sc.type='text/javascript';sc.async=true;sc.src='https://b.sf-syn.com/badge_js?sf_id=204974';var p=document.getElementsByTagName('script')[0];p.parentNode.insertBefore(sc, p);})();
</script>
<!-- End SF Tag -->



<p class="wp-block-paragraph">Nothing like standing on the backs of giants!</p>



<p class="wp-block-paragraph">Naturally ready to run favorites include:</p>



<ul class="wp-block-list"><li><a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.4/386BSD-0.1.exe/download" target="_blank">386 BSD 0.1</a></li><li><a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.4/4.3BSD-Uwisc-install-0.4.exe/download" target="_blank">4.3BSD UWISC</a></li><li><a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/4BSD%20under%20Windows/v0.4/Mach86.zip/download" target="_blank">Mach &#8216;1986 (VAX)</a></li></ul>



<p class="wp-block-paragraph">And of course for the DIY enthusiasts:</p>



<ul class="wp-block-list"><li><a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Install%20tapes/Research%20Unix/Unix-v7-Keith-Bostic.tap.bz2/download" target="_blank">Unix v7 Research Unix Bostic tape</a></li><li><a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Install%20tapes/UTX/2.1b/UTX32_2.1b.7z/download" target="_blank">UTX 32.2 1B tape</a></li><li><a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Install%20tapes/4.3%20BSD%20Quasijarus%200c/4.3BSD-Quasijarus0c.tap.bz2/download" target="_blank">4.3BSD </a><a href="https://sourceforge.net/projects/bsd42/files/Install%20tapes/4.3%20BSD%20Quasijarus%200c/4.3BSD-Quasijarus0c.tap.bz2/download" target="_blank" rel="noreferrer noopener">Quasijarus</a> <a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Install%20tapes/4.3%20BSD%20Quasijarus%200c/4.3BSD-Quasijarus0c.tap.bz2/download" target="_blank">0.c</a></li></ul>



<p class="wp-block-paragraph">Honorable mention goes to the <a href="http://gunkies.org/wiki/4.3_BSD_NFS_Wisconsin_Unix" target="_blank" rel="noreferrer noopener">4.3BSD UWISC</a> enthusiast that downloaded <a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Package%20Tapes/4.3%20BSD%20Uwisc/Apache-1.3.6.compiled.BSD-4.3.Uwisc.tap.bz2/download" target="_blank">Apache</a>, <a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Package%20Tapes/4.3%20BSD%20Uwisc/AberMUD-2.BSD-4.3.Uwisc.tap.bz2/download" target="_blank">AberMUD</a>, and <a rel="noreferrer noopener" href="https://sourceforge.net/projects/bsd42/files/Package%20Tapes/4.3%20BSD%20Uwisc/lynx-2.8.2.binary.BSD-4.3.Uwisc.tap.bz2/download" target="_blank">lynx</a>!.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2022/03/03/2000-monthly-downloads/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Undocumented Madness &#8211; 2.9BSD on XHomer</title>
		<link>https://virtuallyfun.com/2021/12/30/undocumented-madness-2-9bsd-on-xhomer/</link>
					<comments>https://virtuallyfun.com/2021/12/30/undocumented-madness-2-9bsd-on-xhomer/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Thu, 30 Dec 2021 20:35:10 +0000</pubDate>
				<category><![CDATA[DEC]]></category>
		<category><![CDATA[guest post]]></category>
		<category><![CDATA[pdp11]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=11674</guid>

					<description><![CDATA[This is a guest post by Seal331 Since I&#8217;ve been dealing with XHomer a lot lately in order to get the two dumped VENIX/PRO versions to work, I noticed that the XHomer documentation mentions a thing called &#8220;maintenance mode&#8221; and &#8230; <a href="https://virtuallyfun.com/2021/12/30/undocumented-madness-2-9bsd-on-xhomer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>This is a guest post by Seal331</em></p>



<p class="wp-block-paragraph">Since I&#8217;ve been dealing with XHomer a lot lately in order to get the two dumped VENIX/PRO versions to work, I noticed that the XHomer documentation mentions a thing called &#8220;maintenance mode&#8221; and the DEC Pro port of 2.9BSD, so I was interested.</p>



<p class="wp-block-paragraph">After doing a bit of searching around I found some install notes on www.frijid.net from real hardware, so I decided to adapt these notes for XHomer and install it. TL;DR &#8211; I did it, here I&#8217;m explaining all this stuff.</p>



<h2 class="wp-block-heading">Step 1 &#8211; Acquiring XHomer</h2>



<p class="wp-block-paragraph">XHomer is a DEC Pro 350 emulator that can run P/OS, Venix, 2.9BSD and possibly RT-11, but I didn&#8217;t get to installing the last one yet. There is a statically linked binary but, since I&#8217;m a Gentoo Linux person (but I didn&#8217;t use Gentoo for this particular install)and prefer compiling everything I can, I grabbed the source code (https://xhomer.isani.org/xhomer/xhomer-9-16-06.tgz) and quickly compiled it on my Linux box. It was pretty simple, just install a development toolchain (build-essential on Debian based systems), the libX11 development package (libx11-dev on Debian based systems) and the XShm extension which is included in libxext-dev on Debian based systems. During make it spit out a bunch of warnings but I got a working xhomer binary. Also it kind of messes the xterm settings a bit after being closed, so I&#8217;d recommend running it in a separate xterm window. Since there&#8217;s no install target in the Makefile I just copied the xhomer binary to /usr/bin, and that was it. From here on, I will assume that the XHomer binary is called xhomer and is somewhere in your PATH, if not just modify the way I run XHomer.</p>



<h2 class="wp-block-heading">Step 2 &#8211; Acquiring the distribution</h2>



<p class="wp-block-paragraph">Thanks to the people at the same www.frijid.net site I mentioned earlier, I was able to easily piece together a distribution set. Since we don&#8217;t really rely on how many physical floppies we have with an emulator, I grabbed the recommended root disk set and the 15 disk usr set with the source code, although we won&#8217;t be compiling the kernel in this post. Maybe next one? We&#8217;ll see.</p>



<p class="wp-block-paragraph">The site with the floppies is http://www.frijid.net/download/pro350/bsd/raw/ and here&#8217;s what I used for my install:</p>



<pre class="wp-block-preformatted">box#0/maintenance0.img<br>box#1/usr+k00.img<br>box#1/usr+k01.img<br>box#1/usr+k02.img<br>box#1/usr+k03.img<br>box#1/usr+k04.img<br>box#1/usr+k05.img<br>box#1/usr+k06.img<br>box#1/usr+k07.img<br>box#1/usr+k08.img<br>box#1/usr+k09.img<br>box#1/usr+k10.img<br>box#2/usr+k11.img<br>box#2/usr+k12.img<br>box#2/usr+k13.img<br>box#2/usr+k14.img<br>box#2/usr+k15.img<br>box#2/root1.img<br>box#2/root2.img<br>box#2/root3.img<br>box#2/root4.img<br>box#2/root5.img</pre>



<p class="wp-block-paragraph">The 3 disk usr set in box#2/ doesn&#8217;t include the source, so I didn&#8217;t grab it.<br>The maintenance disks are all the same, so I just grabbed the one in box#0/.<br>The 6 disk root set in box#0/ does include some extra dev files and something that appear to be leftovers from the development DEC Pro, but it&#8217;s missing /bin/ed and /bin/passwd, so I suggest using the 5 disk set instead.</p>



<p class="wp-block-paragraph">There is also box#2/procomm.img which was labeled as containing &#8220;PRO/COMM terminal emulation&#8221; but when I mounted it to install, there was only an empty lost+found directory. Perhaps the original disk had gone bad over the years or someone accidentally reformatted it? We may never know.</p>



<h2 class="wp-block-heading">Step 3 &#8211; XHomer configuration &amp; serial port preparation</h2>



<p class="wp-block-paragraph">Since the maintenance (install) floppy uses a serial terminal interface over the printer port and XHomer only allows us to send its output over serial, I had to do some searching again since most PCs nowadays don&#8217;t have a serial port to use. Thanks to cantoni over at StackOverflow I managed to find instructions for using socat in order to generate a pty, which actually worked for me. At first you need to install socat (bruh) and then run &#8220;socat -d -d pty,raw,echo=0 pty,raw,echo=0&#8221;. Something like this will be printed out on the terminal:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="760" height="96" src="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-1-1.jpg" alt="" class="wp-image-11680" srcset="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-1-1.jpg 760w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-1-1-300x38.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-1-1-500x63.jpg 500w" sizes="auto, (max-width: 760px) 100vw, 760px" /></figure>



<p class="wp-block-paragraph">Then we do a quick test. I use putty to connect to the pty&#8217;s output, in my case it&#8217;s /dev/pts/3. Just use the default settings for serial connection with speed 9600 and the device as /dev/pts/3. If everything goes well, you will get a blank putty terminal window. Don&#8217;t panic, the fact it&#8217;s blank is normal.</p>



<p class="wp-block-paragraph">Let&#8217;s test if our serial port works. Echo something in the pty&#8217;s input, in my case it&#8217;s /dev/pts/4. For example, &#8220;echo &#8220;Test&#8221; &gt; /dev/pts/4&#8243;. If the word &#8220;Test&#8221; appears on the screen, congratulations, you have successfully set up the pty to a point where BSD will happily talk to it when we set up the connection later. !! DO NOT CLOSE THE PUTTY WINDOW AT ANY POINT DURING THE INSTALL UNTIL WE NO LONGER NEED IT (at the initial hd boot) !!</p>



<p class="wp-block-paragraph">Now we configure XHomer. At first, let&#8217;s make a disk image. BSD only supports RD51 or RD50, we&#8217;ll use RD51 as it&#8217;s slightly bigger. If you get the hard disk wrong, BSD will silently hang at boot. Here&#8217;s the command to make a 10MB RD51 disk image for use with XHomer:</p>



<pre class="wp-block-preformatted">dd if=/dev/zero of=29bsd.rd bs=10027008 count=1</pre>



<p class="wp-block-paragraph">Let&#8217;s make the XHomer config file. Note that everything after the symbol | including the symbol itself does not need to be inputed, it&#8217;s just my notes.</p>



<pre class="wp-block-preformatted">screen = window | make the emulator window mode<br>window_position = 0, 0<br>window_scale = 2<br>full_scale = 3<br>screen_gamma = 10<br>pcm = on<br>framebuffers = 0<br>serial0 = /dev/pts/4 | change to your needs, pty input<br>la50 = null<br>la50_dpi = 300<br>kb = lk201<br>ptr = serial0 | DO NOT CHANGE, we'll replace it later when we no longer need serial<br>com = null<br>rd_dir = ./<br>rx_dir = ./<br>rd0 = 29bsd.rd, 4, 306, 16 | change if not using suggested disk<br>force_year = 99 | fix y2k bugs by forcing year to 1999<br>maint_mode = on | DO NOT CHANGE, bsd install uses maintenance mode for terminal<br>int_throttle = off | random workarounds for clocks or older linux systems, we don't need this on new stuff<br>nine_workaround = off<br>libc_workaround = off<br>lp_workaround = off</pre>



<p class="wp-block-paragraph">Save the file as xhomer.cfg.</p>



<p class="wp-block-paragraph">Now run the xhomer binary. If everything goes right, you should have something like this on your screen:</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="340" src="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1-1024x340.jpg" alt="" class="wp-image-11679" srcset="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1-1024x340.jpg 1024w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1-300x100.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1-768x255.jpg 768w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1-1536x510.jpg 1536w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1-500x166.jpg 500w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-2-1.jpg 1581w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">If you didn&#8217;t run the test documented above or changed the string, the &#8220;Test&#8221; string will not be in the terminal or will be some other text, this is all okay.</p>



<h2 class="wp-block-heading">Step 4 &#8211; BSD install</h2>



<p class="wp-block-paragraph">In order to feed floppies to XHomer, you have to use the XHomer control menu. In order to get to it, press Ctrl+F1 when the emulator window has focus. The two floppy drives we need are rx0: and rx1:, these are equivalents of A: and B: in DOS. Insert the maintenance0.img disk in rx0. If all goes okay, the floppy disk picture should disappear from the display window, leaving just the DIGITAL logo. The putty window should then display something like this:</p>



<pre class="wp-block-preformatted">40Boot<br>:</pre>



<p class="wp-block-paragraph">(all following input is in the terminal unless otherwise stated)</p>



<p class="wp-block-paragraph">If all is okay, congratulations, you have booted from the installation diskette. Now type the following in the putty window after the : symbol:</p>



<pre class="wp-block-preformatted">r5(0,0)rdfmt</pre>



<p class="wp-block-paragraph">Then, if you inserted an RD51 10MB disk in the emulator as suggested, type 0 when asked for drive type. If you inserted the 5MB RD50 instead, type 1. If you don&#8217;t know the exact disk sizes and types, refer to the XHomer documentation, specifically the Emulated Hard Disk part. The formatting shouldn&#8217;t take long, then it will dump you back in the 40Boot prompt. Now you need to boot the UNIX kernel, type this in the putty window:</p>



<pre class="wp-block-preformatted">r5(0,0)unix</pre>



<p class="wp-block-paragraph">If everything goes okay, you should have something like this now:</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="331" src="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1-1024x331.jpg" alt="" class="wp-image-11681" srcset="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1-1024x331.jpg 1024w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1-300x97.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1-768x249.jpg 768w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1-1536x497.jpg 1536w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1-500x162.jpg 500w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-3-1.jpg 1662w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">If you get a boot hang instead (like me), restart both XHomer and putty, connect putty back to the pty, then in XHome insert the maintenance0 floppy back and boot the UNIX kernel again. DO NOT FORMAT THE DRIVE AGAIN!!</p>



<h2 class="wp-block-heading">Install time!</h2>



<p class="wp-block-paragraph">At first, create the root filesystem by running:</p>



<pre class="wp-block-preformatted">/etc/mkfs /dev/rrd0a 2240</pre>



<p class="wp-block-paragraph">Then insert the root1 disk in the 2nd floppy drive (rx1) and restore the root filesystem dump from the 5 root set floppies:</p>



<pre class="wp-block-preformatted">restor rf /dev/rr51 /dev/rrd0a</pre>



<p class="wp-block-paragraph">When it says &#8220;Last chance before scribbling on /dev/rrd0a.&#8221; just press Enter.<br>When it says &#8220;Mount volume N&#8221;, just insert the right floppy and press Enter. Volume number == floppy number in this case.</p>



<p class="wp-block-paragraph">After the &#8220;end of tape&#8221; message, verify the rootfs:</p>



<pre class="wp-block-preformatted">/etc/fsck /dev/rrd0a</pre>



<p class="wp-block-paragraph">If it succeeds, create the usr filesystem by running:</p>



<pre class="wp-block-preformatted">/etc/mkfs /dev/rrd0c 6528</pre>



<p class="wp-block-paragraph">Then insert the usr+k00 disk in the 2nd floppy drive (rx1) and restore the usr filesystem dump from the 16 usr set floppies:</p>



<pre class="wp-block-preformatted">restor rf /dev/rr51 /dev/rrd0c</pre>



<p class="wp-block-paragraph">When it says &#8220;Last chance before scribbling on /dev/rrd0c.&#8221; just press Enter.<br>When it says &#8220;Mount volume N&#8221;, just insert the right floppy and press Enter. Floppy number == volume number &#8211; 1 in this case.</p>



<p class="wp-block-paragraph">After the &#8220;end of tape&#8221; message, verify the usr fs:</p>



<pre class="wp-block-preformatted">/etc/fsck /dev/rrd0c</pre>



<p class="wp-block-paragraph">(all following input is in on the Pro display unless otherwise stated)</p>



<p class="wp-block-paragraph">If everything is okay, run sync two times and shut down the emulator. Restart it with only the maintenance floppy in rx0, then type this in the terminal (NOT the Pro display):</p>



<pre class="wp-block-preformatted">rd(0,64)unix</pre>



<p class="wp-block-paragraph">This should boot up Berkeley UNIX (BSD). We&#8217;re not done yet, but it&#8217;s close.</p>



<p class="wp-block-paragraph">Type the following to install the hard disk bootblock:</p>



<pre class="wp-block-preformatted">dd if=/rdboot of=/dev/rrd0h count=17</pre>



<p class="wp-block-paragraph">If everything goes okay, set the root password:</p>



<pre class="wp-block-preformatted">passwd root</pre>



<p class="wp-block-paragraph">Congratulations, you have successfully installed 2.9BSD. Here are the cleanup and hdboot prep stuff:</p>



<p class="wp-block-paragraph">Bring the OS to single user mode:</p>



<pre class="wp-block-preformatted">shutdown +1</pre>



<p class="wp-block-paragraph">(you can close putty now)</p>



<p class="wp-block-paragraph">Then run sync two times and shut down the emulator.</p>



<h2 class="wp-block-heading">Step 5 &#8211; Booting the OS</h2>



<p class="wp-block-paragraph">In order to boot the OS, you need to do the following:</p>



<p class="wp-block-paragraph">Open the xhomer.cfg file;</p>



<p class="wp-block-paragraph">Remove the serial0 = line;</p>



<p class="wp-block-paragraph">Change the ptr = serial0 line to ptr = null;</p>



<p class="wp-block-paragraph">Change the maint_mode = on to maint_mode = off.</p>



<p class="wp-block-paragraph">Then save, after running XHomer you should be able to just log in.</p>



<p class="wp-block-paragraph">Congratulations, you have successfully installed 2.9BSD for the DEC Pro 350! Sadly it&#8217;s pretty unstable, and due to emulation issues in XHomer vi completely crashes BSD, but there&#8217;s always ed <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="495" src="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-4-1-1024x495.jpg" alt="" class="wp-image-11682" srcset="https://virtuallyfun.com/wp-content/uploads/2021/12/picture-4-1-1024x495.jpg 1024w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-4-1-300x145.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-4-1-768x371.jpg 768w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-4-1-500x242.jpg 500w, https://virtuallyfun.com/wp-content/uploads/2021/12/picture-4-1.jpg 1035w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">Appendix A &#8211; Transferring Files</h2>



<p class="wp-block-paragraph">In order to transfer the files (up to 400KB per file) you will need some additional utilities. Here&#8217;s a guide on how to install them:</p>



<p class="wp-block-paragraph">(the following steps are done on the Linux host side)</p>



<ol class="wp-block-list"><li>Grab the following files:</li></ol>



<p class="wp-block-paragraph"><a href="https://xhomer.isani.org/xhomer/BSD/f2rx" target="_blank" rel="noreferrer noopener">https://xhomer.isani.org/xhomer/BSD/f2rx<br></a><a href="https://xhomer.isani.org/xhomer/BSD/rx2f.c" target="_blank" rel="noreferrer noopener">https://xhomer.isani.org/xhomer/BSD/rx2f.c<br></a><a href="https://xhomer.isani.org/xhomer/BSD/lbn2xhomer.c" target="_blank" rel="noreferrer noopener">https://xhomer.isani.org/xhomer/BSD/lbn2xhomer.c</a></p>



<ol class="wp-block-list" start="2"><li>Apply the following patch to lbn2xhomer.c:</li></ol>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<pre class="wp-block-preformatted">--- lbn2xhomer.c   2015-07-05 07:51:19.000000000 +0300
+++ lbn2xhomer.c        2021-12-30 17:13:28.539768500 +0300
@@ -25,6 +25,7 @@

 #include &lt;string.h>
 #include &lt;stdio.h>
+#include &lt;stdlib.h>

 #define SECSIZE                512
 #define SECTORS                10
@@ -66,7 +67,7 @@
   if (fptr_v == NULL)
   {
     printf("Unable to open %s\n", argv[1]);
-    exit();
+    exit(1);
   }

   fptr_x = fopen(argv[2], "w");</pre>
</div></div>
</div></div>



<ol class="wp-block-list"><li>Compile lbn2xhomer:</li></ol>



<pre class="wp-block-preformatted">cc -o lbn2xhomer lbn2xhomer.c</pre>



<ol class="wp-block-list" start="4"><li>Set up f2rx for operation:</li></ol>



<pre class="wp-block-preformatted">chmod +x f2rx</pre>



<ol class="wp-block-list" start="5"><li>Make a floppy image with the BSD side utility:</li></ol>



<pre class="wp-block-preformatted">./f2rx rx2f.c</pre>



<ol class="wp-block-list" start="6"><li>Run XHomer and attach the generated rx2f.c.dsk to rx0</li></ol>



<p class="wp-block-paragraph">(the following steps are done on the BSD side)</p>



<ol class="wp-block-list" start="7"><li>Grab the file from the floppy:</li></ol>



<pre class="wp-block-preformatted">dd if=/dev/r50 of=rx2f.c skip=18 bs=1 count=891</pre>



<ol class="wp-block-list" start="8"><li>Compile the utility:</li></ol>



<pre class="wp-block-preformatted">cc -o rx2f rx2f.c</pre>



<p class="wp-block-paragraph">You&#8217;re now ready to transfer files.</p>



<p class="wp-block-paragraph">Short file transfer handbook:</p>



<ol class="wp-block-list"><li>Run f2rx FILE on the host box, FILE being the file to use;</li><li>Insert FILE.dsk into rx0 on XHomer;</li><li>Run rx2f on the BSD side.</li></ol>



<h2 class="wp-block-heading">Appendix B &#8211; Init: no more children issue workaround</h2>



<p class="wp-block-paragraph">On some hosts, programs from the install floppy may randomly die with the &#8220;no more children&#8221; message. A workaround is to disable RTC mode and enable IOTRACE mode in the XHomer Makefile and recompile, leading to a much more slower (due to accurate timing) and working XHomer. After the installation, you can revert to normal settings and it should work, as the programs installed on the hard drive to not appear to suffer from the same issue.</p>



<h2 class="wp-block-heading">Appendix C &#8211; Sequels</h2>



<p class="wp-block-paragraph">Possibly coming soon to VirtuallyFun:</p>



<p class="wp-block-paragraph">Undocumented Madness 2 &#8211; Big hard drives on 2.9BSD XHomer<br>Undocumented Madness 3 &#8211; Custom Kernel on 2.9BSD XHomer</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2021/12/30/undocumented-madness-2-9bsd-on-xhomer/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
