<?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>MIPS &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/mips/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Sat, 14 Nov 2026 08:51:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>
	<item>
		<title>The Ultimate Windows NT MIPS VM</title>
		<link>https://virtuallyfun.com/2026/11/07/the-ultimate-windows-nt-mips-vm/</link>
					<comments>https://virtuallyfun.com/2026/11/07/the-ultimate-windows-nt-mips-vm/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sat, 07 Nov 2026 08:37:42 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=16257</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) In my previous posts I covered NT MIPS on QEMU Jazz and on the Siemens RM-200. Time for the ultimate one! Behold! Windows NT 4.0 Server with 4-way MIPS SMP! &#8230; <a href="https://virtuallyfun.com/2026/11/07/the-ultimate-windows-nt-mips-vm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>(This is a guest post by Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph">In my previous posts I covered NT MIPS on <a href="https://virtuallyfun.com/2021/11/10/revisiting-windows-nt-4-0-mips-on-qemu/">QEMU Jazz</a> and on the <a href="https://virtuallyfun.com/2026/10/12/windows-nt-4-0-mips-on-siemens-rm-200-emulated-in-qemu/">Siemens RM-200</a>. Time for the ultimate one!</p>



<p class="wp-block-paragraph">Behold! Windows NT 4.0 Server with 4-way MIPS SMP!</p>



<figure class="wp-block-image size-large"><a href="https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load.png"><img fetchpriority="high" decoding="async" width="1024" height="819" src="https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load-1024x819.png" alt="Windows NT 4.0 Server MIPS Task Manager with 4 CPUs at 100% and NTFETCH showing 4 x MIPS R4400" class="wp-image-16254" srcset="https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load-1024x819.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load-300x240.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load-768x614.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load-375x300.png 375w, https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-load.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">4 CPUs, all busy</figcaption></figure>



<p class="wp-block-paragraph">Specs: <code>Siemens Nixdorf RM300-C, 4 x MIPS R4400, 128MB RAM, Cirrus 1280x1024 256 colors, AMD PCnet</code></p>



<p class="wp-block-paragraph">Each guest CPU runs on its own separate host core. Real R4400 boards had at most 2 CPUs, but the firmware and the NT HAL handle 4 just fine. It has to be Windows Server, as Workstation only supports 2 CPUs.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="640" height="400" src="https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-boot.png" alt="Windows NT 4.0 MIPS boot screen: 4 System Processors [128 MB Memory] MultiProcessor Kernel" class="wp-image-16255" srcset="https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-boot.png 640w, https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-boot-300x188.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-smp4-boot-480x300.png 480w" sizes="(max-width: 640px) 100vw, 640px" /></figure>



<p class="wp-block-paragraph"><strong>CPU idle detection!</strong> NT&#8217;s idle loop just spins. LEMU detects it and halts the CPU instead. On my Mac the idle VM uses ~10% of one host core. Without it the same idle desktop burns 3 full cores!</p>



<p class="wp-block-paragraph"><strong>Seamless mouse!</strong> Remember the mouse issues from the Jazz post? All solved now thanks to the <a href="https://github.com/tenox7/lemu/tree/master/machines/vmmouse">vmmouse</a> driver. No more mouse grab, the pointer just moves in and out of the window, and the scroll wheel works!</p>



<figure class="wp-block-image size-full"><img decoding="async" width="504" height="458" src="https://virtuallyfun.com/wp-content/uploads/2026/11/nt4mips-seamless-mouse.gif" alt="Animation: the mouse pointer moves in and out of the QEMU window running Windows NT 4.0 MIPS without a mouse grab" class="wp-image-16258"/><figcaption class="wp-element-caption">Look ma, no mouse grab!</figcaption></figure>



<p class="wp-block-paragraph">Ready to run portable image for macOS (Apple Silicon), Linux x64 and Windows x64. Unpack and run <code>run.sh</code> or <code>run.cmd</code>. At &#8220;Hit any key to continue&#8221; press Enter twice. NT logs on by itself as <code>Administrator</code> / <code>password</code>.</p>



<p class="wp-block-paragraph">Download: <a href="https://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt4srv-rm300-smp4-lemu.tar.lz">https://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt4srv-rm300-smp4-lemu.tar.lz</a></p>



<p class="wp-block-paragraph">Source (LEMU, my QEMU fork): <a href="https://github.com/tenox7/lemu">https://github.com/tenox7/lemu</a></p>



<p class="wp-block-paragraph">Have Fun with Virtualization!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/11/07/the-ultimate-windows-nt-mips-vm/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Ultrix 4.5 on GXemul w/Apps!</title>
		<link>https://virtuallyfun.com/2026/11/06/ultrix-4-5-on-gxemul-w-apps/</link>
					<comments>https://virtuallyfun.com/2026/11/06/ultrix-4-5-on-gxemul-w-apps/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Fri, 06 Nov 2026 04:06:39 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=16242</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) Ultrix on gxemul is nothing new. The DECstation is gxemul&#8217;s oldest and most complete machine mode, and it has run Ultrix for over 20 years. What&#8217;s new is Rico&#8217;s fork, &#8230; <a href="https://virtuallyfun.com/2026/11/06/ultrix-4-5-on-gxemul-w-apps/">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">Ultrix on gxemul is nothing new. The DECstation is gxemul&#8217;s oldest and most complete machine mode, and it has run Ultrix for over 20 years. What&#8217;s new is <a href="https://github.com/rpajarola/gxemul">Rico&#8217;s fork</a>, which fixes a ton: the real KN02-AA PROM boots, the LK201 keyboard works, faster NAT, NFS, and best of all high resolution graphics!</p>



<p class="wp-block-paragraph">Behold! Ultrix V4.5 in <strong>1280&#215;1024</strong> on an emulated DECstation 5000/200 (3MAX, R3000, 128 MB) with the HX (PMAGB-BA) color frame buffer:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="880" src="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-desktop-1024x880.png" alt="Ultrix 4.5 DECwindows desktop, DECterm showing uname -a: ULTRIX ds5000 4.5 0 RISC" class="wp-image-16238" srcset="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-desktop-1024x880.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-desktop-300x258.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-desktop-768x660.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-desktop-349x300.png 349w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-desktop.png 1282w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Ultrix V4.5 on an emulated DECstation 5000/200</figcaption></figure>



