<?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>hack &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/hack/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Fri, 07 Mar 2025 04:20:42 +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>Epyx Rogue 1.48</title>
		<link>https://virtuallyfun.com/2016/08/02/epyx-rogue-1-48/</link>
					<comments>https://virtuallyfun.com/2016/08/02/epyx-rogue-1-48/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 02 Aug 2016 11:04:32 +0000</pubDate>
				<category><![CDATA[8086]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[MS-DOS]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=6315</guid>

					<description><![CDATA[A while back while looking for old Rogue source, and resources I came across this page, which includes a lot of old versions, and source code, and the file rog11src.zip. But looking at the source in this directory the file &#8230; <a href="https://virtuallyfun.com/2016/08/02/epyx-rogue-1-48/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<div id="attachment_6316" style="width: 652px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2016/08/epyx-rogue-1.48.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-6316" class="size-full wp-image-6316" src="https://virtuallyfun.com/wp-content/uploads/2016/08/epyx-rogue-1.48.png" alt="Rouge 1.48 title screen" width="642" height="400" /></a><p id="caption-attachment-6316" class="wp-caption-text">Rouge 1.48 title screen</p></div>
<p>A while back while looking for old Rogue source, and resources I came across <a href="https://web.archive.org/web/20181215173332/http://www.roguelikedevelopment.org/archive/">this page</a>, which includes a lot of old versions, and source code, and the file <a href="https://web.archive.org/web/20171019162514/http://www.roguelikedevelopment.org/archive/files/sourcecode/rog11src.zip">rog11src.zip</a>. But looking at the source in this directory the file rogue.h reveals that it is actually <a href="https://web.archive.org/web/20181215173332/http://www.roguelikedevelopment.org/archive/files/sourcecode/EpyxRogueDOS148Source.zip">1.48!</a></p>
<p style="padding-left: 30px;">#define REV 1<br />
#define VER 48</p>
<p>And the source is all timestamped from late 1984, and throughout 1985.  Well, isn&#8217;t that exciting!  Also on the same site is <a href="http://www.roguelikedevelopment.org/archive/files/executables/rogue-1.48.zip">rogue-1.48.zip</a>, a binary distribution of Rogue 1.48.  So I thought I&#8217;d give it a shot to build it.  The source mentions needing the MANX C compiler, which of course a quick google search yields an ad:</p>
<div id="attachment_6317" style="width: 1290px" class="wp-caption aligncenter"><a href="https://books.google.com.hk/books?id=jBnPebByBGkC&amp;pg=PA24&amp;lpg=PA24&amp;dq=manx+C+compiler+1985&amp;source=bl&amp;ots=mHBSu_3qRT&amp;sig=tWEC4Oh2_rv9Sw__c5_2baL1TjM&amp;hl=en&amp;sa=X&amp;ved=0ahUKEwjBhfGNxaLOAhWEi5QKHZIaBrkQ6AEIHDAA#v=onepage&amp;q&amp;f=false"><img decoding="async" aria-describedby="caption-attachment-6317" class="size-full wp-image-6317" src="https://virtuallyfun.com/wp-content/uploads/2016/08/aztec-C86-ad-from-1985.png" alt="Manx Aztec C86" width="1280" height="1735" /></a><p id="caption-attachment-6317" class="wp-caption-text">Manx Aztec C86</p></div>
<p>Which has all kinds of fascinating information, such as the ability to cross compile from VAX BSD, or PDP-11 BSD, the Amiga, CP/M etc but they don&#8217;t actually give any information about versions.</p>
<p>There is, however, an <a href="http://www.aztecmuseum.ca/">Aztec C museum</a>, that hosts several versions.   And they do have the versions, along with the years to show that the C86 compiler that they had for 1985 would be 3.4b</p>
<p style="padding-left: 30px;">Version 3.4b<br />
Compiler Aztec C 8086 3.40a 7-3-86<br />
(C) 1982,83,84,85 by Manx Software Systems, Inc.</p>
<p>And conveniently, they do have a download link for the comiler here: <a href="http://www.aztecmuseum.ca/az8634b.zip">az8634b.zip</a></p>
<p>Now, since I&#8217;m on Windows 10 x64 I can&#8217;t easily run MS-DOS based compilers from 1985 at my native CLI, without a tool, and I chose <a href="http://homepage3.nifty.com/takeda-toshiya/msdos/">Takeda Toshiya&#8217;s MSDOS</a>.  I was able to &#8216;bind&#8217; the azmake utility which then could call the needed compiler, assembler, and linker to build an executable without too much work.  I just created a command file, &#8216;build.cmd&#8217; in the src directory, to setup the paths and needed variables to quickly compile Rogue from the command line.  And a quick attempt at playing it showed that although it does compile, it is unplayable!</p>
<div id="attachment_6318" style="width: 652px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-6318" class="size-full wp-image-6318" src="https://virtuallyfun.com/wp-content/uploads/2016/08/killed-by-the-copy-protection-malfia.png" alt="Killed " width="642" height="432" /><p id="caption-attachment-6318" class="wp-caption-text">Killed by the Copy Protection Mafia</p></div>
<p>Well, isn&#8217;t that great.  There is a copy protection scheme.  But wait, we have source so can&#8217;t we just bypass it?  Yes we can!  In the file dos.asm there is some checks for the variables hit_mul &amp; goodchk.  So I did the logical thing, which is before it checks them, I just set them to good values.</p>
<p style="padding-left: 30px;">; fake copy protection<br />
mov hit_mul_, 1<br />
mov goodchk_, 0D0DH</p>
<p>And the good news is that I would no longer get killed by the Mafia, but I couldn&#8217;t progress down any levels.  So in the file oprotec.asm, I saw there is some disk check routine called protect, that I went ahead and bypassed by having it immediately jump down to the &#8216;good&#8217; label. Everything compiles but it still locks up going down a level.  So finally I check rogue.h and commend the #define PROTECT statement, and now it&#8217;ll run!</p>
<p>I don&#8217;t know if anyone would even care, but I added the <a href="http://www.roguelikedevelopment.org/archive/files/misc/EpyxRogueDOSManual.pdf">PDF manual</a> and all the zip files that I used to source this version.  You can download it here:</p>
<p><a href="http://vpsland.superglobalmegacorp.com/install/MS-DOS/rogue-148_binary+source.7z">rogue-148_binary+source.7z</a></p>
<p>If you don&#8217;t want to run it under MS-DOS, or something like DOSBox, you can use MS-DOS to run it.  The title screen is garbled as it doesn&#8217;t emulate CGA, but as the rest is just text mode, it&#8217;ll run just fine.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2016/08/02/epyx-rogue-1-48/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
		<item>
		<title>While hunting for Hack 1.0 in usenet</title>
		<link>https://virtuallyfun.com/2014/10/29/while-hunting-for-hack-1-0-in-usenet/</link>
					<comments>https://virtuallyfun.com/2014/10/29/while-hunting-for-hack-1-0-in-usenet/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 29 Oct 2014 00:59:29 +0000</pubDate>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[nethack]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=4693</guid>

					<description><![CDATA[I came across this PDP-11 version. Â I saved it to the side while I was looking for my main target. Now I&#8217;ve tried to compile it on contemporary UNIX of the time, namely Unix v7, 2.9 BSD and 2.10 BSD &#8230; <a href="https://virtuallyfun.com/2014/10/29/while-hunting-for-hack-1-0-in-usenet/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>I came across this PDP-11 version. Â I saved it to the side while I was looking for my main target.</p>
<p>Now I&#8217;ve tried to compile it on contemporary UNIX of the time, namely Unix v7, 2.9 BSD and 2.10 BSD and they fail at the same point:</p>
<p style="padding-left: 30px;">hack.monst.c:99: Too many initializers: mon<br />
*** Error code 1</p>
<p style="padding-left: 30px;">Stop.</p>
<p>What is more weird is I didn&#8217;t see anyone having any reports of it working, just requests for the code. Â Although I have been able to compile and run it on 4.2BSD/VAX. Â So it must be a cc/pcc thing, or some other C compiler they are using on the PDP-11 in Amsterdam circa 1985. Â And then I found this interesting bit:</p>
<p style="padding-left: 30px;">Date-Received: Mon, 22-Apr-85 06:57:56 EST<br />
References: &lt;556@intelca.UUCP&gt;<br />
Reply-To: aeb@mcvax.UUCP (Andries Brouwer)<br />
Distribution: net<br />
Organization: CWI, Amsterdam<br />
Lines: 11</p>
<p style="padding-left: 30px;">In article &lt;556@intelca.UUCP&gt; cem@intelca.UUCP (Chuck McManis) writes:<br />
&gt;&#8230; about the PDP-11 version of hack &#8230;<br />
&gt;All in all it doesn&#8217;t seem to do 90% of the things that make it different<br />
&gt;from rogue.</p>
<p style="padding-left: 30px;">The PDP-11 version of hack is a slightly improved (by people at the VU,<br />
Amsterdam) version of some code that was stolen from my directory<br />
some three years ago; it was being worked on, and certainly not in a<br />
shape fit for distribution. Thus, as you noted, it doesnt have half<br />
of the features present in hack, and, what is worse, it is very buggy.<br />
I am sorry it was distributed.</p>
<p>Which to me is kind of interesting as <a href="http://nethack.org/">this recently happened on September 21st</a>:</p>
<p style="padding-left: 30px;">The NetHack Development Team feels it is necessary to publicly address an issue that has surfaced in the last week.</p>
<p style="padding-left: 30px;">Recently a NetHack source distribution has appeared, claiming to be NetHack 3.5 or 3.5.0 or 3.4.4.</p>
<p style="padding-left: 30px;">This claim is partially correct. This is our code. However it was not released by us or with our authorization. This code is not ready for release: it is unfinished, unpolished, and almost certainly very buggy. It has not been play-tested for balance or functionality. It is best considered a partial and unfinished rough draft. We will not be supporting this code, nor will we be releasing binaries or bugfixes for it. It will not be available through our website.</p>
<p style="padding-left: 30px;">Due to this incident and to prevent confusion, we will not now nor in the future release anything with a version number of 3.4.4, 3.5, or 3.5.0.</p>
<p style="padding-left: 30px;">We thank those of you who play and develop both NetHack and its many variants for your support and encouragement at this time and over the many years NetHack and its progeny have and continue to evolve.</p>
<p>So yeah it seems there is a long history of hacking hack, why even the Fortran port of Zork was born that way:</p>
<p><em>Zork</em>Â (was) only as encrypted files that were runnable in an MDL environment but were not readable (and modifiable) as source code. They even went so far as to patch their famously insecure ITS development system, adding security to just the directory that stored the source. Hackers, however, wonâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />t be denied, and soon one from DEC itself had penetrated the veil. From Infocomâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s own official â€œ<a href="http://www.csd.uwo.ca/Infocom/Articles/NZT/zorkhist.html">History of <em>Zork</em></a>â€œ:</p>
<blockquote><p>[The security] was finally beaten by a system hacker from Digital: using some archaic ITS documentation (thereâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s never been any other kind), he was able to figure out how to modify the running operating system. Being clever, he was also able to figure out how our patch to protect the source directory worked. Then it was just a matter of decrypting the sources, but that was soon reduced to figuring out the key weâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />d used. Ted had no trouble getting machine time; he just found a new TOPS-20 machine that was undergoing final testing, and started a program that tried every key until it got something that looked like text. After less than a day of crunching, he had a readable copy of the source. We had to concede that anyone whoâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />d go to that much trouble deserved it. This led to some other things later on.</p></blockquote>
<p>Indeed,hackers won&#8217;t be denied.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2014/10/29/while-hunting-for-hack-1-0-in-usenet/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Hack 1.0 preliminary version</title>
		<link>https://virtuallyfun.com/2014/10/28/hack-1-0-preliminary-version/</link>
					<comments>https://virtuallyfun.com/2014/10/28/hack-1-0-preliminary-version/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 28 Oct 2014 05:43:24 +0000</pubDate>
				<category><![CDATA[4.2 BSD]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[nethack]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=4689</guid>

					<description><![CDATA[The source code to Hack was posted onto usenet back in December of 1984: From: play@mcvax.UUCP (funhouse) Newsgroups: net.games,net.sources Subject: Hack sources posted Message-ID: &#60;6238@mcvax.UUCP&#62; Date: Mon, 17-Dec-84 09:11:48 EST Article-I.D.: mcvax.6238 Posted: Mon Dec 17 09:11:48 1984 Date-Received: Tue, &#8230; <a href="https://virtuallyfun.com/2014/10/28/hack-1-0-preliminary-version/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>The source code to Hack was posted onto usenet back in December of 1984:</p>
<pre>From: play@mcvax.UUCP (funhouse)
Newsgroups: net.games,net.sources
Subject: Hack sources posted
Message-ID: &lt;6238@mcvax.UUCP&gt;
Date: Mon, 17-Dec-84 09:11:48 EST
Article-I.D.: mcvax.6238
Posted: Mon Dec 17 09:11:48 1984
Date-Received: Tue, 18-Dec-84 07:04:44 EST
Organization: CWI, Amsterdam
Lines: 20
Xref: watmath net.games:1303 net.sources:2185

I will post the sources for Hack to net.sources.
They come in 10 parts; the total source is slightly over 400kbyte.

Hack is a game resembling rogue (but much richer than the versions
of rogue I have had access to).

The game runs on all machines with sufficient address space:
$ ls -l /usr/games/HACK
-rws--x--x  1 play       159744 Nov 10 19:09 /usr/games/HACK
$ size /usr/games/HACK
text	data	bss	dec	hex
106496	34816	29264	170576	29a50
but if you are unfortunate enough to have a backward C compiler
(without structure assignments or bitfields or functions returning
structures or with only 6 significant chars to an identifier)
then you'll have to work to get this running.

I am happy with mail, but will be abroad the next four weeks.

Good Luck &amp; Happy Hacking !</pre>
<p>Oddly enough the full source code to Hack had been lost. Â Even the <a href="http://nethackwiki.com/mediawiki/index.php?title=Hack_1.0&amp;oldid=71751">Nethack Wiki</a> didn&#8217;t have the full source code, although thanks to the <a href="http://utzoo.superglobalmegacorp.com/">UTZOO archives</a> byÂ Henry Spencer, I was able to look through enough of the tapes since I had the date and subject in hand, and I was able to pull out the entire thing.</p>
<div id="attachment_4691" style="width: 687px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2014/10/hack-1.0-preliminary-version-from-December-17-1984.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-4691" class="size-full wp-image-4691" src="https://virtuallyfun.com/wp-content/uploads/2014/10/hack-1.0-preliminary-version-from-December-17-1984.png" alt="hack 1.0 preliminary version" width="677" height="350" /></a><p id="caption-attachment-4691" class="wp-caption-text">hack 1.0 preliminary version</p></div>
<p>I&#8217;ve added a <a href="http://sourceforge.net/projects/bsd42/files/Package%20Tapes/Source%20Code/Hack%201.0%20preliminary%20version.tap.bz2/download">package tape for SIMH</a>, as it builds and runs on 4.2 BSD out of the box.</p>
<p>It&#8217;s really cool to have saved this from the digital dumpster, although it was there all along. Â And thanks to others for at least pointing out that part of it was missing or I&#8217;d never even look.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2014/10/28/hack-1-0-preliminary-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hack 1.0.3 for Xenix (i386)</title>
		<link>https://virtuallyfun.com/2012/07/16/hack-1-0-3-for-xenix-i386/</link>
					<comments>https://virtuallyfun.com/2012/07/16/hack-1-0-3-for-xenix-i386/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 17:25:18 +0000</pubDate>
				<category><![CDATA[gcc]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Xenix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=2204</guid>

					<description><![CDATA[I figured that since I could build hack for some ancient 4BSD flavors that I should be able to build hack for good old fashioned Xenix. And it all seems to work as it should! I used the source from &#8230; <a href="https://virtuallyfun.com/2012/07/16/hack-1-0-3-for-xenix-i386/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<div id="attachment_2205" style="width: 310px" class="wp-caption alignleft"><a href="https://virtuallyfun.com/wp-content/uploads/2012/07/hack-1.0.3.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2205" class="size-medium wp-image-2205" title="hack 1.0.3" src="https://virtuallyfun.com/wp-content/uploads/2012/07/hack-1.0.3-300x140.png" alt="" width="300" height="140" /></a><p id="caption-attachment-2205" class="wp-caption-text">Hack</p></div>
<p>I figured that since I could build hack for some ancient 4BSD flavors that I should be able to build hack for good old fashioned Xenix.</p>
<p>And it all seems to work as it should!</p>
<p>I used the source from <a href="http://homepages.cwi.nl/~aeb/games/hack/hack.html">here</a>, and only had to do a few small modifications to get it to compile and run on Xenix via GCC 1.37.1 .</p>
<p>You can download my <a href="http://vpsland.superglobalmegacorp.com/install/xenix/hack-1.0.3-xenix-i386.tgz">binary</a>, and <a href="http://vpsland.superglobalmegacorp.com/install/xenix/hack-1.0.3-source.tgz">source</a> mods.</p>
<p>I&#8217;ve managed to keep this instance of Xenix up for 19 hours, I was thinking about doing some kind of public access to this system, but I don&#8217;t know if people would even beÂ vaguelyÂ interested..</p>
<p>But if you want access, I can set you up.</p>
<p>Although all that is of interest is &#8216;dungeon&#8217;, fortune, hack, robots, and ircII &#8230;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2012/07/16/hack-1-0-3-for-xenix-i386/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Nethack for Windows CE (x86)</title>
		<link>https://virtuallyfun.com/2010/12/20/nethack-for-windows-ce-x86/</link>
					<comments>https://virtuallyfun.com/2010/12/20/nethack-for-windows-ce-x86/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 20 Dec 2010 20:37:00 +0000</pubDate>
				<category><![CDATA[games]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[nethack]]></category>
		<category><![CDATA[Windows CE]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=323</guid>

					<description><![CDATA[So after struggling like CRAZY on trying to build nethack for Windows CE, it came down to two posts out there&#8230;. Thanks to some people in Russia, and Google translate, I found some explicit instructions on building Nethack&#8230; Which spelt &#8230; <a href="https://virtuallyfun.com/2010/12/20/nethack-for-windows-ce-x86/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>So after struggling like CRAZY on trying to build nethack for Windows CE, it came down to two posts out there&#8230;.</p>
<p>Thanks to some <a href="http://4pda.ru/forum/index.php?showtopic=33337&amp;st=20">people in Russia</a>, and Google translate, I found some explicit instructions on building Nethack&#8230;</p>
<p>Which spelt out that you need Visual C++ 6.0 to create the dependancies, then use embedded Visual C++ 3.0 to build, which the snag there, is that I was foolishly using 4.0 service packed to level 4, which stripped out support for the SH4 cpu&#8230;!</p>
<p>Thankfully, the site <a href="http://www.hpcfactor.com">hpcfactor</a>, maintains a download for <a href="http://www.hpcfactor.com/downloads/details.asp?r={0D692AFF-501F-48D1-9D1C-C494078E201D}">embedded VC 3.0</a>, and I was able to churn out an exe for the emulator. Then tearing it appart, I was able to replicate the build using Platform Builder 2.11 to create a native x86 executable.</p>
<p>So after all that work, here it is!</p>
<div id="attachment_4523" style="width: 809px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2010/12/NetHack-for-WindowsCE-x86.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-4523" class="size-full wp-image-4523" src="https://virtuallyfun.com/wp-content/uploads/2010/12/NetHack-for-WindowsCE-x86.jpg" alt="NetHack for WindowsCE x86" width="799" height="620" /></a><p id="caption-attachment-4523" class="wp-caption-text">NetHack for WindowsCE x86</p></div>
<p>&nbsp;</p>
<p>For those people on x86 machines, or using the <a href="http://vpsland.superglobalmegacorp.com/install/WindowsCE/CE30.bin">CEPC platform</a>, here is the <a href="http://vpsland.superglobalmegacorp.com/install/WindowsCE/nethack/nethack.exe">exe</a>, <a href="http://vpsland.superglobalmegacorp.com/install/WindowsCE/nethack/nhdat">datafile</a>, and finally <a href="http://vpsland.superglobalmegacorp.com/install/WindowsCE/nethack/nethack-platform211.zip">the source code</a>.</p>
<p>This is what I&#8217;m hoping I can manipulate for SIMH&#8230;</p>
<div id="attachment_4525" style="width: 814px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2010/12/Nethack-on-CE-text.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-4525" class="size-full wp-image-4525" src="https://virtuallyfun.com/wp-content/uploads/2010/12/Nethack-on-CE-text.jpg" alt="Nethack on CE text" width="804" height="623" /></a><p id="caption-attachment-4525" class="wp-caption-text">Nethack on CE text</p></div>
<p>Textmode in graphics&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2010/12/20/nethack-for-windows-ce-x86/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Net Hack wiki moved</title>
		<link>https://virtuallyfun.com/2010/11/21/net-hack-wiki-moved/</link>
					<comments>https://virtuallyfun.com/2010/11/21/net-hack-wiki-moved/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 21 Nov 2010 14:07:00 +0000</pubDate>
				<category><![CDATA[4.2 BSD]]></category>
		<category><![CDATA[4.3 BSD]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[random updates]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=302</guid>

					<description><![CDATA[I just received notice that the NetHack wiki has now moved and the new site is nethackwiki.com. It&#8217;s great when old software just doesn&#8217;t revive for a little while then fade back to obscurity, so update your links, or just &#8230; <a href="https://virtuallyfun.com/2010/11/21/net-hack-wiki-moved/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>I just received notice that the NetHack wiki has now moved and the new site is <a href="http://nethackwiki.com/">nethackwiki.com</a>.</p>
<p>It&#8217;s great when old software just doesn&#8217;t revive for a little while then fade back to obscurity, so update your links, or just browse the site and be blown away by all their information on such a great (and difficult) game.</p>
<p>And of course, I have <a href="http://vpsland.superglobalmegacorp.com/install/WindowsNT4.0-MIPS/games/nethack-3.1.2-MIPS.zip">NetHack for the Windows NT 4.0 MIPS</a>, and various <a href="https://sourceforge.net/projects/bsd42/files/">4.X BSD on sourceforge</a> under the package tapes&#8230;.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2010/11/21/net-hack-wiki-moved/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>More fun with Nethack &#038; MIPS NT!</title>
		<link>https://virtuallyfun.com/2009/08/04/more-fun-with-nethack-mips-nt/</link>
					<comments>https://virtuallyfun.com/2009/08/04/more-fun-with-nethack-mips-nt/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 05 Aug 2009 02:39:00 +0000</pubDate>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=148</guid>

					<description><![CDATA[Well a friend of mine pointed out some great archives of OLD Windows NT software..Â  Checking the list I noticed that there was a port of Nethack to Windows NT, namely Nethack 3.1.2Â  So using the nethack wiki I got &#8230; <a href="https://virtuallyfun.com/2009/08/04/more-fun-with-nethack-mips-nt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Well a friend of mine pointed out some great archives of OLD Windows NT software..Â  Checking the <a href="http://cd.textfiles.com/drsharewaregold/win_nt__/files.bbs">list</a> I noticed that there was a port of Nethack to Windows NT, namely Nethack 3.1.2Â  So using the <a href="http://nethackwiki.com/wiki/NetHack_3.1.2">nethack wiki</a> I got the source code, and converted it to a zip file ( tar &amp; gzip on SFU!)</p>
<p>The build was a little weird as itâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s expecting the first compiler tools that shipped with the Win32 SDK â€œFinal releaseâ€ for Windows NT 3.1Â  While it may have been â€˜easierâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /> to just install the old SDK, you can just copy cl.exe to mcl.exe &amp; make a dummy ntdll.lib â€¦.</p>
<p>Anyways with a little poking around I got it to build &amp; run!Â  Itâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s cool!Â  Although to be honest I SUCK at nethack.</p>
<p>You can download it <a href="http://vpsland.superglobalmegacorp.com/install/WindowsNT4.0-MIPS/nethack-3.1.2-MIPS.zip">here</a>.Â  Itâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s lovingly hard coded to use c:\games\nethack â€¦ Iâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />m sorry about that, as Iâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />ve given up on having C/D/E drives like a â€˜secureâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /> MIPS machine, and just have a giant (haha!) 2GB system partition.</p>
<div id="attachment_5514" style="width: 810px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2009/08/nethack-MIPS-1.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-5514" class="size-full wp-image-5514" src="https://virtuallyfun.com/wp-content/uploads/2009/08/nethack-MIPS-1.jpg" alt="nethack MIPS" width="800" height="618" /></a><p id="caption-attachment-5514" class="wp-caption-text">nethack MIPS</p></div>
<p>Itâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s also worth noting that itâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s easier to try to build stuff on a â€˜nativeâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /> machine running MSVC 2.0/2.1 then copy the stuff over the the MIPS simulator as it is SLOW.Â  But then that is to be expected.. Itâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s too bad the Qemu MIPS simulator cannot idleâ€¦ as it runs one of my cores @ 100%.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2009/08/04/more-fun-with-nethack-mips-nt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Update for HACK</title>
		<link>https://virtuallyfun.com/2009/05/11/update-for-hack/</link>
					<comments>https://virtuallyfun.com/2009/05/11/update-for-hack/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 11 May 2009 21:21:00 +0000</pubDate>
				<category><![CDATA[4.2 BSD]]></category>
		<category><![CDATA[4.3 BSD]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[SIMH]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=110</guid>

					<description><![CDATA[I just found out that hack will run properly if it&#8217;s built with the default compiler PCC (cc). However there is a single file that will not build, but gcc can be used to build the single file, and the &#8230; <a href="https://virtuallyfun.com/2009/05/11/update-for-hack/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>I just found out that hack will run properly if it&#8217;s built with the default compiler PCC (cc). However there is a single file that will not build, but gcc can be used to build the single file, and the build process can continue as normal.</p>
<p>Here is a quick log:</p>
<p>myname# make<br />cc -g -c hack.Decl.c<br />cc -g -c hack.apply.c<br />cc -g -c hack.bones.c<br />cc -g -c hack.c<br />hack.c: 799: missing endif<br />*** Error code 1</p>
<p>Stop.<br />myname# gcc -g -c hack.c<br />myname# make<br />cc -g -c hack.cmd.c</p>
<p>&#8230;</p>
<p>cc -g -c rnd.c<br />cc -g -c alloc.c<br />Loading &#8230;<br />myname# size hack<br />text data bss dec hex<br />158720 47104 30404 236228 39ac4<br />myname# ls -l hack<br />-rwxrwxr-x 1 root 694272 May 10 10:23 hack<br />myname# strip hack<br />myname# ls -l hack<br />-rwxrwxr-x 1 root 206848 May 10 10:23 hack</p>
<p>And with that being said, it seems just about any version of GCC will do&#8230; from 1.27 to 2.45. I&#8217;ve test played it, and you get the tombstone when you die, not a core dump. This applies to 4.2 BSD and all the 4.3 BSD&#8217;s. I&#8217;ve updated the sourceforge binary packages that I have made for Hack to include this hybrid exe that seems to work just fine.</p>
<p>Happy hacking!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2009/05/11/update-for-hack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hack</title>
		<link>https://virtuallyfun.com/2009/05/10/hack/</link>
					<comments>https://virtuallyfun.com/2009/05/10/hack/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 10 May 2009 15:45:00 +0000</pubDate>
				<category><![CDATA[4.2 BSD]]></category>
		<category><![CDATA[hack]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=109</guid>

					<description><![CDATA[&#160; Hack is the precursor to NetHack, and the follower of rogue. It&#8217;s a fun game, however I thought it would be a great addition to my 4.2 BSD project stuff. Thanks to the awesome site NetHackWiki I was able &#8230; <a href="https://virtuallyfun.com/2009/05/10/hack/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2009/05/hack2.jpg"><img loading="lazy" decoding="async" class="alignleft size-full wp-image-8384" src="https://virtuallyfun.com/wp-content/uploads/2009/05/hack2.jpg" alt="" width="677" height="350" /></a></p>
<div>
<p>Hack is the precursor to NetHack, and the follower of rogue. It&#8217;s a fun game, however I thought it would be a great addition to my 4.2 BSD project stuff. Thanks to the awesome site <a href="http://nethackwiki.com/wiki/Main_Page">NetHackWiki</a> I was able to quickly find Hack 1.0.3, download it, convert it into a tape for SIMH, and get it compiled. In it&#8217;s present state it does core dump when exiting, I&#8217;m not all that sure as to why, and to be honest I&#8217;m not all that good with adb. Perhaps a project for another time.</p>
<p>At any rate, the game is somewhat playable.</p>
<p>GCC is required to compile the source, pcc chokes when trying to build. I have made minor modifications to the source with regards to some variables, and renaming variables called &#8216;inline&#8217;..</p>
<p>If the COMPAT_42 is built with any later BSD it should run the binary otherwise producing your own ought to be trivial.</p>
<p>The binary is located <a href="https://sourceforge.net/project/downloading.php?group_id=204974&amp;filename=hack-1.0.3.binary.BSD-4.2.tap.bz2&amp;a=92359654">here</a>.</p>
<p>The modified source is <a href="https://sourceforge.net/project/downloading.php?group_id=204974&amp;filename=hack-1.0.3.source.tap.bz2&amp;a=54884098">here</a>.</p>
</div>
<div></div>
<div>I&#8217;m sure there are all kinds of mods like PC hack to run it under DOSBOX or some kind of Windows thing, but it&#8217;s more fun running it under a VAX 11/780 emulator&#8230;</div>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2009/05/10/hack/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>
