The source code to Hack was posted onto usenet back in December of 1984:
From: [email protected] (funhouse) Newsgroups: net.games,net.sources Subject: Hack sources posted Message-ID: <[email protected]> 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 & Happy Hacking !
Oddly enough the full source code to Hack had been lost.  Even the Nethack Wiki didn’t have the full source code, although thanks to the UTZOO archives 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.
I’ve added a package tape for SIMH, as it builds and runs on 4.2 BSD out of the box.
It’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’d never even look.



![KVM internal error. Suberror: 1 emulation failure EAX=00000720 EBX=00000050 ECX=fee10050 EDX=00400780 ESI=d02f004c EDI=ff3f0000 EBP=00000d88 ESP=00000d72 EIP=00006725 EFL=00013202 [-------] CPL=3 II=0 A20=1 SMM=0 HLT=0 ES =0047 00080000 00000f9f 0010f300 DPL=3 DS16 [-WA] CS =d517 1aa20000 0000672d 0000ff00 DPL=3 CS16 [CRA] SS =0017 00020000 00000fff 0000f300 DPL=3 DS16 [-WA] DS =bfcf 17f90000 0000033d 0000f300 DPL=3 DS16 [-WA] FS =0000 00000000 ffffffff 00000000 GS =bfff 17ff0000 00000fff 0000f300 DPL=3 DS16 [-WA] LDT=0028 7be57000 0000ffff 00008200 DPL=0 LDT TR =0010 ffe1f6e7 00000067 00008b00 DPL=0 TSS32-busy GDT= 7c7e5000 00001fff IDT= ffe201e0 000003ff CR0=8001001b CR2=00080000 CR3=001b3000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000000 Code=ca 76 0f 8b ca eb 0b 03 7e 22 8b ca 3b cb 76 02 8b cb 2b d1 <f3> ab 0b d2 75 ed 2b c0 c3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00](https://virtuallyfun.com/wp-content/uploads/2014/10/KVM-OS2-crash.png)