<p class="wp-block-paragraph">The high resolution HX is new here. Stock gxemul topped out at a lower res frame buffer. Rico emulated the HX&#8217;s SFB drawing chip &mdash; fills, stipples, lines, copies, all 16 raster ops &mdash; so Ultrix&#8217;s X server drives it directly. <code>uname</code> says it all: <code>ULTRIX ds5000 4.5 0 RISC</code>.</p>



<p class="wp-block-paragraph">Best of all, the image comes with a pile of cool software already installed and ready to run. Let&#8217;s look at some apps!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="819" src="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-mathematica-1024x819.png" alt="Mathematica 2.2 running on Ultrix 4.5" class="wp-image-16239" srcset="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-mathematica-1024x819.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-mathematica-300x240.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-mathematica-768x614.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-mathematica-375x300.png 375w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-mathematica.png 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Mathematica 2.2</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="816" src="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-coreldraw-1024x816.png" alt="CorelDRAW 3 running on Ultrix 4.5" class="wp-image-16240" srcset="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-coreldraw-1024x816.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-coreldraw-300x239.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-coreldraw-768x612.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-coreldraw-376x300.png 376w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-coreldraw.png 1276w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">CorelDRAW 3</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="880" src="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-framemaker-1024x880.png" alt="FrameMaker 2.1X running on Ultrix 4.5" class="wp-image-16241" srcset="https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-framemaker-1024x880.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-framemaker-300x258.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-framemaker-768x660.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-framemaker-349x300.png 349w, https://virtuallyfun.com/wp-content/uploads/2026/11/ultrix45-framemaker.png 1283w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">FrameMaker 2.1X</figcaption></figure>



<p class="wp-block-paragraph">There is more under the hood: gcc 3.0.4 and the GNU tools, bash, vim with Motif, xv, and even NCSA Mosaic for some retro web browsing. Ultrix V4.5 (Rev. 47) itself is patched up with DEC&#8217;s late 1997 Y2K fixes.</p>



<p class="wp-block-paragraph">As usual I have prepared a ready to run, portable image with gxemul binaries for Linux, macOS and Windows. Just unpack and run <code>run.sh</code> (or <code>run.cmd</code> on Windows), type <code>boot</code> at the <code>&gt;&gt;</code> prompt, and log in as <code>root</code> with password <code>ultrix</code>.</p>



<p class="wp-block-paragraph">Download: <a href="https://files.42718.net/mirror/tenox/os/ultrix/virt/decstation5000-ultrix45-gxemul.tar.lz">https://files.42718.net/mirror/tenox/os/ultrix/virt/decstation5000-ultrix45-gxemul.tar.lz</a></p>



<p class="wp-block-paragraph">Rico&#8217;s fork: <a href="https://github.com/rpajarola/gxemul">https://github.com/rpajarola/gxemul</a></p>



<p class="wp-block-paragraph">Have Fun with Virtualization!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/11/06/ultrix-4-5-on-gxemul-w-apps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows NT 3.1 MIPS on QEMU</title>
		<link>https://virtuallyfun.com/2026/10/13/windows-nt-3-1-mips-on-qemu/</link>
					<comments>https://virtuallyfun.com/2026/10/13/windows-nt-3-1-mips-on-qemu/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Tue, 13 Oct 2026 09:12:53 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 3.1]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=16012</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) Behold! QEMU Jazz emulator can now boot and run NT 3.1 MIPS With high res and networking fully working! LEMU (a QEMU fork): github.com/tenox7/lemu Ready to run image: http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt31mips-lemu.tar.lz]]></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">Behold! QEMU Jazz emulator can now boot and run NT 3.1 MIPS</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="432" height="232" src="https://virtuallyfun.com/wp-content/uploads/2026/10/image-7-edited.png" alt="" class="wp-image-16014" srcset="https://virtuallyfun.com/wp-content/uploads/2026/10/image-7-edited.png 432w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-7-edited-300x161.png 300w" sizes="auto, (max-width: 432px) 100vw, 432px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="846" src="https://virtuallyfun.com/wp-content/uploads/2026/10/image-8-1024x846.png" alt="" class="wp-image-16015" srcset="https://virtuallyfun.com/wp-content/uploads/2026/10/image-8-1024x846.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-8-300x248.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-8-768x635.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-8-363x300.png 363w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-8.png 1301w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">With high res and networking fully working!</p>



<p class="wp-block-paragraph">LEMU (a QEMU fork): <a href="https://github.com/tenox7/lemu">github.com/tenox7/lemu</a></p>



