Live data from Hacker News

Running a Minecraft Server and more on a 1960s UNIVAC Computer

farlow.dev

21–30 of 39 posts

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#21
post #3

What a great write up, and a video too! Even though Minecraft stuff ofc was a bit of a bait, it would be interesting see the answer to "Can it run Doom?".

Feels kind of like when Usagi Eletric got "Doom" running on a vacuum tube computer with a teletype interface without support for even ASCII, but it was just an imitation of the background music.

Anything for the thumbnail.

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#23

Earlier quoted context omitted.

According to the article, it takes 40 univac instructions to run a single risc-v instruction, so potentially up to 40x the current performance. Though you'd probably need more instructions to do things than a single one, so probably less than that, say 10-20x? Especially if you made a custom compiler that made the best use of the hardware you could, since it's weird

> it takes 40 univac instructions to run a single risc-v instruction Which is wild, given: > The computer’s original purpose was to be used by the Navy to read in radar signals and direct artillery I'd really be fascinated to see how that was done on such a primitive machine, shame that's probably been lost.

The radar "reading" was done by first plotting analog radar signals to the antique rotary radar displays. Then there would be human operators with a light pen, marking each radar signature on each radar turn.

So the Univac would receive input coordinates for each target and track those in memory each turn.

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#24
WOW! I started off thinking "this could be a boring meandering through registers and op codes" but by the time I got half way through your write-up, I was bouncing off the walls excited. Thanks for sharing your awesome write-up and glad you had such a cool project!

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#25

Hah, I heard about this at VCF East this year, but didn't get to check out the exhibit. There was another MC server demo running on old Macs IIRC. Shame the event was cut short due to a bomb threat.

Yeah, I was there on Saturday and could not imagine how it would end the next day. Got to see the Univac powered up but not spitting out those awesome outputs at the time.

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#26
Research UNIX was ported to the UNIVAC, which (I believe) was the first SMP kernel implementation. It ran on top of the native kernel, known as EXEC-8. A later port to IBM hardware did the same.

"The UNIX system for the UNIVAC 1100 series was built as an integrated development environment for transactions that run directly on EXEC. Unlike most other implementations, therefore, it runs not directly on the hardware but as a collection of user-level activities under control of EXEC. These obtain services that would normally be provided by device drivers, and some process creation and management services from EXEC. Any configuration supplied by Sperry, including multiprocessor ones, can run the UNIX system."

https://www.nokia.com/bell-labs/about/dennis-m-ritchie/other...

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#27
post #3

What a great write up, and a video too! Even though Minecraft stuff ofc was a bit of a bait, it would be interesting see the answer to "Can it run Doom?".

It could probably run the code for doom, once recompiled for the risc-v emulator, but given that the only output is a paper teletype, displaying it would be a problem

I wonder which would be faster: computing a frame, or printing it? If you could print one frame at a time, you could make a flip-book animation.

Re: Running a Minecraft Server and more on a 1960s UNIVAC Computer

#29
post #3

What a great write up, and a video too! Even though Minecraft stuff ofc was a bit of a bait, it would be interesting see the answer to "Can it run Doom?".

From the article:

Only 40,960 words of memory. That’s only 90kb total memory to split between our code and the memory it needs at runtime.

Looking at a copy of Doom on the Internet Archive (https://ia800404.us.archive.org/view_archive.php?archive=/15...), DOOM.EXE is about 709k, and DOOM.WAD is about 11159k.

I think that's a pretty solid no.

Also it's a 250khz CPU. Not megahertz. Kilohertz. It's slower than the 1MHZ 8-bit home computers like the Apple ][ or c64.

"Running" Doom might be possible with some insane hack that offloads storage and/or processing to more modern hardware crammed into the UNIVAC case but given that this is one of two UNIVACs in the entire world, and the only one that actually runs, I don't think the museum is gonna let anyone cram a Raspberry Pi up in there.

Post reply on HN