<?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>Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Tue, 02 Jun 2026 09:05:48 +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>Pinball on 64-bit Alpha AXP Windows NT</title>
		<link>https://virtuallyfun.com/2026/06/02/pinball-on-64-bit-alpha-axp-windows-nt/</link>
					<comments>https://virtuallyfun.com/2026/06/02/pinball-on-64-bit-alpha-axp-windows-nt/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 02 Jun 2026 06:54:42 +0000</pubDate>
				<category><![CDATA[assembly]]></category>
		<category><![CDATA[DEC Alpha]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[guest post]]></category>
		<category><![CDATA[microsoft windows]]></category>
		<category><![CDATA[Windows XP]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15787</guid>

					<description><![CDATA[This is a guest post from Yufeng Gao One of the most popular OS built-in games is no doubt&#160;Pinball, known by its full name&#160;3D Pinball for Windows – Space Cadet. It started out as&#160;Full Tilt! Pinball, developed by&#160;Cinematronics&#160;and published by&#160;Maxis. &#8230; <a href="https://virtuallyfun.com/2026/06/02/pinball-on-64-bit-alpha-axp-windows-nt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>This is a guest post from <a href="https://thebrokenpipe.com/blog/author/brokenpipe/">Yufeng Gao</a></em></p>



<p class="wp-block-paragraph">One of the most popular OS built-in games is no doubt&nbsp;<a href="https://en.wikipedia.org/wiki/Full_Tilt!_Pinball#3D_Pinball_for_Windows_%E2%80%93_Space_Cadet">Pinball</a>, known by its full name&nbsp;<em>3D Pinball for Windows – Space Cadet</em>. It started out as&nbsp;<em>Full Tilt! Pinball</em>, developed by&nbsp;<a href="https://en.wikipedia.org/wiki/Cinematronics,_LLC">Cinematronics</a>&nbsp;and published by&nbsp;<a href="https://en.wikipedia.org/wiki/Maxis">Maxis</a>. It offered 3 tables, and one of them, Space Cadet, was licensed to Microsoft to be included in Microsoft Plus! 95 and, later, built into the Windows operating system.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/pinball_gameplay.gif"><img fetchpriority="high" decoding="async" width="642" height="492" src="https://virtuallyfun.com/wp-content/uploads/2026/06/pinball_gameplay.gif" alt="" class="wp-image-15800"/></a></figure>



<p class="wp-block-paragraph">Windows XP was the last version of Windows to include Pinball, and Raymond Chen&nbsp;<a href="https://devblogs.microsoft.com/oldnewthing/20121218-00/?p=5803">explained why it didn’t make it to Windows Vista</a>&nbsp;on his blog. The reason was it had a collision detector bug when it was compiled for 64-bit Windows, which caused the ball to pass through various objects – falling off the screen through the plunger instead of being launched, for instance. The bug rendered the game unplayable, and Raymond and his colleague were unable to find a fix in a reasonable amount of time, so he removed it. At least that’s the story we were told, for about a decade.</p>



<p class="wp-block-paragraph">In 2021,&nbsp;<a href="https://www.youtube.com/c/NCommander">NCommander</a>&nbsp;launched&nbsp;<a href="https://www.youtube.com/watch?v=3EPTfOTC4Jw">a series of investigations</a>&nbsp;to challenge that, testing Pinball on various 64-bit (IA-64 and AMD64) builds of Windows XP and pre-release Vista. He found that the 64-bit versions of Pinball were all highly playable, with only very minor glitches, and speculated that the reason for its removal was that the UI did not fit into the Windows Vista design.</p>



<p class="wp-block-paragraph">Not long after NCommander published his video, Raymond followed up with a&nbsp;<a href="https://devblogs.microsoft.com/oldnewthing/20220106-00/?p=106122">post that filled in some gaps</a>&nbsp;in the story and shed more light on the bug. He said it was the 64-bit Alpha AXP version of Pinball that had the extremely bad collision detection bug. This claim had been unverifiable for the past 5 years, for the following reasons:</p>



<ul class="wp-block-list">
<li>No 64-bit Windows was ever released for the Alpha AXP – Compaq killed Windows NT support before NT was ported to 64-bit</li>



<li>One 64-bit Alpha AXP NT build was leaked in 2023, but the included Pinball does not work, as it segfaults immediately upon running</li>
</ul>



<p class="wp-block-paragraph">I’ve had an interest in the DEC Alpha for quite some time now, mainly out of my love for DEC architectures and my love for UNIX. VAX is the direct successor of PDP-11, and Alpha is the direct successor of VAX. Earlier, some Alpha emulation breakthroughs dropped, and I was pinged by a few friends that NT 4.0 could now run on a&nbsp;<a href="https://github.com/ES40-Emu/es40/">fork of the ES40 emulator</a>, as well as on&nbsp;<a href="https://github.com/TheBrokenPipe/qemu/tree/alphafix">QEMU</a>. I never thought Alpha NT would ever run under emulation, because unlike the familiar Tru64, Linux and the BSDs, NT uses its own custom PALcode and depends on ARC (Advanced RISC Computing) instead of SRM. Of course, people noted that the emulators couldn’t run the holy grail of Alpha NT – Windows (XP?) build 2210, because its kernel would panic with a memory management error in QEMU, or wouldn’t detect the keyboard and bug out in ES40. A few trips to hell in the symbol-less NT kernel and a few MMU emulation fixes later, I was able to patch up both QEMU and ES40 to boot that only surviving 64-bit build of Alpha NT.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-1.png"><img decoding="async" width="923" height="728" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-1.png" alt="" class="wp-image-15789" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-1.png 923w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-1-300x237.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-1-768x606.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-1-380x300.png 380w" sizes="(max-width: 923px) 100vw, 923px" /></a></figure>



<p class="wp-block-paragraph">After torturing my brain debugging a symbol-less NT kernel without a kernel debugger, I thought I’d give fixing Pinball a go, to make things worthwhile. One of the benefits of debugging a userland process is that, while there’s still no debugger, there is&nbsp;<a href="https://en.wikipedia.org/wiki/Dr._Watson_(debugger)">Dr. Watson</a>, which takes core dumps and performs simple post-mortems. Something is better than nothing, as people would say.</p>



<p class="wp-block-paragraph">Running Pinball gives the classic crash symptom immediately, with no graphics drawn:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-2.png"><img decoding="async" width="427" height="172" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-2.png" alt="" class="wp-image-15790" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-2.png 427w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-2-300x121.png 300w" sizes="(max-width: 427px) 100vw, 427px" /></a></figure>
</div>


<p class="wp-block-paragraph">Dr. Watson concludes that it died of a segfault:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-3.png"><img loading="lazy" decoding="async" width="358" height="481" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-3.png" alt="" class="wp-image-15791" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-3.png 358w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-3-223x300.png 223w" sizes="auto, (max-width: 358px) 100vw, 358px" /></a></figure>
</div>


<p class="wp-block-paragraph">It gave a nice dump of registers at the time of the fault:</p>



<pre class="wp-block-code"><code>State Dump for Thread Id 0x124

  v0=01002930 00000000   t0=00000000 00360000   t1=00000000 00000001
  t2=00000000 00360000   t3=00000000 00000000   t4=00000000 00000000
  t5=00000000 0000011c   t6=000003ff fff8f868   t7=00000000 00303030
  s0=000003ff fff8fac0   s1=01002930 00000000   s2=000003ff fff8fad8
  s3=00000000 00000000   s4=00000000 0106f2a8   s5=00000000 01000000
  fp=00000000 00000010   a0=01002930 00000000   a1=00000000 00000000
  a2=000003ff fff8fad8   a3=00000000 30010000   a4=00000000 69e17610
  a5=00000000 69e0a360   t8=000003ff fff8f868   t9=00000000 00000000
 t10=00000000 00300000  t11=00000000 00000002   ra=00000000 69e9d5c0
 t12=00000000 6a264710   at=ffffffff fffffe10   gp=00000000 00000000
  sp=000003ff fff8fa50 zero=00000000 00000000 fpcr=08000000 00000000
SoftFpcr=00000000 00000000  fir=6a264710
 psr=00000003
mode=1 ie=1 irql=0 </code></pre>



<p class="wp-block-paragraph">Some disassembly around the faulting instruction:</p>



<pre class="wp-block-code"><code>function: Otsstrlen
FAULT -&gt;00000000'6a264710: 2f700000 ldq_u t12,0(a0)
        00000000'6a264714: 239fffff lda at,-1(zero)
        00000000'6a264718: 4b90065c mskql at,a0,at
        00000000'6a26471c: 4600f000 and a0,#7,v0
        00000000'6a264720: 477c041b bis t12,at,t12
        00000000'6a264724: 43fb01fb cmpbge zero,t12,t12
        00000000'6a264728: 43e00520 subq zero,v0,v0
        00000000'6a26472c: f7600005 bne t12,00000000'6a264744 Otsstrlen+00000034
        00000000'6a264730: 2f700008 ldq_u t12,8(a0)
        00000000'6a264734: 42011410 addq a0,#8,a0
        00000000'6a264738: 40011400 addq v0,#8,v0
        00000000'6a26473c: 43fb01fb cmpbge zero,t12,t12</code></pre>



<p class="wp-block-paragraph">And a very useful stack backtrace:</p>



<pre class="wp-block-code"><code>*----&gt; Stack Back Trace &lt;----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
000003FFFFF8FA50 0000000069E9D5BC 0100293000000000 0000000000000000 000003FFFFF8FAD8 0000000030010000 !Otsstrlen 
000003FFFFF8FA50 0000000069E9DB64 0100293000000000 0000000000000000 000003FFFFF8FAD8 0000000030010000 !PostThreadMessageA 
000003FFFFF8FA90 0000000069E9C000 0100293000000000 0000000000000000 000003FFFFF8FAD8 0000000030010000 !SetClassLongA 
000003FFFFF8FB80 000000000100F914 000003FFFFF8FC58 0000000000000000 000003FFFFF8FAD8 0000000030010000 !RegisterClassA 
000003FFFFF8FBF0 0000000001012A1C 0000000001000000 0000000001002DC8 000003FFFFF8FAD8 0000000030010000 !&lt;nosymbols&gt; 
000003FFFFF8FCA0 0000000001064B0C 0000000001000000 0000000001002DC8 000003FFFFF8FAD8 0000000030010000 !&lt;nosymbols&gt; 
000003FFFFF8FED0 0000000068948C50 0000000001000000 0000000001002DC8 000003FFFFF8FAD8 0000000030010000 !&lt;nosymbols&gt; 
000003FFFFF8FFC0 0000000000000000 0000000001064800 0000000001002DC8 000003FFFFF8FAD8 0000000030010000 !BaseProcessStart </code></pre>



<p class="wp-block-paragraph">Ok, so it died inside&nbsp;<code>RegisterClassA</code>, a critical Win32 API function. That API function couldn’t have been the culprit, because if it were bugged, no GUI Win32 program would run at all. This means the only possible source of the error is its sole argument – a pointer to a&nbsp;<code>WNDCLASSA</code>&nbsp;struct. Needless to say, the pointer itself was valid, otherwise the API would’ve detected the invalid argument, or the segfault would’ve happened a lot sooner.</p>



<p class="wp-block-paragraph">From the stack trace, the return address of&nbsp;<code>RegisterClassA</code>&nbsp;was&nbsp;<code>0x100F914</code>, inside the function&nbsp;<code>splash_screen</code>. A quick disassembly of the instructions preceding that address shows a&nbsp;<code>WNDCLASSA</code>&nbsp;structure being built with the following layout:</p>



<pre class="wp-block-code"><code>00000000 u32 style         = 0
00000004 u64 lpfnWndProc   = splash_message_handler (0x100FE40)
0000000C u32 cbClsExtra    = 0
00000010 u32 cbWndExtra    = 8
00000014 u64 hInstance     = *0x106AE30
0000001C u64 hIcon         = NULL
00000024 u64 hCursor       = LoadCursorA(NULL, IDC_ARROW)
0000002C u64 hbrBackground = NULL
00000034 u64 lpszMenuName  = "" (0x1002710)
0000003C u64 lpszClassName = "3DPB_SPLASH_CLASS" (0x1002930)</code></pre>



<p class="wp-block-paragraph">Right off the bat, I noticed something wrong – the field alignment. It is a general requirement that fields be aligned to their size, as in 8-bit fields should be byte-aligned, 16-bit fields should be 16-bit (2-byte) aligned, 32-bit fields should be 32-bit (4-byte) aligned, and 64-bit fields should be 64-bit (8-byte) aligned. If you look at the offsets of the fields above, the 32-bit ones are indeed 4-byte aligned, but the 64-bit ones are not. At the start, we have a 32-bit&nbsp;<code>style</code>&nbsp;field followed by a 64-bit&nbsp;<code>lpfnWndProc</code>, and to satisfy the alignment requirements, a 4-byte padding should be inserted between&nbsp;<code>style</code>&nbsp;and&nbsp;<code>lpfnWndProc</code>&nbsp;to ensure that&nbsp;<code>lpfnWndProc</code>&nbsp;starts on an 8-byte boundary.&nbsp;<code>RegisterClassA</code>&nbsp;was expecting this padding, but Pinball lacked it, so it read data from the wrong offset and crashed.</p>



<p class="wp-block-paragraph">To fix this, I simply bumped the offset of each field after&nbsp;<code>style</code>&nbsp;up by 4 bytes.</p>



<pre class="wp-block-code"><code> 00000000 u32 style         = 0
-00000004 u64 lpfnWndProc   = splash_message_handler (0x100FE40)
+00000008 u64 lpfnWndProc   = splash_message_handler (0x100FE40)
-0000000C u32 cbClsExtra    = 0
+00000010 u32 cbClsExtra    = 0
-00000010 u32 cbWndExtra    = 8
+00000014 u32 cbWndExtra    = 8
-00000014 u64 hInstance     = *0x106AE30
+00000018 u64 hInstance     = *0x106AE30
-0000001C u64 hIcon         = NULL
+00000020 u64 hIcon         = NULL
-00000024 u64 hCursor       = LoadCursorA(NULL, IDC_ARROW)
+00000028 u64 hCursor       = LoadCursorA(NULL, IDC_ARROW)
-0000002C u64 hbrBackground = NULL
+00000030 u64 hbrBackground = NULL
-00000034 u64 lpszMenuName  = "" (0x1002710)
+00000038 u64 lpszMenuName  = "" (0x1002710)
-0000003C u64 lpszClassName = "3DPB_SPLASH_CLASS" (0x1002930)
+00000040 u64 lpszClassName = "3DPB_SPLASH_CLASS" (0x1002930)</code></pre>



<p class="wp-block-paragraph">But that was not sufficient – Pinball calls&nbsp;<code>RegisterClassA</code>&nbsp;in 4 different places –&nbsp;<code>Sound_Init</code>,&nbsp;<code>splash_screen</code>,&nbsp;<code>WinMain</code>&nbsp;and&nbsp;<code>WaveMixStartup</code>. I’d already patched the one in&nbsp;<code>splash_screen</code>, so I started going through the rest one by one.</p>



<p class="wp-block-paragraph">The ones in&nbsp;<code>Sound_Init</code>&nbsp;and&nbsp;<code>WinMain</code>&nbsp;were identical to the one in&nbsp;<code>splash_screen</code>, but for some strange reason the one in&nbsp;<code>WaveMixStartup</code>&nbsp;already had the correct alignment:</p>



<pre class="wp-block-code"><code>00000000 u32 style         = 0
00000004 u32 &lt;unused&gt;      = &lt;undefined&gt;
00000008 u64 lpfnWndProc   = WndProc (0x105CFA0)
00000010 u32 cbClsExtra    = 0
00000014 u32 cbWndExtra    = 0
00000018 u64 hInstance     = *0x106B818
00000020 u64 hIcon         = NULL
00000028 u64 hCursor       = LoadCursorA(NULL, IDC_ARROW)
00000030 u64 hbrBackground = GetStockObject(LTGRAY_BRUSH)
00000038 u64 lpszMenuName  = NULL
00000040 u64 lpszClassName = "WavMix32" (0x10050B0)</code></pre>



<p class="wp-block-paragraph">I can’t think of why the same struct would be aligned differently within the same binary, unless they came from different objects compiled with different flags or something.</p>



<p class="wp-block-paragraph">Anyway, with the&nbsp;<code>WNDCLASSA</code>&nbsp;struct alignment fixed in 3 of the 4 places, I ran Pinball again. This time it created the fullscreen window and attempted to draw the splash screen before dying of another segfault:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-4.png"><img loading="lazy" decoding="async" width="1024" height="740" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-4.png" alt="" class="wp-image-15792" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-4.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-4-300x217.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-4-768x555.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-4-415x300.png 415w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="wp-block-paragraph">Crash log shows that the segfault happened deep in the Win32 audio system, while calling&nbsp;<code>auxSetVolume</code>:</p>



<pre class="wp-block-code"><code>*----&gt; Stack Back Trace &lt;----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
000003FFFFF8E9C0 0000000050306E84 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8E9E0 00000000503034B8 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8EA10 0000000050304B60 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8EA90 0000000050305B8C 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8EB20 000000000001AF78 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8EB60 0000000000025AFC 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !auxSetVolume 
000003FFFFF8EBD0 0000000000025F98 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !mixerSetControlDetails 
000003FFFFF8EC80 0000000000027214 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !mixerSetControlDetails 
000003FFFFF8ED30 0000000000030644 00000000FFE5D420 0000000000000000 000003FFFFE5D420 0000000000000000 !mciSendCommandW 
&#91;...]
000003FFFFF8FC60 0000000001012AB4 0000000000000000 000003FFFFE5DE00 000003FFFFE5D420 0000000000000000 !CreateWindowExA 
000003FFFFF8FCA0 0000000001064B0C 0000000000000000 000003FFFFE5DE00 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8FED0 0000000068948C50 0000000000000000 000003FFFFE5DE00 000003FFFFE5D420 0000000000000000 !&lt;nosymbols&gt; 
000003FFFFF8FFC0 0000000000000000 0000000001064800 000003FFFFE5DE00 000003FFFFE5D420 0000000000000000 !BaseProcessStart</code></pre>



<p class="wp-block-paragraph">The fault happened while trying to dereference a pointer in the register&nbsp;<code>a0</code>&nbsp;(<code>r16</code>):</p>



<pre class="wp-block-code"><code>function: &lt;nosymbols&gt;
        00000000'50305658: 00000000 halt
        00000000'5030565c: 00000000 halt
        00000000'50305660: 23deffe0 lda sp,-20(sp)
        00000000'50305664: b53e0000 stq s0,0(sp)
        00000000'50305668: b55e0008 stq s1,8(sp)
        00000000'5030566c: b57e0010 stq s2,10(sp)
        00000000'50305670: b75e0018 stq ra,18(sp)
        00000000'50305674: 47f00409 bis zero,a0,s0
        00000000'50305678: 47f1040a bis zero,a1,s1
        00000000'5030567c: 47ff040b bis zero,zero,s2
<strong>FAULT -&gt;00000000'50305680: a2100128 ldl a0,128(a0)</strong>
        00000000'50305684: 20500001 lda t1,1(a0)
        00000000'50305688: e440001b beq t1,00000000'503056f8 00000000'503056f8
        00000000'5030568c: d35ff6f8 bsr ra,00000000'50303270 00000000'50303270
        00000000'50305690: e4000019 beq v0,00000000'503056f8 00000000'503056f8
        00000000'50305694: 47e00411 bis zero,v0,a1
        00000000'50305698: 454b0801 xor s1,s2,t0
        00000000'5030569c: e4200005 beq t0,00000000'503056b4 00000000'503056b4
        00000000'503056a0: a2090128 ldl a0,128(s0)
        00000000'503056a4: d35ff722 bsr ra,00000000'50303330 00000000'50303330
        00000000'503056a8: 4160300b addl s2,#1,s2
        00000000'503056ac: 47e00411 bis zero,v0,a1</code></pre>



<p class="wp-block-paragraph">The register dump shows the value of&nbsp;<code>a0</code>&nbsp;at the time of the crash:</p>



<pre class="wp-block-code"><code>State Dump for Thread Id 0x150

  v0=000003ff ffe5de00   t0=00000000 00000000   t1=00000000 00000058
  t2=00000000 50306150   t3=00000000 0000015e   t4=00000000 00000001
  t5=00000000 00000001   t6=00000000 50300000   t7=00000000 00ed39fb
  s0=00000000 ffe5d420   s1=00000000 00000000   s2=00000000 00000000
  s3=00000000 00000000   s4=00000000 00000001   s5=00000000 50305a10
  fp=00000000 000123b8   <strong>a0=00000000 ffe5d420</strong>   a1=00000000 00000000
  a2=000003ff ffe5d420   a3=00000000 00000000   a4=00000000 00000000
  a5=00000000 cc5a4dbc   t8=00000001 00000000   t9=00000000 00000612
 t10=d1b71758 e219652c  t11=00000000 00000612   ra=00000000 50306e88
 t12=00000000 00000000   at=00000000 00010000   gp=00000000 00000000
  sp=000003ff fff8e9c0 zero=00000000 00000000 fpcr=89000000 00000000
SoftFpcr=00000000 00000000  fir=50305680
 psr=00000003
mode=1 ie=1 irql=0 </code></pre>



<p class="wp-block-paragraph">Indeed, it was an invalid pointer! As you can see, it’s identical to the pointer in&nbsp;<code>a2</code>, but with the entire top 32 bits zeroed. It must’ve been truncated by a bug somewhere, either in the audio subsystem or in Pinball itself.</p>



<p class="wp-block-paragraph">I spent some time and pinned down the DLL responsible for the fault –&nbsp;<code>mciseq.dll</code>, and did some tracing. The truncation of&nbsp;<code>a0</code>&nbsp;happened when&nbsp;<code>a2</code>&nbsp;was moved into&nbsp;<code>a0</code>:</p>



<pre class="wp-block-code"><code>50306150    ZAPNOT  a2,#15,a0</code></pre>



<p class="wp-block-paragraph"><code>ZAPNOT</code>&nbsp;is an interesting instruction – it takes a source register, a bitmask and a destination register, and it “zaps” (zeros) the bytes whose corresponding bit in the bitmask is 0. In this case, the bitmask is&nbsp;<code>15</code>, which is&nbsp;<code>00001111</code>&nbsp;in binary. From this we can work out that the&nbsp;<code>ZAPNOT</code>&nbsp;instruction at&nbsp;<code>0x50306150</code>&nbsp;zeros the upper 4 bytes of&nbsp;<code>a2</code>, when it is copied into&nbsp;<code>a0</code>. This perfectly explains why, at the time of the fault,&nbsp;<code>a0</code>&nbsp;contained a truncated version of the pointer in&nbsp;<code>a2</code>.</p>



<p class="wp-block-paragraph">Of course,&nbsp;<code>0x50306150</code>&nbsp;was not the only place where it truncated 64-bit pointers, I found 6 truncations of the exact same type in&nbsp;<code>mciseq.dll</code>. I have not the slightest clue why it decided to truncate pointers. If I had to guess, maybe they had pointer → integer → pointer casts for whatever reason, and that integer type was 32-bit. With all 6 truncations patched out, we have some Pinball for ourselves:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-5.png"><img loading="lazy" decoding="async" width="1024" height="768" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-5.png" alt="" class="wp-image-15793" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-5.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-5-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-5-768x576.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-5-400x300.png 400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="wp-block-paragraph">Here’s proof that Pinball is indeed running on a 64-bit build of Alpha NT:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-6.png"><img loading="lazy" decoding="async" width="1024" height="768" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-6.png" alt="" class="wp-image-15794" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-6.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-6-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-6-768x576.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-6-400x300.png 400w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="wp-block-paragraph">To make Pinball work on your NT build 2210 install, replace&nbsp;<code>%ProgramFiles%\Windows NT\Pinball\pinball.exe</code>&nbsp;and&nbsp;<code>%windir%\system32\mciseq.dll</code>&nbsp;with the following:</p>



<ul class="wp-block-list">
<li>Patched&nbsp;<code><a href="https://thebrokenpipe.com/uploads/pinball_fix/pinball.exe">pinball.exe</a></code></li>



<li>Patched&nbsp;<code><a href="https://thebrokenpipe.com/uploads/pinball_fix/mciseq.dll">mciseq.dll</a></code></li>
</ul>



<p class="wp-block-paragraph">You could also patch the installation files and burn them to a new CD if you want Pinball to work out of the box on fresh installs – simply copy these files to the&nbsp;<code>AXP64</code>&nbsp;directory of the install disc:</p>



<ul class="wp-block-list">
<li>Patched&nbsp;<code><a href="https://thebrokenpipe.com/uploads/pinball_fix/PINBALL.EX_">PINBALL.EX_</a></code></li>



<li>Patched&nbsp;<code><a href="https://thebrokenpipe.com/uploads/pinball_fix/MCISEQ.DL_">MCISEQ.DL_</a></code></li>
</ul>



<h2 class="wp-block-heading">The Bug</h2>



<p class="wp-block-paragraph">Now I’m going to disappoint you with the fact that I did not find the collision detector bug Raymond talked about. With the struct alignment and pointer truncation issues patched, the game now works flawlessly. Ok, I’m not sure if it’s actually flawless, but I never saw any glitches in the few games I played. At the very least, the ball does not fall through the plunger, can be launched and bounces around the table just fine.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/06/image-7.png"><img loading="lazy" decoding="async" width="648" height="490" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-7.png" alt="" class="wp-image-15795" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-7.png 648w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-7-300x227.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-7-397x300.png 397w" sizes="auto, (max-width: 648px) 100vw, 648px" /></a></figure>
</div>


<p class="wp-block-paragraph">Below are the 2 reasons I could think of for not seeing the collision detector bug:</p>



<ul class="wp-block-list">
<li>The bug was introduced after build 2210. Build 2210 has Pinball installed by default and predates Windows XP by almost a year and a half, so it almost certainly predates Raymond removing it. In this build, Pinball doesn’t even run by default, so there’s no way they could’ve tested it and seen the bug. They probably only started testing Pinball later, after they fixed the struct alignment and pointer truncation issues.</li>



<li>The bug only manifests in free/release builds, not in checked/debug builds. Maybe it only shows up when the code is compiled with the more aggressive optimisation used by release builds – something that happens quite often when code has undefined behaviour or the compiler has bugs. This is less plausible, however, as I’m sure Raymond would’ve used debug builds when he attempted to debug it, and discovered any differences between debug and retail builds.</li>
</ul>



<p class="wp-block-paragraph">Of course, only Raymond himself could shed more light on this topic. It was fun (<em>read</em>: painful) debugging Pinball, as well as the NT kernel to fix the emulators – too much fun (<em>read</em>: pain) that I will never do it again.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Some trivia about me and pinball:</p>



<p class="wp-block-paragraph">I spent a fair chunk of my kindergarten and pre-school days playing the various games my dad installed on our Windows XP home computer, however, there was one game that I never quite figured out how to play – Pinball. It came bundled with the OS, and the splash screen scared me every time I tried to open it up.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="424" height="282" src="https://virtuallyfun.com/wp-content/uploads/2026/06/image-8.png" alt="" class="wp-image-15796" srcset="https://virtuallyfun.com/wp-content/uploads/2026/06/image-8.png 424w, https://virtuallyfun.com/wp-content/uploads/2026/06/image-8-300x200.png 300w" sizes="auto, (max-width: 424px) 100vw, 424px" /></figure>
</div>


<p class="wp-block-paragraph">The flipper looked like a pistol to my 3-year-old self, and the overall darkness of the splash screen just injected fear into me. I would open the game, close my eyes, count to 20, then open my eyes again, to skip past the splash screen.</p>



<p class="wp-block-paragraph">The first time I actually played a full game of pinball was on the first day of this year, when a friend of mine took me to an arcade. After playing pinball in real life, the Pinball game finally started to make sense.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/06/02/pinball-on-64-bit-alpha-axp-windows-nt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Flashing the ES40 Dec Alpha</title>
		<link>https://virtuallyfun.com/2026/05/20/flashing-the-es40-dec-alpha/</link>
					<comments>https://virtuallyfun.com/2026/05/20/flashing-the-es40-dec-alpha/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 20 May 2026 09:05:46 +0000</pubDate>
				<category><![CDATA[DEC Alpha]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15750</guid>

					<description><![CDATA[Since this will no doubt come up, let&#8217;s make this a separate post. I&#8217;ve put the files up on archive.org (arc programmed/bare programmed) but here are the steps to program your own flash, just like you&#8217;ve gotten a fresh machine! &#8230; <a href="https://virtuallyfun.com/2026/05/20/flashing-the-es40-dec-alpha/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Since this will no doubt come up, let&#8217;s make this a separate post.  I&#8217;ve put the files up on <a href="https://archive.org/details/es40-flasher">archive.org</a> (<a href="https://archive.org/download/es40-flasher/flash-programmed-auto-arc.zip">arc programmed</a>/<a href="https://archive.org/download/es40-flasher/flash-programmed.zip">bare </a>programmed) but here are the steps to program your own flash, just like you&#8217;ve gotten a fresh machine!</p>



<figure class="wp-block-image size-full"><a href="https://archive.org/details/es40-flasher"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image.png" alt="" class="wp-image-15751" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></a></figure>



<p class="wp-block-paragraph">First up, you need the &#8216;v73.iso&#8217; and not much else.  VGA is fun to make it all graphical.  First look for your CD-ROM drive, the RRD42 in this case, I&#8217;ve put mine on SCSI id 6, so it&#8217;s the DKA600</p>



<p class="wp-block-paragraph">So, it&#8217;s a simple &#8216;boot dka600&#8217; to get the process started</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-1.png" alt="" class="wp-image-15752" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-1.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-1-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-1-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-1-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">It&#8217;ll take a few seconds to boot up to the menu</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-2.png" alt="" class="wp-image-15753" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-2.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-2-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-2-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-2-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">hit control+c and you&#8217;ll get the menu</p>



<p class="wp-block-paragraph">It&#8217;ll detect our machine, so you can hit enter to boot the default option</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-3.png" alt="" class="wp-image-15754" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-3.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-3-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-3-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-3-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">This will take a hot minute as the SRM likes to re-load itself between things</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-4.png" alt="" class="wp-image-15755" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-4.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-4-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-4-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-4-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">Now I know you think we would just go ahead and hit update, but oddly enough it won&#8217;t program the TIG, so we exit from here:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-5.png" alt="" class="wp-image-15756" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-5.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-5-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-5-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-5-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">and choose the manual update process</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-6.png" alt="" class="wp-image-15757" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-6.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-6-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-6-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-6-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">And now we can run the update.</p>



<p class="wp-block-paragraph">Basically we update them all!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-7.png" alt="" class="wp-image-15758" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-7.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-7-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-7-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-7-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">And keep going.  For all us Windows NT on Alpha fans, the ABIOS has to be programmed in.  It&#8217;s a compressed image, so the machine will still boot SRM then we have to load ARC.  It&#8217;s just the way the ES40 is.</p>



<p class="wp-block-paragraph">This will take a few minutes, just hang in there.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-8.png" alt="" class="wp-image-15759" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-8.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-8-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-8-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-8-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">rmc always fails for me but it&#8217;s fine.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-9.png" alt="" class="wp-image-15760" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-9.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-9-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-9-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-9-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">at this point we can exit, and we&#8217;ve programmed our flash.</p>



<p class="wp-block-paragraph">The emulator will reboot, and we will be sent back to the SRM prompt.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-10.png" alt="" class="wp-image-15761" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-10.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-10-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-10-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-10-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">For those of us who want to run Windows NT we can now edit the NVRAM so it always auto-starts ARC, so it doesn&#8217;t require manual intervention.</p>



<p class="wp-block-paragraph">simply type in:</p>



<pre class="wp-block-code"><code>edit nvram
10 show dev
20 arc</code></pre>



<p class="wp-block-paragraph">Then you can exit this mode with a Control+Z (some machines/emulators require Alt+Z)</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-11.png" alt="" class="wp-image-15762" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-11.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-11-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-11-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-11-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">now it&#8217;ll show the devices and auto-start arc.</p>



<p class="wp-block-paragraph">You can test-drive ARC now by simply typing in &#8216;arc&#8217;</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="902" height="539" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-12.png" alt="" class="wp-image-15763" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-12.png 902w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-12-300x179.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-12-768x459.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-12-500x300.png 500w" sizes="auto, (max-width: 902px) 100vw, 902px" /></figure>



<p class="wp-block-paragraph">And this will load up ARC.</p>



<p class="wp-block-paragraph">You&#8217;ll see the VGA bios re-initialized, and then the boot logo</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-13.png" alt="" class="wp-image-15764" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-13.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-13-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-13-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-13-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">as of yet, the memory test wipes out the video ram so it&#8217;ll blank the screen. this is normal.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-14.png" alt="" class="wp-image-15765" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-14.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-14-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-14-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-14-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">Hit the space bar to exit the memory test</p>



<p class="wp-block-paragraph">Then press F2 to enter setup.  This will take a minute or so.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-15.png" alt="" class="wp-image-15766" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-15.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-15-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-15-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-15-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">it really does take a few minutes the first time.</p>



<p class="wp-block-paragraph">Because the nvram is fresh it&#8217;ll reboot. so hit space again to skip the memory test and f2 to enter setup</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-16.png" alt="" class="wp-image-15767" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-16.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-16-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-16-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-16-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">arrow key down to the CMOS setup</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-17.png" alt="" class="wp-image-15768" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-17.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-17-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-17-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-17-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">and F6 to enter advanced setup</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-18.png" alt="" class="wp-image-15769" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-18.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-18-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-18-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-18-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">In the advanced menu, hit tab to advance to a selection and arrow keys to change them</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-19.png" alt="" class="wp-image-15770" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-19.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-19-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-19-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-19-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">And then Press F10 to save the changes.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="639" src="https://virtuallyfun.com/wp-content/uploads/2026/05/image-20.png" alt="" class="wp-image-15771" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/image-20.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-20-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-20-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/05/image-20-377x300.png 377w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>



<p class="wp-block-paragraph">Now we&#8217;ve fully programmed the flash and set ARC to autoboot!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/05/20/flashing-the-es40-dec-alpha/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Brave macOS LAN Access</title>
		<link>https://virtuallyfun.com/2026/05/13/brave-macos-lan-access/</link>
					<comments>https://virtuallyfun.com/2026/05/13/brave-macos-lan-access/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Wed, 13 May 2026 07:00:41 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15730</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki) This is one of these &#8220;note to myself&#8221; and hopefully it will help someone else as the internets and robots are not very helpful. Problem: on a Mac, Brave Browser will not &#8230; <a href="https://virtuallyfun.com/2026/05/13/brave-macos-lan-access/">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)</em></p>



<p class="wp-block-paragraph">This is one of these &#8220;note to myself&#8221; and hopefully it will help someone else as the internets and robots are not very helpful.</p>



<p class="wp-block-paragraph">Problem: on a Mac, Brave Browser will not connect to anything on the LAN. 192.168.x.x, 10.x.x.x, etc. Maybe with exception of the router / default gateway.</p>



<p class="wp-block-paragraph">You tried everything, disabling shields, changing https/ssl/tls options, flags, advanced network settings. Nothing helps. The internet and AI tells you this is how Brave is, secure by default nonsense, nothing can be done about it. Well BS. This is how to actually fix it:</p>



<p class="wp-block-paragraph"><strong>System Settings → Privacy &amp; Security → Local Network →  &#8220;Brave Browser ON&#8221;.</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="468" height="185" src="https://virtuallyfun.com/wp-content/uploads/2026/05/bravelan.png" alt="" class="wp-image-15731" srcset="https://virtuallyfun.com/wp-content/uploads/2026/05/bravelan.png 468w, https://virtuallyfun.com/wp-content/uploads/2026/05/bravelan-300x119.png 300w" sizes="auto, (max-width: 468px) 100vw, 468px" /></figure>



<p class="wp-block-paragraph">Thats it! After you toggle it, Brave will be able to connect to anything on the LAN, even without HTTPS if you allow it.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/05/13/brave-macos-lan-access/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<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 loading="lazy" 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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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>Fun with POSX subsystem on NT</title>
		<link>https://virtuallyfun.com/2026/04/19/fun-with-posx-subsystem-on-nt/</link>
					<comments>https://virtuallyfun.com/2026/04/19/fun-with-posx-subsystem-on-nt/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 19 Apr 2026 08:45:33 +0000</pubDate>
				<category><![CDATA[cross compiler]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[Windows NT 3.1]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15686</guid>

					<description><![CDATA[Well this is going to be a seemingly pointless post but you know I love stuff like this. I&#8217;d already gotten GCC 1.40 to run on the Windows NT 1991December Pre-Release, but that&#8217;s all Win32, what about the much vaunted &#8230; <a href="https://virtuallyfun.com/2026/04/19/fun-with-posx-subsystem-on-nt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Well this is going to be a seemingly pointless post but you know I love stuff like this.  I&#8217;d already gotten GCC 1.40 to run on the Windows NT 1991December Pre-Release, but that&#8217;s all Win32, what about the much vaunted POSIX subsystem?</p>



<p class="wp-block-paragraph">Well what is it?  Basically it&#8217;s just enough of the UNIX/POSIX standard to check a box that gave Windows NT an in for US Government contracts that required a POSIX checkbox.  And nothing else more.  It&#8217;s basically agreed that it&#8217;s just enough to run &#8216;vi&#8217; and that&#8217;s basically it.</p>



<p class="wp-block-paragraph">But surely we can probably do more with this?</p>



<p class="wp-block-paragraph">The first fun part is that setting up the environment is basically <strong>UNDOCUMENTED</strong>. It was a nightmare back. then, as you need to setup a termcap environment that again is not mentioned.  The only hint is is an old KB article <a href="https://jeffpar.github.io/kbarchive/kb/108/Q108581/">Q108581</a>, which sets out the vauge guide.  I do know that back in the day I did have vi running, but I can&#8217;t remember how I did it exactly but wow.</p>


<div class="wp-block-image">
<figure class="alignleft size-full"><a href="https://archive.org/details/win32-sdk-final-release-nt-31" target="_blank" rel=" noreferrer noopener"><img loading="lazy" decoding="async" width="180" height="180" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-10.png" alt="" class="wp-image-15687" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-10.png 180w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-10-150x150.png 150w" sizes="auto, (max-width: 180px) 100vw, 180px" /></a></figure>
</div>


<p class="wp-block-paragraph">The first thing you need to do, naturally is install Windows NT 3.1. I did have access to this fun CD back in the day, it&#8217;s a combination <a href="https://archive.org/details/win32-sdk-final-release-nt-31" target="_blank" rel="noreferrer noopener">Windows NT 3.1 Workstation +SDK CD-ROM</a>.  This way you not only get the operating system, but you also now have the C compiler, libraries and headers.  Once setup, there is even a POSIX sample program.  Great?  Well, no.  Because this doesn&#8217;t include the OS environment, there is no previous &#8216;vi&#8217; either. Very sad.  Naturally you need another CD to install, which of course back in the day if you were going to use or support Windows NT, you&#8217;d naturally run out or order the <a href="https://archive.org/details/mswinntrskt310_20190128" target="_blank" rel="noreferrer noopener">Windows NT Resource Kit</a>.  These were absolutely required back in the day as the &#8216;task manager&#8217; only at best would show you named windows, it doesn&#8217;t show you the actual processes, making managing NT a nightmare without pviewer. (process viewer), among others.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="408" height="308" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-11.png" alt="" class="wp-image-15688" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-11.png 408w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-11-300x226.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-11-397x300.png 397w" sizes="auto, (max-width: 408px) 100vw, 408px" /><figcaption class="wp-element-caption">Windows NT Task List</figcaption></figure>
</div>


<p class="wp-block-paragraph">On the Resource Kit is not only a tiny &#8216;userland&#8217; but also it includes Elvis a vi clone, along with a much needed &#8216;cc&#8217; wrapper that will let you invoke the SDK C compiler as if it&#8217;s the Unix cc C compiler command.</p>



<p class="wp-block-paragraph">Elvis was written by Steve Kirkendall, back in the day, and even on Linux back in the day, I was using Elvis as well.  Remember &#8216;real&#8217; vi was tied to needing a 32v / BSD source license so it wasn&#8217;t free. </p>



<pre class="wp-block-code"><code>/* Author:
 *      Steve Kirkendall
 *      14407 SW Teal Blvd. #C
 *      Beaverton, OR 97005
 *      kirkenda@cs.pdx.edu
 */</code></pre>



<p class="wp-block-paragraph">It&#8217;s just how things were back then.</p>



<p class="wp-block-paragraph">To make things weird, I installed Windows NT onto a HPFS partition, because I wanted long file names, but I didn&#8217;t want to have a case preserving filesystem, as these old things have so much UPPERCASE/lowercase naming conflicts, because YES as a feature of NTFS &amp; POSIX it really does support Mixed case naming.  And I don&#8217;t feel like dealing with it, and it&#8217;s 1993, and HPFS is still a popular filesystem for us OS/2 users.</p>



<p class="wp-block-paragraph">Okay, so you&#8217;ve installed both the SDK &amp; the resource kit, surely you can just run vi?</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="452" height="174" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-13.png" alt="" class="wp-image-15690" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-13.png 452w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-13-300x115.png 300w" sizes="auto, (max-width: 452px) 100vw, 452px" /></figure>



<p class="wp-block-paragraph">No. No you cannot. Remember you need that TERM variable and termcap library!</p>



<p class="wp-block-paragraph">Now to save you the hassle you&#8217;ll go back and check Q108581 and you&#8217;ll see this example:</p>



<pre class="wp-block-code"><code>li|ansi|psx_ansi|:\ 

            :co#80:li#25:\ 
            :am:pt:ms:bw:\ 
            :cl=\E&#91;2J:cm=\E&#91;%i%d;%dH:ce=\E&#91;K:cd=\E&#91;J:\ 
            :sf=\E&#91;S:sr=\E&#91;T:\ 
             :ho=\E&#91;H:sc=\E&#91;s:rc=\E&#91;u:up=\E&#91;A:d=^J:nd=\E&#91;C:le=^H:\ 
             :ku=\E&#91;A:kd=\E&#91;V:kr=\E&#91;C:kl=\E&#91;D:kb=^H:\ 
             :so=\E&#91;7m:se=\E&#91;m:mr=\E&#91;7m:me=\E&#91;0m:\ </code></pre>



<p class="wp-block-paragraph">copy paste and and, yeah IT DOESNT WORK.  Like something being passed endlessly through a photocopier, it got mangled in usenet (maybe where I found it?) , and yeah you need to &#8216;fix&#8217; it up as it should look more like this.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="553" height="284" src="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.21.16-AM.png" alt="" class="wp-image-15691" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.21.16-AM.png 553w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.21.16-AM-300x154.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.21.16-AM-500x257.png 500w" sizes="auto, (max-width: 553px) 100vw, 553px" /></figure>
</div>


<p class="wp-block-paragraph">Or for anyone hoping to copy/paste:</p>



<pre class="wp-block-code"><code>li|ansi|psx_ansi|:\
	:co#80:li#25:\
	:am:pt:ms:bw:\
	:cl=\E&#91;2J:cm=\E&#91;%i%d;%dH:ce=\E&#91;K:cd=\E&#91;J:\
	:sf=\E&#91;S:sr=\E&#91;T:\
	:ho=\E&#91;H:sc=\E&#91;s:rc=\E&#91;u:up=\E&#91;A:d=^J:nd=\E&#91;C:le=^H:\
	:ku=\E&#91;A:kd=\E&#91;V:kr=\E&#91;C:kl=\E&#91;D:kb=^H:bc=^H:\
	:so=\E&#91;7m:se=\E&#91;m:mr=\E&#91;7m:me=\E&#91;0m:\</code></pre>



<p class="wp-block-paragraph">Note that the leading &#8216;tab&#8217; actually matters and there should be NO empty spaces at the tail backslash!  If that tab or ending \ is padded or wrong it just plain will not work.  I wasted so much time before realizing the craziness of this setup.</p>



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



<p class="wp-block-paragraph">Thinking that&#8217;s enough you have to keep reading, as the POSIX environment has no idea what c: is, or how to set variables, so you need to specify the full NT path, not the Win32 path</p>



<p class="wp-block-paragraph">To save the adventure some time this is what I end up just putting into a CMD file so I can just click and go!</p>



<pre class="wp-block-code"><code>@stitle posix
@set PATH=c:\bin;%PATH%
@set Lib=c:\mstools\posix\lib;%lib%
@set Include=c:\mstools\posix\h;%include%
@set TERM=ansi
@set TERMCAP=//C/etc/termcap
@set _POSIX_TERM=on
@set TEMP=
@set tmp=
@set INCLUDE=
@set include=
@set lib=/usr/lib
@set tmp=//C/tmp
@set temp=//C/temp
@set MAKEPATH=//C/posix/src/MK-RULES
@cls
@sh</code></pre>



<p class="wp-block-paragraph">Now with a corrected environment for POSIX and a termcap file, now we can actually run VI/Elvis!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="633" height="327" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-14.png" alt="" class="wp-image-15692" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-14.png 633w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-14-300x155.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-14-500x258.png 500w" sizes="auto, (max-width: 633px) 100vw, 633px" /><figcaption class="wp-element-caption">Elvis running correctly on the POSIX subsystem</figcaption></figure>



<p class="wp-block-paragraph">This is what success looks like!</p>



<p class="wp-block-paragraph">Now I know what you&#8217;re thinking okay, were setup now, we can just build something simple like say a hello world style program right?  I made a simple Makefile, and let&#8217;s go ahead and try to invoke the &#8216;cc&#8217; compiler wrapper:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="634" height="331" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-15.png" alt="" class="wp-image-15693" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-15.png 634w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-15-300x157.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-15-500x261.png 500w" sizes="auto, (max-width: 634px) 100vw, 634px" /></figure>



<p class="wp-block-paragraph">And it just hangs, doing nothing.  As it turns out that the &#8216;cc&#8217; wrapper uses a file for IPC to talk between POSIX &amp; WIN32.  Remember they are separate personalities on the NTOKS kernel, and they cannot directly communicate with eachother.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="474" height="355" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-16.png" alt="" class="wp-image-15694" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-16.png 474w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-16-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-16-401x300.png 401w" sizes="auto, (max-width: 474px) 100vw, 474px" /></figure>
</div>


<p class="wp-block-paragraph">I don&#8217;t know why they didn&#8217;t use a named pipe, maybe POSIX cannot write to them?  Maybe when they were writing the POSIX subsystem, named pipes weren&#8217;t working yet?  It&#8217;s hard to say, and the early NT 3.1 pre-releases don&#8217;t included the POSIX, or OS/2 subsystem.  Actually they don&#8217;t even have the NTVDM/MS-DOS/WoW either.</p>



<p class="wp-block-paragraph">So you need to run something called &#8216;devsrv&#8217; which is a Win32 program that looks for c:\tmp\ for devsem.ini file telling it what Win32 program to run and how.  For example, in this case it looks like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="585" height="327" src="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.36.08-AM.png" alt="" class="wp-image-15696" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.36.08-AM.png 585w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.36.08-AM-300x168.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-19-at-8.36.08-AM-500x279.png 500w" sizes="auto, (max-width: 585px) 100vw, 585px" /></figure>



<p class="wp-block-paragraph">Now if you think you can just blindly run devrv, you&#8217;ll 99% of the time be in for a bad time as you need to initialize a working Win32-&gt;POSIX cross environment.  Me being, me I just put this into another CMD file:</p>



<pre class="wp-block-code"><code>title devsrv
@set PATH=c:\bin;c:\mstools\bin;%PATH%
@set Lib=c:\mstools\posix\lib;c:\usr\lib
@set Include=c:\mstools\posix\h;c:\usr\include
@set TEMP=c:\temp
@set tmp=c:\tmp
@c:\bin\devsrv</code></pre>



<p class="wp-block-paragraph">I&#8217;ve already started to place headers &amp; libraries into a more &#8216;UNIX&#8217; like path structure with /usr/include &amp; /usr/lib although by default the MSFT scripts expect things to live in the SDK world.  But I do have goals of running GCC and dealing with weird paths isn&#8217;t my goal as the less I have to fight, the better.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="628" height="460" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-18.png" alt="" class="wp-image-15697" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-18.png 628w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-18-300x220.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-18-410x300.png 410w" sizes="auto, (max-width: 628px) 100vw, 628px" /><figcaption class="wp-element-caption">Compiling &#8216;hi&#8217; from within the POSIX subsystem</figcaption></figure>



<p class="wp-block-paragraph">  Now with devsrv running it cannot call the C compiler, and the linker.  It will fail at first as it&#8217;s expecting to link against NTDLL.LIB as in the Pre-release/Beta days there was a &#8216;ntdll&#8217; you had to link against.  It isn&#8217;t there in the RTM Windows NT, so it&#8217;s kind of clear that although POSIX shipped it was basically abandonded during the development cycle, and nobody expected anyone to actually do anthying with it.  Or at best find the KB article and maybe run vi.</p>



<p class="wp-block-paragraph">Or you could just fix &amp; rebuild the linker proxy, ld.c and remove the offending line:</p>



<pre class="wp-block-code"><code>char *def_lib&#91;] = /* Default library */
{
   "libcpsx.lib",
   "psxdll.lib",
   "ntdll.lib",
   "psxrtl.lib",
   SNULL
};</code></pre>



<p class="wp-block-paragraph">And re-compile.  Which of course is time to show yet another CMD file that sets up a Win32 environment enough to cross compile to POSIX:</p>



<pre class="wp-block-code"><code>title posix cross
@set CPU=i386
@set PATH=c:\posix\bin;c:\mstools\bin;%PATH%
@set Lib=c:\mstools\posix\lib;c:\usr\lib;%lib%
@set Include=c:\mstools\posix\h;c:\usr\include;%include%
@set TERM=ansi
@set TERMCAP=//C/etc/termcap
@set _POSIX_TERM=on
@set TEMP=c:\temp
@set tmp=c:\tmp
@set MAKEPATH=C:\posix\src\MK-RULES</code></pre>



<p class="wp-block-paragraph">So now I can build things from the Win32 side of life, like the LD proxy, or even &#8216;cross compile&#8217; a simple enough hello world from Win32:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="628" height="267" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-19.png" alt="" class="wp-image-15698" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-19.png 628w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-19-300x128.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-19-500x213.png 500w" sizes="auto, (max-width: 628px) 100vw, 628px" /></figure>



<p class="wp-block-paragraph">See wasn&#8217;t that fun?!</p>



<p class="wp-block-paragraph">Since I already have a version of <a href="https://github.com/neozeed/gcc-1.40-msvc" target="_blank" rel="noreferrer noopener">GCC-1.40 building with the Microsoft C compiler</a> this seemed like a great leg up on building a POSIX version.  And naturally to make it more complete building bison-1.16 is also required.  Since I have Bison building on normal Win32, this wasn&#8217;t much of a problem.  The weird hurdle came in the C Preprocessor where I found out that POSIX is missing some seemingly vital stuff like fstat!  </p>



<pre class="wp-block-code"><code>int                 
file_size_and_mode (fd, mode_pointer, size_pointer)
     int fd;
     int *mode_pointer;
     long int *size_pointer;
{ 
#if 0
//this is missing from posix
  struct stat sbuf;
  
  if (fstat (fd, &amp;sbuf) &lt; 0) return (-1);
  if (mode_pointer) *mode_pointer = sbuf.st_mode;
  if (size_pointer) *size_pointer = sbuf.st_size;
#endif
  return 0;
}</code></pre>



<p class="wp-block-paragraph">Also, for some reason I can&#8217;t link any real programs that call unlink, I have to proxy that to a stub file that has no includes, define unlink as Xunlink, then link against that stube and it all links fine.  I know WTF?!  I don&#8217;t get it ether.  But I wanted to build stuff so these are&#8230; tradeoffs that I made to just short-cut the whole thing.  Maybe I&#8217;ll go back and look and try to figure it out.  As I see in the POSIX util source mutiple things call fstat, so maybe it&#8217;s happier when linked from Win32?</p>



<p class="wp-block-paragraph">To complete the round trip, since we already know the Link386 from the SDK and early Visual C++ will happily accept Xenix OMF files, I can use the <a href="https://github.com/neozeed/gas-1.38-xenix-" target="_blank" rel="noreferrer noopener">GNU Assembler that targets Xenix</a>, and then get a round tripped GCC on POSIX NT!</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="638" height="336" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-23.png" alt="" class="wp-image-15702" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-23.png 638w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-23-300x158.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-23-500x263.png 500w" sizes="auto, (max-width: 638px) 100vw, 638px" /><figcaption class="wp-element-caption">GCC running on POSIX NT!</figcaption></figure>
</div>


<p class="wp-block-paragraph">And there we have it!</p>



<h2 class="wp-block-heading">Installing it for the BRAVE</h2>



<p class="wp-block-paragraph">I&#8217;ve gone ahead and uploaded my working directories to archive.org here: <a href="https://archive.org/details/posix-4" target="_blank" rel="noreferrer noopener">POSIX-4</a>.</p>



<p class="wp-block-paragraph">I guess I could have found my old zip/unzip for NT 3.1 but I didn&#8217;t I stuck to PAX which surprisingly is in NT 3.1. It&#8217;s not quite as friendly as TAR but you can copy posix4.tar to the C: drive and just extract it with &#8216;pax -r -f posix4.tar&#8217;</p>



<p class="wp-block-paragraph">I should note for some reason trying to extract it from my tranfer disk, causes a BLUESCREEN in the HPFS device driver on NT 3.1&#8230; Bummer.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="480" height="253" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-12.png" alt="" class="wp-image-15689" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-12.png 480w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-12-300x158.png 300w" sizes="auto, (max-width: 480px) 100vw, 480px" /><figcaption class="wp-element-caption">extracting my posix all in one package</figcaption></figure>
</div>


<p class="wp-block-paragraph">Once all the files are unpacked the first thing I do is make a Program Item on Program Manager for the Posix shell.  All the hard work is done, you just have to path it to c:\posix\shell.cmd</p>



<p class="wp-block-paragraph">This is how I setup mine, so YMMV</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="506" height="225" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-20.png" alt="" class="wp-image-15699" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-20.png 506w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-20-300x133.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-20-500x222.png 500w" sizes="auto, (max-width: 506px) 100vw, 506px" /><figcaption class="wp-element-caption">Shell Program Item</figcaption></figure>
</div>


<p class="wp-block-paragraph">And the last part is the DEVSRV.  This is how I setup mine, with the emphasis on running minimized.  It does and can crash from time to time so I wouldn&#8217;t try to wrap it as a service or anything that creative.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="473" height="205" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-21.png" alt="" class="wp-image-15700" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-21.png 473w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-21-300x130.png 300w" sizes="auto, (max-width: 473px) 100vw, 473px" /><figcaption class="wp-element-caption">DevSRV Program Item</figcaption></figure>
</div>


<p class="wp-block-paragraph">And then I move mine to the startup items, so that way, every time I login, I now have the devsrv all ready for my POSIX experiments!</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="402" height="181" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-22.png" alt="" class="wp-image-15701" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-22.png 402w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-22-300x135.png 300w" sizes="auto, (max-width: 402px) 100vw, 402px" /></figure>
</div>


<p class="wp-block-paragraph">Now you can just logoff/log back in, and you are ready for some POSIX GCC adventures.</p>



<p class="wp-block-paragraph">It&#8217;s a shame that back then I just was totally unaware of that Xenix OMF GAS version.  I pretty much had given up on Xenix 386 back then, as I never could find the developer&#8217;s kit, as they had gatekept people off the platform.  Linux is where all the excitement was, as not only did it have GCC, but you also had full source.  Even if I&#8217;d had access to GCC on Xenix, with no libc no headers it wasn&#8217;t going to go very far.</p>



<p class="wp-block-paragraph">Credit to Microsoft though, they did learn with that $3,000 OS/2 SDK, that if you paywall the low end developers away, nobody writes for your platform.  Although Microsoft did lose their way on this when they stopped QuickC, forcing new users to pay for the full thing.  They didn&#8217;t realize how much territory they ceded by charging for the C compiler to GCC until it was too late, as all &#8216;starving university&#8217; kids are GNU kids now (Yes I know CLANG is where it&#8217;s at today, thats&#8217;s Apple&#8217;s lesson I guess in there).  By the time they did free as in beer limited &#8220;<a href="https://archive.org/details/microsoft-visual-c-toolkit-2003" target="_blank" rel="noreferrer noopener">Visual C++ Toolkit 2003</a>&#8221; it was already far too late.</p>



<p class="wp-block-paragraph">The POSIX subsystem was never going to be all that useful, as it was pretty clear if NT became a competent UNIX, nobody would write Win32 server software.  But considering one of the best features to be added to Windows 10/Server 2016 was the WSL subsystem, we already crossed that bridge.</p>



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



<p class="wp-block-paragraph">I thought it&#8217;d be &#8216;fun&#8217; to do this from Citrix as it easily allows me to map drives making life MUCH easier, but nothing worked.  I went thorugh installing NT 3.5 it&#8217;s SDK and Visual C++ 2 and noticed that nothing ran on that either.  Maybe it&#8217;s Qemu?</p>



<p class="wp-block-paragraph">So I just jumped forward to NT 4.0, because why not??</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="455" height="171" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-24.png" alt="" class="wp-image-15705" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-24.png 455w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-24-300x113.png 300w" sizes="auto, (max-width: 455px) 100vw, 455px" /><figcaption class="wp-element-caption">make on NT 4.0 POSIX</figcaption></figure>



<p class="wp-block-paragraph">Turns out it doesn&#8217;t work either.</p>



<p class="wp-block-paragraph">Well sure vi does work, but the whole &#8216;cc&#8217; cross thing is just plain deprecated after 3.1&#8230; It&#8217;s like whatever attempt at POSIX being useable was fully given up on.  The only other interesting thing on the NT 3.5 resource kit, is that it <em>does</em> mention GCC being part of the kit, but obviously that never happened.  Politics I suppose.</p>



<p class="wp-block-paragraph">So now I really remember why I never really bothered with the environment, as it basically became unusable by Windows NT 3.5</p>



<h2 class="wp-block-heading">Running at home!</h2>



<p class="wp-block-paragraph">I&#8217;ve gone ahead, and uploaded the source to github, and included a binary release.  So you can try this on your own Windows NT 3.1 machine, or try the fight with NT 3.5 or higher and go through the fight yourself.</p>



<p class="wp-block-paragraph"><a href="https://github.com/neozeed/windowsnt31_posix" target="_blank" rel="noreferrer noopener">https://github.com/neozeed/windowsnt31_posix</a></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="634" height="473" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-25.png" alt="" class="wp-image-15708" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-25.png 634w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-25-300x224.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-25-402x300.png 402w" sizes="auto, (max-width: 634px) 100vw, 634px" /></figure>



<p class="wp-block-paragraph">And yes, I did get <a href="https://github.com/neozeed/hack-1.03" target="_blank" rel="noreferrer noopener">hack-1.03</a> running!</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/04/19/fun-with-posx-subsystem-on-nt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Running back to 2002 (the hard way)</title>
		<link>https://virtuallyfun.com/2026/04/06/running-back-to-2002-the-hard-way/</link>
					<comments>https://virtuallyfun.com/2026/04/06/running-back-to-2002-the-hard-way/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 06 Apr 2026 09:18:00 +0000</pubDate>
				<category><![CDATA[disk images]]></category>
		<category><![CDATA[hard disks]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[powerpc]]></category>
		<category><![CDATA[QEMU]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15663</guid>

					<description><![CDATA[This honestly should have been much easier. Or maybe I’ve just forgotten how absolutely hostile early OS X could be. The mistake begins It started, as these things always do, with someone mentioning the PowerBook G4 Titanium. One quick eBay &#8230; <a href="https://virtuallyfun.com/2026/04/06/running-back-to-2002-the-hard-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><a href="https://virtuallyfun.com/wp-content/uploads/2026/04/image-1.png"><img loading="lazy" decoding="async" width="768" height="1024" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-1-768x1024.png" alt="" class="wp-image-15664" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-1-768x1024.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-1-225x300.png 225w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-1.png 820w" sizes="auto, (max-width: 768px) 100vw, 768px" /></a><figcaption class="wp-element-caption">PowerBook G4 Titanium running OS X 10.2 &amp; Microsoft Office 2004</figcaption></figure>



<p class="wp-block-paragraph">This honestly should have been much easier.</p>



<p class="wp-block-paragraph">Or maybe I’ve just forgotten how absolutely hostile early OS X could be.</p>



<h2 class="wp-block-heading">The mistake begins</h2>



<p class="wp-block-paragraph">It started, as these things always do, with someone mentioning the <strong>PowerBook G4 Titanium</strong>. One quick eBay search later and, well £30 later I owned one.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/04/image-2.png"><img loading="lazy" decoding="async" width="820" height="228" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-2.png" alt="" class="wp-image-15665" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-2.png 820w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-2-300x83.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-2-768x214.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-2-500x139.png 500w" sizes="auto, (max-width: 820px) 100vw, 820px" /></a><figcaption class="wp-element-caption">“They got me.”</figcaption></figure>



<p class="wp-block-paragraph">It showed up absurdly fast (Sunday delivery? really?), in surprisingly good condition, and I already had a charger. So naturally, the <em>sensible</em> thing to do was…</p>



<p class="wp-block-paragraph">Install Tiger.<br>Which worked. Immediately. Of course it did.</p>



<h2 class="wp-block-heading">But that wasn’t good enough</h2>



<p class="wp-block-paragraph">Tiger is fine. Great, even.</p>



<p class="wp-block-paragraph">But it’s not <em>Jaguar</em>.</p>



<p class="wp-block-paragraph">10.2 was always my favorite early OS X, that weird in-between era where it still felt experimental but usable. And according to basically everything online, early Titanium PowerBooks should run it.</p>



<p class="wp-block-paragraph">So I grabbed a cheap “reproduction” 10.2 CD set.</p>



<p class="wp-block-paragraph">And this is where everything went wrong.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/04/image-3.png"><img loading="lazy" decoding="async" width="820" height="615" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-3.png" alt="" class="wp-image-15666" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-3.png 820w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-3-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-3-768x576.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-3-400x300.png 400w" sizes="auto, (max-width: 820px) 100vw, 820px" /></a><figcaption class="wp-element-caption">Kernel panic</figcaption></figure>



<p class="wp-block-paragraph">Not a great start.</p>



<p class="wp-block-paragraph">At first glance it looks like some kind of network address corruption, but in reality it’s just the kernel screaming because something is <em>very</em> wrong at a hardware level.</p>



<p class="wp-block-paragraph">Time to go verbose.</p>



<h2 class="wp-block-heading">Welcome back to Open Firmware</h2>



<p class="wp-block-paragraph">You can’t just hold <code>C</code> and <code>Cmd+V</code> like a normal person.</p>



<p class="wp-block-paragraph">No, this is 2002.</p>



<p class="wp-block-paragraph">So into Open Firmware we go:</p>



<pre class="wp-block-preformatted">boot cd:,\\:tbxi -v</pre>



<p class="wp-block-paragraph">Now we get actual output… and a much clearer failure.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/04/image-4.png"><img loading="lazy" decoding="async" width="820" height="615" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-4.png" alt="" class="wp-image-15667" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-4.png 820w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-4-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-4-768x576.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-4-400x300.png 400w" sizes="auto, (max-width: 820px) 100vw, 820px" /></a><figcaption class="wp-element-caption">Kernel panic in the FireWire driver</figcaption></figure>



<h2 class="wp-block-heading">FireWire: the red herring</h2>



<p class="wp-block-paragraph">The panic traces back to:</p>



<pre class="wp-block-preformatted">com.apple.driver.AppleFWOHCI</pre>



<p class="wp-block-paragraph">Ah yes — FireWire.</p>



<p class="wp-block-paragraph">Because of course it is.</p>



<p class="wp-block-paragraph">So the obvious thing to do is disable it from Open Firmware:</p>



<pre class="wp-block-preformatted">dev /pci@f4000000/firewire<br>" disabled" encode-string " status" property</pre>



<p class="wp-block-paragraph">And… it works.</p>



<p class="wp-block-paragraph">Kind of.</p>



<p class="wp-block-paragraph">The system gets further. No panic. Progress!</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2026/04/image-5.png"><img loading="lazy" decoding="async" width="820" height="615" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-5.png" alt="" class="wp-image-15668" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-5.png 820w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-5-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-5-768x576.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-5-400x300.png 400w" sizes="auto, (max-width: 820px) 100vw, 820px" /></a><figcaption class="wp-element-caption">The &#8216;stop sign&#8217; meaning this OS isn&#8217;t supported on this Mac</figcaption></figure>



<h2 class="wp-block-heading">And then: the stop sign</h2>



<p class="wp-block-paragraph">Instead of a crash, we now get a <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f6ab.png" alt="🚫" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p class="wp-block-paragraph">The classic “this OS is not supported on this Mac” symbol.</p>



<p class="wp-block-paragraph">Which is when it finally clicks:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">This machine is a <strong>PowerBook3,5 (867MHz)</strong><br>And <strong>10.2.0 predates it</strong></p>
</blockquote>



<p class="wp-block-paragraph">So no, this was never going to work.</p>



<p class="wp-block-paragraph">The FireWire panic wasn’t the root problem; it was just the first thing new enough hardware broke.</p>



<h2 class="wp-block-heading">At this point, a normal person would stop</h2>



<p class="wp-block-paragraph">I did not stop.</p>



<h2 class="wp-block-heading">If Apple won’t build it, we will</h2>



<p class="wp-block-paragraph">If 10.2.0 won’t run, then clearly the answer is:</p>



<ul class="wp-block-list">
<li>build a <strong>10.2.8 install manually</strong></li>



<li>using <strong>QEMU</strong></li>



<li>on a completely different machine</li>



<li>then sneak it onto the laptop</li>
</ul>



<p class="wp-block-paragraph">Perfectly reasonable.</p>



<h2 class="wp-block-heading">Building Jaguar in exile</h2>



<p class="wp-block-paragraph">QEMU can emulate a G4 well enough to:</p>



<ol class="wp-block-list">
<li>Install Tiger</li>



<li>Install Jaguar</li>



<li>Update Jaguar → <strong>10.2.8</strong></li>
</ol>



<p class="wp-block-paragraph">Something like:</p>



<pre class="wp-block-preformatted">qemu-system-ppc \<br>  -M mac99 \<br>  -cpu G4 \<br>  -m 512 \<br>  -drive file=macosx_6gb.vmdk \<br>  -boot c</pre>



<p class="wp-block-paragraph">From there:</p>



<ul class="wp-block-list">
<li>swap disks around</li>



<li>update Jaguar</li>



<li>boot back into Tiger</li>



<li>use Disk Utility to create a compressed image</li>
</ul>



<p class="wp-block-paragraph">Eventually producing:</p>



<pre class="wp-block-preformatted">osx-10.2.8.dmg</pre>



<h2 class="wp-block-heading">Of course it&#8217;s not that easy!</h2>



<p class="wp-block-paragraph">First off is to get ISO images.  I actually started this process with the Tiger I already have in hand.  To grab an ISO under macOS 26 it&#8217;s a simple command:</p>



<pre class="wp-block-preformatted">hdiutil convert /dev/disk4 -format UDTO -o OSX_Tiger_10.5.iso</pre>



<p class="wp-block-paragraph">And about 20 minutes of the DVD drive spinning around I got my ISO image. </p>



<pre class="wp-block-preformatted"> % file OSX_Tiger_10.5.iso <br>OSX_Tiger_10.5.iso: Apple Driver Map, blocksize 512, blockcount 5531738, devtype 0, devid 0, driver count 1, contains[@0x200]: Apple Partition Map, map block count 4, start block 1, block count 63, name Apple, type Apple_partition_map, valid, allocated, contains[@0x400]: Apple Partition Map, map block count 4, start block 64, block count 8, name Macintosh, type Apple_Driver_ATAPI, boot arguments DMMY, valid, allocated, real driver, chain driver, contains[@0x600]: Apple Partition Map, map block count 4, start block 72, block count 5531656, name Mac_OS_X, type Apple_HFS, boot arguments goon, valid, allocated, readable, writable, mount at startup, contains[@0x800]: Apple Partition Map, map block count 4, start block 5531728, block count 10, type Apple_Free</pre>



<p class="wp-block-paragraph">Now to run it under qemu:</p>



<pre class="wp-block-preformatted">qemu-system-ppc \<br>    -L pc-bios \<br>    -M mac99,via=pmu \<br>    -cpu G4 \<br>    -m 512 \<br>    -prom-env 'auto-boot?=true' \<br>    -prom-env 'boot-args=-v' \<br>    -drive file=tiger.iso,media=cdrom,format=raw \<br>    -drive file=macosx_6gb.vmdk,format=vmdk,cache=unsafe \<br>    -boot d \<br>    -net none \<br>    -no-reboot</pre>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="632" src="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-9.41.23-AM.png" alt="" class="wp-image-15673" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-9.41.23-AM.png 802w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-9.41.23-AM-300x236.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-9.41.23-AM-768x605.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-9.41.23-AM-381x300.png 381w" sizes="auto, (max-width: 802px) 100vw, 802px" /><figcaption class="wp-element-caption">Tiger on QEMU / OS X Tahoe 26.4</figcaption></figure>



<p class="wp-block-paragraph">And in a minute or so on my mac mini running &#8220;QEMU emulator version 10.1.2&#8221; from homebrew I was up and running. yay. I don&#8217;t need or care about audio/networking as this is just to get a PowerPC OS up and running, using the media I have in hand.  Bring up the disk util, partition the VMDK, the install the OS. You&#8217;ve probably seen/done it a dozen times so nothing to really see here.</p>



<p class="wp-block-paragraph">Once my 10.2 reproduction media arrive, I went through the hardware boot to only find out that 10.2.0 just won&#8217;t run on my PowerBook G4.  This is where we use the emulation route.  Could I simply grab an ISO using hdiutil?</p>



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



<p class="wp-block-paragraph">Of course not. Why would it work?  It comes down to the older versions of OS X being very MacOS 9 style disks, which hdiutil simply will not grab. You end up with meaningless data.  What about &#8216;dd&#8217; on /dev/disk4? /dev/rdisk4?  did you set bs=2048? YES YES YES&#8230; none worked.</p>



<p class="wp-block-paragraph">So back in homebrew I got the cdrutils from Joerg Schilling which gives me the readcd command, which finally let me grab the ISO&#8217;s </p>



<pre class="wp-block-preformatted">% file OSX_Jaguar_10.2-disc1.iso<br>OSX_Jaguar_10.2-disc1.iso: Apple Driver Map, blocksize 2048, blockcount 331264, devtype 1, devid 1, driver count 4, contains[@0x200]: Apple Partition Map, map block count 10, start block 1, block count 63, name Apple, type Apple_partition_map, valid, allocated, in use, readable, contains[@0x400]: Apple Partition Map, map block count 10, start block 64, block count 56, name Macintosh, type Apple_Driver43, boot arguments ptDR, valid, allocated, in use, has boot info, readable, writable, pic boot code, real driver, chain driver, contains[@0x600]: Apple Partition Map, map block count 10, start block 120, block count 140, name Macintosh, type Apple_Driver43_CD, boot arguments CDrv, valid, allocated, in use, has boot info, readable, writable, pic boot code, real driver, chain driver, contains[@0x800]: Apple Partition Map, map block count 10, start block 0, block count 0, type Apple_Void, contains[@0xA00]: Apple Partition Map, map block count 10, start block 260, block count 56, name Macintosh, type Apple_Driver_ATAPI, boot arguments ptDR, valid, allocated, in use, has boot info, readable, writable, pic boot code, real driver, chain driver, contains[@0xC00]: Apple Partition Map, map block count 10, start block 316, block count 140, name Macintosh, type Apple_Driver_ATAPI, boot arguments ATPI, valid, allocated, in use, has boot info, readable, writable, pic boot code, real driver, chain driver, contains[@0xE00]: Apple Partition Map, map block count 10, start block 456, block count 512, name Patch Partition, type Apple_Patches, valid, contains[@0x1000]: Apple Partition Map, map block count 10, start block 0, block count 0, type Apple_Void</pre>



<p class="wp-block-paragraph">As you can see it&#8217;s a lot of partitions, and various bits that it&#8217;s expecting.  Kind of annoying that the system utils cannot grab these kinds of images, but in the end we got there.</p>



<p class="wp-block-paragraph">Naturally, Jaguar has to be run differently as it&#8217;s just more tied to older hardware:</p>



<pre class="wp-block-preformatted">qemu-system-ppc \<br>-machine mac99 \<br>-cpu G4 -m 1G \<br>-name "Mac OS X 10.2" \<br>-hda "macosx_6gb.vmdk" \<br>-cdrom "OSX_Jaguar_10.2-disc1.iso" \<br>-device pci-ohci,id=usb1 \<br>-device usb-mouse,bus=usb1.0 \<br>-device usb-kbd,bus=usb-bus.0 \<br>-device usb-audio,bus=usb1.0,audiodev=audio \<br>-audiodev id=audio,driver=coreaudio \<br>-device sungem,netdev=network \<br>-netdev id=network,type=user \<br>-no-reboot \<br>-accel tcg \<br>-boot d</pre>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="801" height="627" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-7.png" alt="" class="wp-image-15674" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-7.png 801w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-7-300x235.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-7-768x601.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-7-383x300.png 383w" sizes="auto, (max-width: 801px) 100vw, 801px" /><figcaption class="wp-element-caption">Jaguar installer</figcaption></figure>



<p class="wp-block-paragraph">The next catch is that the diskutil just hangs partitioning the hard disk. I&#8217;ve no idea why.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="456" height="172" src="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-05-at-10.45.28-AM.png" alt="" class="wp-image-15675" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-05-at-10.45.28-AM.png 456w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-05-at-10.45.28-AM-300x113.png 300w" sizes="auto, (max-width: 456px) 100vw, 456px" /><figcaption class="wp-element-caption">It just currently hangs forever on 10.2</figcaption></figure>



<p class="wp-block-paragraph">So, the solution is to boot back into Tiger, add a second disk, partition it there, and then use that disk in the Jaguar boot.  After that it installs just fine.  I enabled the sound and network just to setup NTP so at least my image isn&#8217;t too stuck in 2002.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="756" height="497" src="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-10.05.21-AM.png" alt="" class="wp-image-15676" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-10.05.21-AM.png 756w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-10.05.21-AM-300x197.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/Screenshot-2026-04-06-at-10.05.21-AM-456x300.png 456w" sizes="auto, (max-width: 756px) 100vw, 756px" /></figure>



<p class="wp-block-paragraph">Oh, one trick I found out decades too late, is that you can cloverQ the named registration, so you don&#8217;t have to make up bogus phone numbers and a semi valid mailing address.  I didn&#8217;t know is that, it&#8217;ll just kick you to the account creation screen, and you are good to go!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="808" height="632" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-8.png" alt="" class="wp-image-15677" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-8.png 808w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-8-300x235.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-8-768x601.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-8-384x300.png 384w" sizes="auto, (max-width: 808px) 100vw, 808px" /><figcaption class="wp-element-caption">OS X 10.2.0 installed into QEMU</figcaption></figure>



<p class="wp-block-paragraph">After that it&#8217;s just a matter of running the 10.2.8 combination patch, to bring the VM up to 10.2.8</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="623" height="444" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-9.png" alt="" class="wp-image-15678" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-9.png 623w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-9-300x214.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-9-421x300.png 421w" sizes="auto, (max-width: 623px) 100vw, 623px" /><figcaption class="wp-element-caption">10.2.8 Combo update</figcaption></figure>



<p class="wp-block-paragraph">From there the final hurdel is to create a RAW disk image to transfer the Tiger diskutil &#8216;disk image&#8217; to.  This way you can easily mount the RAW image by renaming the extension to .dmg and OS X (thankfully) still supprots HFS+ so you can simply use finder or &#8216;cp&#8217; to copy off the compressed disk image onto a USB drive, and now we are ready to image the PowerBook using our updated OS X Jaguar!<br></p>



<h2 class="wp-block-heading">The USB betrayal</h2>



<p class="wp-block-paragraph">Naturally, the Tiger installer refused to mount USB.</p>



<p class="wp-block-paragraph">Because of course it did.</p>



<h2 class="wp-block-heading">The final workaround</h2>



<p class="wp-block-paragraph">So instead:</p>



<ol class="wp-block-list">
<li>Repartition internal disk
<ul class="wp-block-list">
<li>small staging partition (~4GB)</li>



<li>main target partition (remainder of the disk)</li>
</ul>
</li>



<li>Install Tiger (again)</li>



<li>Copy <code>10.2.8.dmg</code> to staging partition</li>



<li>Boot Tiger installer</li>



<li>Use Disk Utility → <strong>Restore image onto main partition</strong></li>
</ol>



<p class="wp-block-paragraph">And finally…</p>



<figure class="wp-block-image size-large"><a href="https://virtuallyfun.com/wp-content/uploads/2026/04/image-6.png"><img loading="lazy" decoding="async" width="768" height="1024" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-6-768x1024.png" alt="" class="wp-image-15669" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-6-768x1024.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-6-225x300.png 225w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-6.png 820w" sizes="auto, (max-width: 768px) 100vw, 768px" /></a><figcaption class="wp-element-caption">10.2.8 running on the PowerBook G4</figcaption></figure>



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



<p class="wp-block-paragraph">Jaguar 10.2.8.</p>



<p class="wp-block-paragraph">On a machine that absolutely refused to run 10.2.0.</p>



<p class="wp-block-paragraph">With Office 2004, because why not.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Lessons learned</h2>



<ul class="wp-block-list">
<li>Early OS X is <strong>tightly hardware-bound</strong>, not just “older”</li>



<li>Kernel panics are often <strong>symptoms, not causes</strong></li>



<li>FireWire was innocent (this time)</li>



<li>USB support in installers was… optimistic</li>
</ul>



<p class="wp-block-paragraph">And most importantly:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Just because you <em>can</em> reconstruct a historically accurate install pipeline via emulation and disk imaging…<br>doesn’t mean you should.</p>
</blockquote>



<h2 class="wp-block-heading">The obvious solution (that I ignored)</h2>



<p class="wp-block-paragraph">A single FireWire cable.</p>



<p class="wp-block-paragraph">Target Disk Mode.</p>



<p class="wp-block-paragraph">Done in 20 minutes, by using my B&amp;W G3 PowerMac that is currently running Windows NT, but it wouldn&#8217;t matter as I could just hold option and select the FireWire target disk to boot to/from as it&#8217;ll happily boot/install 10.2.0 without a hitch.  It being a G3 makes no difference as the same kernel works on G3/G4 processors.</p>



<h2 class="wp-block-heading">But where’s the fun in that?</h2>



<p class="wp-block-paragraph">For those brave enough to get to the end of the post, I uploaded all my <a href="https://archive.org/details/osx-jaguar-10.2-2disc">Jaguar images onto archive.org</a>.  I&#8217;m sure it&#8217;s been preserved before, but since I was in the mood, I also uploaded <a href="https://archive.org/details/microsoft-office-2004_202604">Office 2004</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/04/06/running-back-to-2002-the-hard-way/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SABRE Fighter Plane Simulator for Windows NT RISC</title>
		<link>https://virtuallyfun.com/2026/04/03/sabre-fighter-plane-simulator-for-windows-nt-risc/</link>
					<comments>https://virtuallyfun.com/2026/04/03/sabre-fighter-plane-simulator-for-windows-nt-risc/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Fri, 03 Apr 2026 06:42:38 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15660</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) SABRE is a little known flight / fighter combat simulator set around F-86 and MiG-15 jet fighters and Korean War. Developed by Dan Hammer and originally hosted at sabre.cobite.com. It &#8230; <a href="https://virtuallyfun.com/2026/04/03/sabre-fighter-plane-simulator-for-windows-nt-risc/">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">SABRE is a little known flight / fighter combat simulator set around <a href="https://en.wikipedia.org/wiki/North_American_F-86D_Sabre">F-86</a> and <a href="https://en.wikipedia.org/wiki/Mikoyan-Gurevich_MiG-15">MiG-15</a> jet fighters and Korean War. Developed by <a href="https://danhammer.carrd.co/">Dan Hammer</a> and originally hosted at <a href="https://web.archive.org/web/20000303040001/http://sabre.cobite.com/">sabre.cobite.com</a>. It was available for Linux and Windows. While GPL the Windows source code was not widely available for download, but Dan eventually released it on his website. Someone put it on <a href="https://github.com/ysangkok/sabre">github</a>. There has been an Alpha AXP version <a href="http://tenox.pdp-11.ru/os/winnt/Apps/axp/games/sabre032a-ANT-ns.rar" data-type="link" data-id="http://tenox.pdp-11.ru/os/winnt/Apps/axp/games/sabre032a-ANT-ns.rar">floating around</a>. But no MIPS, PowerPC, Itanium or ARM.</p>



<p class="wp-block-paragraph">I got to work and with help of robots was able to downgrade VS2008 code to compile on VS4 and got it built for Alpha AXP, MIPS and PowerPC! It&#8217;s surprisingly fast and high FPS even on slowest machines! Great game for your <a href="https://github.com/Wack0/entii-for-workcubes" data-type="link" data-id="https://github.com/Wack0/entii-for-workcubes">NTii</a>!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="560" src="https://virtuallyfun.com/wp-content/uploads/2026/04/image-1024x560.png" alt="" class="wp-image-15661" srcset="https://virtuallyfun.com/wp-content/uploads/2026/04/image-1024x560.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-300x164.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-768x420.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/04/image-500x273.png 500w, https://virtuallyfun.com/wp-content/uploads/2026/04/image.png 1056w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">SABRE Fighter Plane Simulator running on Alpha AXP Windows NT 4.0</figcaption></figure>



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



<p class="wp-block-paragraph">Also, if you don&#8217;t have NT RISC hardware to try it, it works on <a href="https://virtuallyfun.com/2021/11/10/revisiting-windows-nt-4-0-mips-on-qemu/">NT MIPS QEMU</a>. There also is a port to MacOS including <a href="https://github.com/tenox7/sabreOSX">Apple Silicon</a>.</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/04/03/sabre-fighter-plane-simulator-for-windows-nt-risc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>OpenTTD Windows NT RISC</title>
		<link>https://virtuallyfun.com/2026/03/28/openttd-windows-nt-risc/</link>
					<comments>https://virtuallyfun.com/2026/03/28/openttd-windows-nt-risc/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sat, 28 Mar 2026 07:21:06 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15655</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) A couple of years ago 1984 aka Nitton Åttiofyra ported OpenTTD to Alpha AXP Windows NT. This was a monumental work and we&#8217;re extremely grateful for this! However I was &#8230; <a href="https://virtuallyfun.com/2026/03/28/openttd-windows-nt-risc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">(This is a guest post by Antoni Sawicki aka Tenox)</p>



<p class="wp-block-paragraph">A couple of years ago 1984 aka Nitton Åttiofyra <a href="https://www.youtube.com/watch?v=LyKl2UVg_As">ported OpenTTD to Alpha AXP Windows NT</a>. This was a monumental work and we&#8217;re extremely grateful for this! </p>



<p class="wp-block-paragraph">However I was not fully satisfied with this, as I could not run it on MIPS or PowerPC. This port required Visual Studio 6.0, which is not available for either of these platforms. Downgrading the code to compile with older visual C was quite a lot of work for which I did not have time. </p>



<p class="wp-block-paragraph">Fortunately now we have a tireless army of robots to perform code rewrites. With help of LLM I got it to build on Visual C 4.0. Now available for all NT RISC platforms!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="842" src="https://virtuallyfun.com/wp-content/uploads/2026/03/ttdmips-1024x842.png" alt="" class="wp-image-15656" srcset="https://virtuallyfun.com/wp-content/uploads/2026/03/ttdmips-1024x842.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/03/ttdmips-300x247.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/03/ttdmips-768x631.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/03/ttdmips-365x300.png 365w, https://virtuallyfun.com/wp-content/uploads/2026/03/ttdmips.png 1299w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">OpenTTD running on Windows NT MIPS on QEMU</figcaption></figure>



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



<p class="wp-block-paragraph">Have fun with virtualization!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/03/28/openttd-windows-nt-risc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SDLPoP &#8211; Price of Persia for Windows NT RISC &#8211; Alpha, MIPS and PowerPC</title>
		<link>https://virtuallyfun.com/2026/03/24/sdlpop-price-of-persia-for-windows-nt-risc-alpha-mips-and-powerpc/</link>
					<comments>https://virtuallyfun.com/2026/03/24/sdlpop-price-of-persia-for-windows-nt-risc-alpha-mips-and-powerpc/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Tue, 24 Mar 2026 05:37:14 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15648</guid>

					<description><![CDATA[(This a guest post by Antoni Sawicki aka Tenox) SDLPoP has been ported to Windows NT for RISC &#8211; Alpha, MIPS and PowerPC. Download from here. In addition SDL2 is also now available for NT4. Hopefully this will enable more &#8230; <a href="https://virtuallyfun.com/2026/03/24/sdlpop-price-of-persia-for-windows-nt-risc-alpha-mips-and-powerpc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>(This a guest post by Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph"><a href="https://www.popot.org/get_the_games.php?game=SDLPoP" data-type="link" data-id="https://www.popot.org/get_the_games.php?game=SDLPoP">SDLPoP</a> has been ported to Windows NT for RISC &#8211; Alpha, MIPS and PowerPC.</p>



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



<p class="wp-block-paragraph">In addition <a href="https://github.com/tenox7/SDL4NT" data-type="link" data-id="https://github.com/tenox7/SDL4NT">SDL2</a> is also now available for NT4. Hopefully this will enable more ports of various games and apps!</p>



<figure class="wp-block-video"><video height="1052" style="aspect-ratio: 1282 / 1052;" width="1282" controls src="https://virtuallyfun.com/wp-content/uploads/2026/03/mipsprince.mp4"></video><figcaption class="wp-element-caption">SDLPoP on Windows NT 4.0 MIPS on QEMU</figcaption></figure>



<p class="wp-block-paragraph"><a href="https://virtuallyfun.com/2025/08/15/microsoft-word-6-0-for-powerpc-nt/" data-type="post" data-id="15331">Previously</a> and <a href="https://virtuallyfun.com/2024/07/13/rairiis-incredible-port-of-arc-drivers-for-nt-powerpc-to-g3-macintoshes/" data-type="link" data-id="https://virtuallyfun.com/2024/07/13/rairiis-incredible-port-of-arc-drivers-for-nt-powerpc-to-g3-macintoshes/">previously</a></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/03/24/sdlpop-price-of-persia-for-windows-nt-risc-alpha-mips-and-powerpc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://virtuallyfun.com/wp-content/uploads/2026/03/mipsprince.mp4" length="3146638" type="video/mp4" />

			</item>
		<item>
		<title>WinTown &#8211; Micropolis (SimCity) for NT RISC</title>
		<link>https://virtuallyfun.com/2026/03/08/wintown-micropolis-simcity-for-nt-risc/</link>
					<comments>https://virtuallyfun.com/2026/03/08/wintown-micropolis-simcity-for-nt-risc/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sun, 08 Mar 2026 02:16:08 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15636</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) If you ever wanted to play SimCity on a NT RISC machine, your dreams finally came true! The initial port happened some time last year but it was quite buggy &#8230; <a href="https://virtuallyfun.com/2026/03/08/wintown-micropolis-simcity-for-nt-risc/">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">If you ever wanted to play SimCity on a NT RISC machine, your dreams finally came true! </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="818" src="https://virtuallyfun.com/wp-content/uploads/2026/03/wintownmips-1024x818.png" alt="" class="wp-image-15637" srcset="https://virtuallyfun.com/wp-content/uploads/2026/03/wintownmips-1024x818.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/03/wintownmips-300x240.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/03/wintownmips-768x614.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/03/wintownmips-375x300.png 375w, https://virtuallyfun.com/wp-content/uploads/2026/03/wintownmips.png 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">WinTown aka Micropolis aka SimCity running on NT MIPS</figcaption></figure>



<p class="wp-block-paragraph">The initial port happened some time last year but it was quite buggy and not fully playable. This release fixes all major bugs. Most importantly however it wraps around the original Unix SimCity C code from DUX instead of re-implementing it. Only the Win32 / GDI, dialogs, etc is custom Windows code.</p>



<p class="wp-block-paragraph">Rlease 0.6 binaries: <a href="https://github.com/tenox7/wintown/releases/tag/0.6">https://github.com/tenox7/wintown/releases/tag/0.6</a></p>



<p class="wp-block-paragraph">Supports Alpha AXP, MIPS, PowerPC, Itanium (IA64) and ARM. Currently targets NT 4.0 and above, but work is being made to make it run on NT 3.1.</p>



<p class="wp-block-paragraph">Github Repo: <a href="https://github.com/tenox7/wintown">https://github.com/tenox7/wintown</a></p>



<p class="wp-block-paragraph">Please report bugs and contribute, PRs welcome!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/03/08/wintown-micropolis-simcity-for-nt-risc/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