<p class="wp-block-paragraph">Ready to run image: <a href="http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt31mips-lemu.tar.lz">http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt31mips-lemu.tar.lz</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/10/13/windows-nt-3-1-mips-on-qemu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows NT 4.0 MIPS on Siemens RM-200 emulated in QEMU</title>
		<link>https://virtuallyfun.com/2026/10/12/windows-nt-4-0-mips-on-siemens-rm-200-emulated-in-qemu/</link>
					<comments>https://virtuallyfun.com/2026/10/12/windows-nt-4-0-mips-on-siemens-rm-200-emulated-in-qemu/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Mon, 12 Oct 2026 08:51:40 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=16007</guid>

					<description><![CDATA[(This is a guest post from Antoni Sawicki aka Tenox) In my previous post I featured SINIX-N on MIPS based Siemens RM-200 emulated in QEMU. Since I did some work on RM-200 QEMU and this system is also capable of &#8230; <a href="https://virtuallyfun.com/2026/10/12/windows-nt-4-0-mips-on-siemens-rm-200-emulated-in-qemu/">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 Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph">In my previous post I featured <a href="https://virtuallyfun.com/2026/10/09/sinix-n-aka-reliant-unix-on-qemu-mips/" data-type="post" data-id="15988">SINIX-N on MIPS based Siemens RM-200 emulated in QEMU</a>. </p>



<p class="wp-block-paragraph">Since I did some work on RM-200 QEMU and this system is also capable of running Windows NT MIPS in Lite Endian mode (the CPU can switch endianness) I decided to also get it working:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="740" height="452" src="https://virtuallyfun.com/wp-content/uploads/2026/10/image-5.png" alt="" class="wp-image-16008" srcset="https://virtuallyfun.com/wp-content/uploads/2026/10/image-5.png 740w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-5-300x183.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-5-491x300.png 491w" sizes="auto, (max-width: 740px) 100vw, 740px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="804" src="https://virtuallyfun.com/wp-content/uploads/2026/10/image-6-1024x804.png" alt="" class="wp-image-16009" srcset="https://virtuallyfun.com/wp-content/uploads/2026/10/image-6-1024x804.png 1024w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-6-300x236.png 300w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-6-768x603.png 768w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-6-382x300.png 382w, https://virtuallyfun.com/wp-content/uploads/2026/10/image-6.png 1040w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">I have previously covered<a href="https://virtuallyfun.com/2021/11/10/revisiting-windows-nt-4-0-mips-on-qemu/" data-type="link" data-id="https://virtuallyfun.com/2021/11/10/revisiting-windows-nt-4-0-mips-on-qemu/"> NT on MIPS QEMU Jazz</a> emulated machine. This is not that much different and fundamentally very close. Just a different machine with different firmware and peripherals. Also much newer QEMU version. </p>



<p class="wp-block-paragraph">LEMU (a QEMU fork): <a href="https://github.com/tenox7/lemu">github.com/tenox7/lemu</a></p>



<p class="wp-block-paragraph">Ready to run image: <a href="http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt4-rm200-lemu.tar.lz">http://files.42718.net/mirror/tenox/os/winnt/VMs/qemu-mips/nt4-rm200-lemu.tar.lz</a></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2026/10/12/windows-nt-4-0-mips-on-siemens-rm-200-emulated-in-qemu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MIPS RISC/os on MAME</title>
		<link>https://virtuallyfun.com/2025/11/10/mips-risc-os-on-mame/</link>
					<comments>https://virtuallyfun.com/2025/11/10/mips-risc-os-on-mame/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Mon, 10 Nov 2025 06:18:18 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[MAME]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[SYSV]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15512</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) This is a very lazy post. I didn&#8217;t do anything here&#8230; I don&#8217;t exactly remember where it came from but I had this HDD dump of a pre-installed RISC/os 4.52 &#8230; <a href="https://virtuallyfun.com/2025/11/10/mips-risc-os-on-mame/">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">This is a very lazy post. I didn&#8217;t do anything here&#8230; I don&#8217;t exactly remember where it came from but I had this <a href="http://files.42718.net/mirror/tenox/os/risc_os/MIPS-rc2030-RISCos-4.52-hdd.rar" data-type="link" data-id="http://files.42718.net/mirror/tenox/os/risc_os/MIPS-rc2030-RISCos-4.52-hdd.rar">HDD dump</a> of a pre-installed <a href="https://www.umips.net/riscos/">RISC/os </a>4.52 for MIPS Systems RC2030 lying around. It might have came from <a href="http://bitsavers.org/bits/MIPS/RISCos/">bitsavers</a> and/or <a href="https://web.archive.org/web/20160529213441/http://yahozna.dyndns.org/scratch/mips/">here</a>? I was recently contacted by <em>Enrique Tejeda Canobbio</em> who managed to convert the image into a chd format and boot it up on MAME which has <a href="https://wiki.mamedev.org/index.php/Driver:MIPS">MIPS support</a>!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="842" src="https://virtuallyfun.com/wp-content/uploads/2025/11/mipsboot-1024x842.png" alt="" class="wp-image-15513" srcset="https://virtuallyfun.com/wp-content/uploads/2025/11/mipsboot-1024x842.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/11/mipsboot-300x247.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/11/mipsboot-768x631.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/11/mipsboot-365x300.png 365w, https://virtuallyfun.com/wp-content/uploads/2025/11/mipsboot.png 1291w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">MIPS Systems RC2030 on MAME</figcaption></figure>



<p class="wp-block-paragraph">It turns out the disk image had some non trivial password set for the root account, but with help of hashcat and a decent GPU we got it cracked in 20 minutes or so. Here for your viewing pleasure is the fully working OS:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="841" src="https://virtuallyfun.com/wp-content/uploads/2025/11/mips_riscos-1024x841.png" alt="" class="wp-image-15514" srcset="https://virtuallyfun.com/wp-content/uploads/2025/11/mips_riscos-1024x841.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/11/mips_riscos-300x246.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/11/mips_riscos-768x631.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/11/mips_riscos-365x300.png 365w, https://virtuallyfun.com/wp-content/uploads/2025/11/mips_riscos.png 1298w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">MIPS RISC/os 4.52 running on RS2030 on MAME</figcaption></figure>



<p class="wp-block-paragraph">The system comes with a working C compiler and there are known some ports of various <a href="https://www.geekdot.com/tag/mips/">applications, also X11R5</a>. I will post an update once I add some more stuff to the base image. For now just wanted to get this out in to the wild!</p>



<p class="wp-block-paragraph">Download from <a href="http://files.42718.net/mirror/tenox/os/risc_os/VM/riscos452_mame.tar.lz">here</a>! Login root/root. The root password for the original image is <code>Wivvle1!</code></p>



<p class="wp-block-paragraph">Please post comments or ping me on Discord if you get networking or X11 working!</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2025/11/10/mips-risc-os-on-mame/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Microsoft Word 6.0 for PowerPC NT</title>
		<link>https://virtuallyfun.com/2025/08/15/microsoft-word-6-0-for-powerpc-nt/</link>
					<comments>https://virtuallyfun.com/2025/08/15/microsoft-word-6-0-for-powerpc-nt/#comments</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Fri, 15 Aug 2025 07:24:31 +0000</pubDate>
				<category><![CDATA[DEC Alpha]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[Microsoft Office]]></category>
		<category><![CDATA[microsoft windows]]></category>
		<category><![CDATA[microsoft word]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[powerpc]]></category>
		<category><![CDATA[Windows NT 3.51]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15331</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) It appears that up until just now we did not have archived copy of MS Word 6.0 for PPC. There were copies floating for Alpha and MIPS, for example https://archive.org/details/ms-word60-nt. &#8230; <a href="https://virtuallyfun.com/2025/08/15/microsoft-word-6-0-for-powerpc-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 by Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph">It appears that up until just now we did not have archived copy of MS Word 6.0 for PPC. There were copies floating for Alpha and MIPS, for example <a href="https://archive.org/details/ms-word60-nt">https://archive.org/details/ms-word60-nt</a>. However PPC version was nowhere to be found&#8230;</p>



<p class="wp-block-paragraph">Until Term24 pointed me to this eBay auction:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="987" height="1017" src="https://virtuallyfun.com/wp-content/uploads/2025/08/office.png" alt="" class="wp-image-15332" srcset="https://virtuallyfun.com/wp-content/uploads/2025/08/office.png 987w, https://virtuallyfun.com/wp-content/uploads/2025/08/office-291x300.png 291w, https://virtuallyfun.com/wp-content/uploads/2025/08/office-768x791.png 768w" sizes="auto, (max-width: 987px) 100vw, 987px" /></figure>



<p class="wp-block-paragraph"> Since it clearly said PowerPC on the box I got it&#8230; and here it is:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="819" src="https://virtuallyfun.com/wp-content/uploads/2025/08/ntword1-1024x819.png" alt="" class="wp-image-15333" srcset="https://virtuallyfun.com/wp-content/uploads/2025/08/ntword1-1024x819.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/08/ntword1-300x240.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/08/ntword1-768x614.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/08/ntword1-375x300.png 375w, https://virtuallyfun.com/wp-content/uploads/2025/08/ntword1.png 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">MS Word 6.0 on Windows NT 4.0 PowerPC / PPC</figcaption></figure>



<p class="wp-block-paragraph">Now thanks to Rairii you can enjoy it on a <a href="https://github.com/Wack0/maciNTosh">PowerMac</a> or <a href="https://github.com/Wack0/entii-for-workcubes">WII</a>!</p>



<p class="wp-block-paragraph">Download <a href="http://files.42718.net/mirror/tenox/os/winnt/Apps/multicpu/NTWORD60.iso.lz">ISO</a> or <a href="http://files.42718.net/mirror/tenox/os/winnt/Apps/multicpu/NTWORD60.rar">RAR</a></p>



<p class="wp-block-paragraph">Update: now you can enjoy it virtualized on <a href="https://virtuallyfun.com/2026/10/19/windows-nt-4-0-powerpc-on-qemu/">QEMU</a>!</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2025/08/15/microsoft-word-6-0-for-powerpc-nt/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Announcing EmuWoW Beta 1 (AXP Preview1)</title>
		<link>https://virtuallyfun.com/2024/02/17/announcing-emuwow-beta-1-axp-preview1/</link>
					<comments>https://virtuallyfun.com/2024/02/17/announcing-emuwow-beta-1-axp-preview1/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 08:57:28 +0000</pubDate>
				<category><![CDATA[DEC Alpha]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[syscall emulation]]></category>
		<category><![CDATA[Win32]]></category>
		<category><![CDATA[Windows NT 3.1]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=13972</guid>

					<description><![CDATA[This is a guest post by CaptainWillStarblazer Hello, everyone. This is a continuation of my previous blogpost on EmuWoW (formerly win32emu) found here, but to summarize, I’m the 18-year-old developer behind a project that allows running applications compiled for the MIPS/Alpha &#8230; <a href="https://virtuallyfun.com/2024/02/17/announcing-emuwow-beta-1-axp-preview1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><a href="/wp-content/uploads/2024/02/20240217-194140.gif" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1016" height="748" src="/wp-content/uploads/2024/02/20240217-194140.gif" alt="" class="wp-image-13986"/></a><figcaption class="wp-element-caption">Freecell &amp; Winver</figcaption></figure>



<p class="wp-block-paragraph">This is a guest post by <a href="https://github.com/BHTY">CaptainWillStarblazer</a></p>



<p class="wp-block-paragraph">Hello, everyone. This is a continuation of my previous blogpost on <a href="https://github.com/BHTY/EmuWoW" target="_blank" rel="noreferrer noopener">EmuWoW</a> (formerly win32emu) <a href="/2024/01/04/win323mu-diy-wow/" target="_blank" rel="noreferrer noopener">found here</a>, but to summarize, I’m the <a href="https://github.com/BHTY" target="_blank" rel="noreferrer noopener">18-year-old developer</a> behind a project that allows running applications compiled for the MIPS/Alpha version of Windows NT on standard x86 PCs through emulation, but without requiring a full system emulator. Since that last post, the project has made some substantial strides.</p>



<p class="wp-block-paragraph">Since then, I’ve adapted the MIPS emulator from MAME, which is both more accurate and faster than my own (writing my own was a fun exercise but to the end of running applications, borrowing an emulator was a better decision). This alone enabled WinMine to function, which can be seen below.</p>



<figure class="wp-block-image size-full"><a href="/wp-content/uploads/2024/02/EmuWoW-running-MIPS-Winmine.png" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="753" height="403" src="/wp-content/uploads/2024/02/EmuWoW-running-MIPS-Winmine.png" alt="" class="wp-image-13973" srcset="https://virtuallyfun.com/wp-content/uploads/2024/02/EmuWoW-running-MIPS-Winmine.png 753w, https://virtuallyfun.com/wp-content/uploads/2024/02/EmuWoW-running-MIPS-Winmine-300x161.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/02/EmuWoW-running-MIPS-Winmine-500x268.png 500w" sizes="auto, (max-width: 753px) 100vw, 753px" /></a><figcaption class="wp-element-caption">Winmine for MIPS!</figcaption></figure>



<p class="wp-block-paragraph">Around the same time, another <a href="/2020/05/20/discord-channel-added-by-popular-request/" target="_blank" rel="noreferrer noopener">VirtuallyFun </a>member named <a href="https://www.x86matthew.com/" target="_blank" rel="noreferrer noopener">x86matthew</a> entered the scene. His prior credits include a similar project, for Win16.  He was inspired by the initial win32emu blog post, created his own similar project called <a href="https://github.com/x86matthew/WoWMIPS" target="_blank" rel="noreferrer noopener">WoWMIPS</a>, which quickly started running a few simple apps, such as WinMine, Solitaire, and Notepad.  Be sure to check out <a href="https://www.x86matthew.com/view_post?id=mips_1" target="_blank" rel="noreferrer noopener">WoWMIPS &#8211; MIPS Emulator for Windows, Part 1: Introduction</a>, and parts <a href="https://www.x86matthew.com/view_post?id=mips_2" target="_blank" rel="noreferrer noopener">2</a>,<a href="https://www.x86matthew.com/view_post?id=mips_3" target="_blank" rel="noreferrer noopener">3</a>,<a href="https://www.x86matthew.com/view_post?id=mips_4" target="_blank" rel="noreferrer noopener">4</a>,<a href="https://www.x86matthew.com/view_post?id=mips_5" target="_blank" rel="noreferrer noopener">5</a>,<a href="https://www.x86matthew.com/view_post?id=mips_6" target="_blank" rel="noreferrer noopener">6</a>!</p>



<p class="wp-block-paragraph">This had actually been what I was hoping for from the beginning; I always saw win32emu as a proof of concept for a smarter person (either myself in the future or someone else altogether) to come back later and do it better, and this is a massive undertaking for a single individual. What makes x86matthew&#8217;s WoWMIPS so incredible is its clean design. For one, there’s no thunk DLLs required. When an application tries to import a DLL, the host x86 DLL is first loaded, and then any attempts to get the address of an exported procedure from it are then redirected to an auto-generated stub of MIPS code which invokes the emulator to call the function. In other words, the thunk DLLs are generated at load time. Additionally, there’s no window procedure thunks required either. Instead, MIPS code pages are marked as non-executable, causing an access violation when Windows attempts to call them. Using an exception handler implemented via Windows XP’s <a href="https://learn.microsoft.com/en-us/windows/win32/debug/vectored-exception-handling" target="_blank" rel="noreferrer noopener">Vectored Exception Handling</a> feature, one can detect this and then invoke the emulator to execute the callback. Storing the CPU state in thread-local-storage allowed proper support for multithreading. I duplicated these design choices into EmuWoW, and the results largely speak for themselves. Unlike WoWMIPS (at time of writing), EmuWoW is still capable of loading MIPS DLLs (and will prefer to do so if possible), however.</p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running.png" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="652" src="/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running-1024x652.png" alt="" class="wp-image-13977" srcset="https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running-1024x652.png 1024w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running-300x191.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running-768x489.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running-471x300.png 471w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-MIPS-apps-running.png 1165w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Various MIPS Windows NT applications running</figcaption></figure>



<p class="wp-block-paragraph">To aid the process of fixing faults in the emulator, I hacked up a quick, minimal debugger into EmuWoW. First of all, there’s a “crash screen” which will indicate the type of error and dump registers and the current instruction if there’s a fault, and a running disassembly can be printed as you go, but most crucially, there’s a limited degree of interactive debugging functionality.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="979" height="512" src="/wp-content/uploads/2024/02/emuwow-debugger.png" alt="" class="wp-image-13975" srcset="https://virtuallyfun.com/wp-content/uploads/2024/02/emuwow-debugger.png 979w, https://virtuallyfun.com/wp-content/uploads/2024/02/emuwow-debugger-300x157.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/02/emuwow-debugger-768x402.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/02/emuwow-debugger-500x261.png 500w" sizes="auto, (max-width: 979px) 100vw, 979px" /><figcaption class="wp-element-caption">The built in debugger to EmuWow</figcaption></figure>



<p class="wp-block-paragraph">The main capabilities contained herein are dumping registers and memory to the screen, disassembling regions of memory, listing loaded modules, getting import entry points, setting breakpoints, and single-stepping, along with printing functions. It’s no gdb (especially for the lack of PDB symbol support), but it’s something.</p>



<p class="wp-block-paragraph">MIPS is all well and good, however, but we can already emulate Windows NT for MIPS. MIPS is a fairly clean, simple architecture, often used for teaching, and short of weirdness like delay slots, is dead simple to emulate. And it fits the bill for what I’m trying to do here &#8211; a RISC architecture Microsoft abandoned, fixed-length 32-bit instructions, the works. However, adding support for the DEC Alpha AXP will finally get this project to where it was intended to be from the beginning, and I hope for it to eventually be able to run the Visual C++ compiler toolchain under EmuWoW. Being able to compile (and even test!) Alpha apps on readily available modern PCs will be a game-changer, and I intentionally wrote EmuWoW to be CPU-agnostic, so adding rudimentary support for the Alpha wasn&#8217;t difficult. Like with MIPS, I lifted the emulator from MAME. This admittedly did pose some challenges, due to MAME’s use of C++ features such as</p>



<ul class="wp-block-list">
<li>Classes (which I had to substitute for passing pointers to structs)</li>



<li>Templates (which I had to substitute for macros)</li>



<li>Function-style casts (which I had to change into C-style casts)</li>
</ul>



<p class="wp-block-paragraph">There was a lot of weirdness in how Alpha function calls, but it was my misunderstanding of the calling convention, and when to consider values to be 32-bit vs 64-bit posed a modest issue, but I got it to the point where some very simple DEC Alpha programs started to run, though many of them have various issues.</p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running.png"><img loading="lazy" decoding="async" width="1024" height="537" src="/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running-1024x537.png" alt="" class="wp-image-13974" srcset="https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running-1024x537.png 1024w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running-300x157.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running-768x403.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running-500x262.png 500w, https://virtuallyfun.com/wp-content/uploads/2024/02/Windows-NT-Dec-Alpha-apps-running.png 1469w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Various Dec Alpha Windows NT applications running</figcaption></figure>



<p class="wp-block-paragraph">This is the first time this has ever been possible; emulation of AXP NT programs on standard PCs has just become possible now. I’m hoping to see EmuWoW continue to evolve, and I welcome contributions, whether that be improving support for the CPUs I already have, adding support for another (such as PowerPC) or anything else. To take a look at the code, go to <a href="https://github.com/BHTY/EmuWoW" target="_blank" rel="noreferrer noopener">github.com/bhty/emuwow</a> and to download EmuWoW and try it out for yourself, <a href="https://github.com/BHTY/EmuWoW/releases/tag/beta" target="_blank" rel="noreferrer noopener">click here</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2024/02/17/announcing-emuwow-beta-1-axp-preview1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Win32Emu / DIY WOW</title>
		<link>https://virtuallyfun.com/2024/01/04/win323mu-diy-wow/</link>
					<comments>https://virtuallyfun.com/2024/01/04/win323mu-diy-wow/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Thu, 04 Jan 2024 00:10:22 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[syscall emulation]]></category>
		<category><![CDATA[Win32]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=13684</guid>

					<description><![CDATA[This is a guest post by CaptainWillStarblazer When the AXP64 build tools for Windows 2000 were discovered back in May 2023, there was a crucial problem. Not only was it difficult to test the compiled applications since you needed an &#8230; <a href="https://virtuallyfun.com/2024/01/04/win323mu-diy-wow/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This is a guest post by <a href="https://github.com/BHTY">CaptainWillStarblazer</a></p>



<p class="wp-block-paragraph">When the <a href="https://virtuallyfun.com/2023/05/05/hiding-in-plain-sight-the-64bit-dec-alpha-c-compiler/">AXP64 build tools for Windows 2000</a> were discovered back in May 2023, there was a crucial problem. Not only was it difficult to test the compiled applications since you needed an exotic and rare DEC Alpha machine running a leaked version of Windows, it was also difficult to even compile the programs, since you needed the same DEC Alpha machine to run the compiler; there was no cross-compiler.</p>



<p class="wp-block-paragraph">As a result, I began writing a program conceptually similar to WOW64 on Itanium (or WX86, or FX-32), only in reverse, to allow RISC Win32 programs to run on x86.</p>



<p class="wp-block-paragraph">The PE/COFF file format is surprisingly simple once you get the hang of it, so loading a basic Win32 EXE that I assembled with NASM&nbsp;&nbsp;was pretty simple – just map the appropriate sections to the appropriate areas, fix up import tables, and start executing.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2024/01/image001.png"><img loading="lazy" decoding="async" width="965" height="508" src="https://virtuallyfun.com/wp-content/uploads/2024/01/image001.png" alt="" class="wp-image-13673" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/image001.png 965w, https://virtuallyfun.com/wp-content/uploads/2024/01/image001-300x158.png 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/image001-768x404.png 768w, https://virtuallyfun.com/wp-content/uploads/2024/01/image001-500x263.png 500w" sizes="auto, (max-width: 965px) 100vw, 965px" /></a></figure>



<p class="wp-block-paragraph">To start, I wrote a basic 386 emulator core. To complement it, I wrote my own set of Windows NT system DLLs (USER32, KERNEL32, GDI32) that execute inside of the emulator and then use an interrupt to signal a system call&nbsp;&nbsp;which is trapped by the emulator and thunked up to execute the API call on the host.</p>



<p class="wp-block-paragraph">For example, up above, you can see that the emulated app calls MessageBoxA inside of the emulated USER32, which puts 0 in EAX (the API call number for MessageBoxA) and then does the syscall interrupt (int 0x80 in my case), which causes the emulator to grab the arguments off of the stack and call MessageBoxA.</p>



<p class="wp-block-paragraph">To ease communication between the host’s Win32 environment and the emulated Win32 environment, I ran the emulated CPU inside of the host’s memory space, which means that to run applications written for a 32-bit version of Windows NT, you need a 32-bit version of win32emu (or a 64-bit version with /LARGEADDRESSAWARE:NO passed to the linker) to avoid pointer truncation issues, to prevent Windows from mapping memory addresses inaccessible by the emulated CPU.</p>



<p class="wp-block-paragraph">To get “real” apps working, a lot of single-stepping through the CRT was required, but eventually I did get Reversi – one of the basic Win32 SDK samples – to work, albeit with some bugs at first. Calling a window procedure essentially requires a thunk in reverse, so I inserted a thunk window procedure on the host side that calls the emulated window procedure and returns the result.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2024/01/image012.jpg"><img loading="lazy" decoding="async" width="465" height="388" src="https://virtuallyfun.com/wp-content/uploads/2024/01/image012.jpg" alt="" class="wp-image-13669" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/image012.jpg 465w, https://virtuallyfun.com/wp-content/uploads/2024/01/image012-300x250.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/image012-360x300.jpg 360w" sizes="auto, (max-width: 465px) 100vw, 465px" /></a><figcaption class="wp-element-caption">It&#8217;s amazing, it&#8217;s reversi!</figcaption></figure>



<p class="wp-block-paragraph">After this, I got to work on getting more complicated applications to work. Several failed due to lack of floating-point support, some failed due to unsupported DLLs, but I was able to get FreeCell and WinMine to work (with some bugs) after adding SHELL32. I was able to run the real SHELL32.DLL from Windows NT 3.51 under this environment.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2024/01/image013.jpg"><img loading="lazy" decoding="async" width="624" height="325" src="https://virtuallyfun.com/wp-content/uploads/2024/01/image013.jpg" alt="" class="wp-image-13670" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/image013.jpg 624w, https://virtuallyfun.com/wp-content/uploads/2024/01/image013-300x156.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/image013-500x260.jpg 500w" sizes="auto, (max-width: 624px) 100vw, 624px" /></a><figcaption class="wp-element-caption">Freecell</figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="623" height="338" src="https://virtuallyfun.com/wp-content/uploads/2024/01/image014.jpg" alt="" class="wp-image-13671" srcset="https://virtuallyfun.com/wp-content/uploads/2024/01/image014.jpg 623w, https://virtuallyfun.com/wp-content/uploads/2024/01/image014-300x163.jpg 300w, https://virtuallyfun.com/wp-content/uploads/2024/01/image014-500x271.jpg 500w" sizes="auto, (max-width: 623px) 100vw, 623px" /><figcaption class="wp-element-caption">Minesweeper</figcaption></figure>



<p class="wp-block-paragraph">One might wonder why I put all this work into running x86 programs on x86, but the reason is that there’s the most information about, and I’m most proficient with, Windows on the 386. Not only does Windows on other CPUs use other CPUs, but also there’s different calling conventions and a lot of other stuff I didn’t want to mess with at first. But this was at least a proof-of-concept to build a framework where I could swap the CPU core for an emulator for MIPS or PPC or Alpha or whatever I wanted and get stuff running.</p>



<p class="wp-block-paragraph">Astute readers might be wondering why I didn’t take the approach taken by WOW64. For those who don’t know, most system DLLs on WOW64 are the same as those in 32-bit Windows, the only ones that are different are ones with system call stubs that call down to the kernel (NTDLL, GDI32, and USER32, the first of which calls to NTOSKRNL and the latter two calling to WIN32K.SYS). WOW64 instead calls a function with a system call dispatch number, which does essentially the same thing. The reason for this is that the system call numbers are undocumented and change between versions of Windows. WOW64, being an integrated component of Windows, can stay up to date. If I took this approach, I’d either have to stay locked to one emulated set of DLLs (i.e. from NT 4.0) and use their system call numbers on the emulated side, or write my own emulated DLLs and stick to a fixed set of numbers, but either way I’d somehow have to map them to whatever syscall numbers are being used on the host.</p>



<p class="wp-block-paragraph">As I went on, I should probably also mention that what I said earlier about loading Win32 apps being easy was wrong. Loading a PE image is pretty straightforward, but once you get into populating the TEB and PEB (many of whose fields are undocumented), it quickly gets gnarly, and my PEB emulation is incomplete.</p>



<p class="wp-block-paragraph">Adding MIPS support wasn’t too much of a hassle, since the MIPS ISA (ignoring delay slots, which gave me no shortage of trouble) is pretty clean and writing&nbsp;&nbsp;an emulator wasn’t difficult. The VirtuallyFun Discord pointed me to Embedded Visual C++ 4.0, which was invaluable to me during development, since it included a MIPS assembler and disassembler, which I haven’t seen elsewhere. After writing a set of MIPS thunk DLLs and doing some more debugging, I finally got Reversi working.</p>



<p class="wp-block-paragraph">There’s still some DLL relocation/rebasing issues, but Reversi is finally working in this homebrewed WOW!</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2024/01/image015.gif"><img loading="lazy" decoding="async" width="624" height="326" src="https://virtuallyfun.com/wp-content/uploads/2024/01/image015.gif" alt="" class="wp-image-13672"/></a></figure>



<p class="wp-block-paragraph">I’d encourage someone to write a CPU module for the DEC Alpha AXP (or even PowerPC if anyone for some reason wants that). The API isn’t too complicated, and the i386 emulator is available for reference to see how the CPU emulator interfaces with the Win32 thunking side. An Alpha backend for the thunk compiler can definitely be written without too much trouble. Obviously, the AXP presents the challenge that fewer people are familiar with its instruction set than MIPS or 386, but this approach does free one from having to emulate all of the intricate hardware connections in actual Alpha applications while still running applications designed for it, and I’ve heard the Alpha is actually quite nice and clean. MAME’s Digital Alpha core could be a good place to start, but it’ll need some adaptation to work in this codebase. Remember that while being a 64-bit CPU with 64-bit registers and operations, the Alpha still runs Windows with 32-bit pointers, so it should run in a 32-bit address space (i.e. pass /LARGEADDRESSAWARE:NO to the linker).</p>



<p class="wp-block-paragraph">Theoretically, recompiling the application to support the full address space should enable emulation of AXP64 applications, since the Alpha’s 64-bit pointers will allow it to address the host’s 64-bit address space, but I’m not sure if my emulator is totally 64-bit clean, or if the AXP64’s calling convention is materially different from that on the AXP32 in such a way that would require substantial changes. In either case, most of the code should still be transferable.</p>



<p class="wp-block-paragraph">I also want to get more “useful” applications running, like development tools (i.e. the MSVC command line utilities &#8211; CL, MAKE, LINK, etc.) and CMD. Most of that probably involves implementing more thunks and potentially fixing CPU bugs.</p>



<p class="wp-block-paragraph">This project is obviously still in a quite early stage, but I’m hoping to see it grow and become something useful for those in the hobby.</p>



<p class="wp-block-paragraph">For those who want to play along at home, you can download the <a href="https://github.com/BHTY/Win32Emu/releases/download/alpha/w32emu.zip">binary snapshot here: w32emu.zip</a></p>



<p class="wp-block-paragraph">A more complete version of the writeup is available here:&nbsp;<a href="https://bhty.github.io/og/win32emu_VirtuallyFun_Post.htm">https://bhty.github.io/og/win32emu_VirtuallyFun_Post.htm</a>&nbsp;and you can find the project here&nbsp;<a href="https://github.com/BHTY/Win32Emu/">https://github.com/BHTY/Win32Emu/</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2024/01/04/win323mu-diy-wow/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Windows NT demo on the DECstation 5000</title>
		<link>https://virtuallyfun.com/2023/06/15/windows-nt-demo-on-the-dec-mips-5000/</link>
					<comments>https://virtuallyfun.com/2023/06/15/windows-nt-demo-on-the-dec-mips-5000/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Thu, 15 Jun 2023 21:59:43 +0000</pubDate>
				<category><![CDATA[MIPS]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[Windows NT 3.1]]></category>
		<guid isPermaLink="false">http://virtuallyfun.com/?p=12830</guid>

					<description><![CDATA[Well this was unexpected find! Thanks to hyenasky over on discord. While the platform had a few mentions here and there but it&#8217;s great to have found a talk about the product with video of it running. Interestingly enough Compaq &#8230; <a href="https://virtuallyfun.com/2023/06/15/windows-nt-demo-on-the-dec-mips-5000/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Windows NT : what is it technologically/strategically?" width="584" height="438" src="https://www.youtube.com/embed/bMJIhN4xCro?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">Well this was unexpected find! Thanks to hyenasky over on discord.</p>



<p class="wp-block-paragraph">While the platform had a few mentions here and there but it&#8217;s great to have found a talk about the product with video of it running.</p>



<p class="wp-block-paragraph">Interestingly enough Compaq was apparently in charge of the ARC specifications?  Also kind of funny how the do touch on that maybe one day it could be available for the Dec Alpha, but as we know DEC pivoted away from the MIPS entirely to focus on the Alpha.</p>



<p class="wp-block-paragraph">The other part being how the Pentium/Pentium Pro was entirely unexpected from the wider RISC market that thought they had the migration point out of 386/486 based machines.</p>



<figure class="wp-block-image size-full"><a href="https://il.linkedin.com/in/yonah-alexandre-bronstein-3bb1785"><img loading="lazy" decoding="async" width="776" height="219" src="https://virtuallyfun.com/wp-content/uploads/2023/06/image.png" alt="" class="wp-image-12833" srcset="https://virtuallyfun.com/wp-content/uploads/2023/06/image.png 776w, https://virtuallyfun.com/wp-content/uploads/2023/06/image-300x85.png 300w, https://virtuallyfun.com/wp-content/uploads/2023/06/image-768x217.png 768w, https://virtuallyfun.com/wp-content/uploads/2023/06/image-500x141.png 500w" sizes="auto, (max-width: 776px) 100vw, 776px" /></a></figure>



<p class="wp-block-paragraph">Unfortunately, like the platform, Alexandre Bronstein exited DEC to go onto other ventures, oddly enough at Veritas being pulled back into dealing with Microsoft with the disk manager.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2023/06/15/windows-nt-demo-on-the-dec-mips-5000/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Word &#038; Excel for MIPS</title>
		<link>https://virtuallyfun.com/2023/05/24/word-excel-for-mips/</link>
					<comments>https://virtuallyfun.com/2023/05/24/word-excel-for-mips/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 24 May 2023 10:37:34 +0000</pubDate>
				<category><![CDATA[Microsoft Office]]></category>
		<category><![CDATA[microsoft word]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 3.5]]></category>
		<category><![CDATA[Windows NT 3.51]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">http://virtuallyfun.com/?p=12663</guid>

					<description><![CDATA[Years ago when I&#8217;d bought Office 4.2 for Windows NT, it only included i386 &#38; Alpha builds of Word and Excel in the box, and a coupon for MIPS and PowerPC. About the only thing interesting is that it actually &#8230; <a href="https://virtuallyfun.com/2023/05/24/word-excel-for-mips/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Years ago when I&#8217;d bought <a href="/2011/04/03/office-4-2-for-windows-nt/" data-type="URL" data-id="/2011/04/03/office-4-2-for-windows-nt/" target="_blank" rel="noreferrer noopener">Office 4.2 for Windows NT</a>, it only included i386 &amp; Alpha builds of Word and Excel in the box, and a coupon for MIPS and PowerPC.</p>



<p class="wp-block-paragraph">About the only thing interesting is that it actually ran under Win32s.</p>



<p class="wp-block-paragraph">But today looking at <a href="https://archive.org/details/@term24" target="_blank" rel="noreferrer noopener">term24</a>&#8216;s uploads on archive.org, I saw two CD-ROM images:</p>



<ul class="wp-block-list">
<li><a href="https://archive.org/details/ms-word60-nt" target="_blank" rel="noreferrer noopener">Microsoft Word 6.0 for Windows NT</a></li>



<li><a href="https://archive.org/details/ms-excel50-nt" target="_blank" rel="noreferrer noopener">Microsoft Excel 5.0 for Windows NT</a></li>
</ul>



<p class="wp-block-paragraph">I quickly fired up Qemu MIPS NT, and confirmed that both do in fact contain a MIPS version!  Excel does have the PowerPC version as well.</p>



<p class="wp-block-paragraph">As far as I know the only RISC platform to get apps from Office 97 was the Dec Alpha, but at  least MIPS users can rejoice now, knowing that they too have been blessed with 32bit Office 4.2 apps!</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS.png"><img loading="lazy" decoding="async" width="800" height="600" src="https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS.png" alt="" class="wp-image-12664" srcset="https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS.png 800w, https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-300x225.png 300w, https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-768x576.png 768w, https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-400x300.png 400w" sizes="auto, (max-width: 800px) 100vw, 800px" /></a></figure>



<p class="wp-block-paragraph">One of the amazing things about NT &amp; portable apps is that visually, they look identical.  So other than me telling you that these are the MIPS native versions, there really is no way to tell.</p>



<figure class="wp-block-image size-full"><a href="https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-no-ntvdm.png"><img loading="lazy" decoding="async" width="794" height="329" src="https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-no-ntvdm.png" alt="" class="wp-image-12665" srcset="https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-no-ntvdm.png 794w, https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-no-ntvdm-300x124.png 300w, https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-no-ntvdm-768x318.png 768w, https://virtuallyfun.com/wp-content/uploads/2023/05/Office-4.2-for-MIPS-no-ntvdm-500x207.png 500w" sizes="auto, (max-width: 794px) 100vw, 794px" /></a></figure>



<p class="wp-block-paragraph">Well, other than there is no ntvdm running.  There is no WOW needed here!</p>



<p class="wp-block-paragraph">100% native.</p>



<p class="wp-block-paragraph">I guess the only other question is that since the Word is 1994, and Excel is from 1995, did they have earlier versions for Windows NT?  It seems like everything was finally coming together for RISC NT, except the users.  Would a release of 64bit Windows 2000 on Dec Alpha save the platform by bringing a strong 64bit platform with integrated JIT i386 WoW built in? (AXP64 Windows 2000 didn&#8217;t use !FX32).  I guess we&#8217;ll never know.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2023/05/24/word-excel-for-mips/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>
