13 ms·
Nobody ever ported Doom to run on a Cray 1
- grawprog 6y agoWell...since this is on HN, I wonder how long it's going to be before the new Cray 1 port of doom comes out.
- mhh__ 6y agoHas anyone got one lying around? (It draws a mere 100kW at the wall, I'm guessing no)
- NeutronStar 6y agoOnly 6$ an hour where I live, not bad.
- 83457 6y agoComputer History Museum had one when I stopped by about 10 years ago. Not certain if operational as anything other than a cozy bench. Anyone know?
- mhh__ 6y agoThey used Freon coolant so it's possible they can't/won't
- kens 6y agoNo, the Cray is not operational. Only a few things at the CHM are operational: the PDP-1, the IBM 1401 lab, and the RAMAC disk drive.
- macjohnmcc 6y agoWhen I was in high school we had a PDP System 10 and PDP 11 where I took a programming course on PDP-11 assembly language. It makes me feel old knowing these weren't antiquated at the time.
- ficklepickle 6y agoWow! Did you ever meet Charles Babbage? ;)
- macjohnmcc 6y agoNo but something nearly as bad was typing on punch cards and having to feed them into a card reader to get the code into the computer. And all but one of the terminals was a TTY at 110baud and printed on paper. There was a single Dec VT100/102 terminal you had to get in early to use.
- grawprog 6y agoThis guy made one. https://www.chrisfenton.com/homebrew-cray-1a/ https://www.chrisfenton.com/homebrew-cray-1a/
- Nomokis 6y agoMan, this guy has some great articles. http://www.chrisfenton.com/cray-1-digital-archeology/ http://www.chrisfenton.com/cray-1-digital-archeology/ http://www.chrisfenton.com/cos-recovery/ http://www.chrisfenton.com/cos-recovery/ I just wish he'd made higher resolution pictures. He's also seriously hardcore (or maybe I feel out of depth because I'm a software guy): > I built a robot that would manually move the head forward 1/5200th of an inch at a time (there are 400 data tracks per inch, so this gives me a whopping 13 steps per data track!), while a high-speed analog-to-digital converter would take the analog signal straight from the drive’s read amplifier and buffer it into an FPGA at a blistering 80 million samples-per-second (like I said earlier, the theme here was overkill…the data was only changing at ~10 MHz or so) Related: http://www.modularcircuits.com/blog/articles/the-cray-files/ http://www.modularcircuits.com/blog/articles/the-cray-files/
- mhh__ 6y agoVery nice. The FPGA thing isn't that inaccessible to normies like us (i.e. some FPGA Dev boards will easily cost thousands and thousands), but the ecosystem is a complete clusterfuck so getting started is the hard bit. Obviously you need to know electronics too but 80MSPS will let you get away with a lot (The term is signal integrity) of bad circuitry (as I can attest to...). Verilog isn't too bad as long as you treat it as a description of a circuit (in a language from the past, not even mentioning VHDL...)
- fentonc 6y agoLol - the 'overkill' approach was mostly one of expediency, since I had spent most of the summer I had to work on this project just trying to get my hands on the disk drive and then powering it on without blowing a fuse. I only had 2-3 weeks to throw everything together, so the 'robot' was basically the Z-stage of a Makerbot 3D printer with some acrylic widgets to push the read-head, then the signal was fed into an analog comparator chip and then into a shift register in my FPGA board. The craziest part is that it worked, and I was able to recover the data!
- quickthrowman 6y agoIt actually has a 150kW 208v 3-phase generator set that provides power to the power distribution cabinet which then uses variacs to transform the voltage to 5v. The genset has a theoretical current output of 415A, pretty serious power! https://www.edn.com/cray-1-super-computer-the-power-supply/ https://www.edn.com/cray-1-super-computer-the-power-supply/
- fiddlerwoaroof 6y agoJust plug it in at a supercharger.
- EarthLaunch 6y agoLooks like most superchargers supply exactly 150kW (newer ones supplying 250kW) [1]. 1: https://en.wikipedia.org/wiki/Tesla_Supercharger https://en.wikipedia.org/wiki/Tesla_Supercharger
- fiddlerwoaroof 6y agoYeah, that was the joke :) It helped put the power draw in perspective for me.
- EarthLaunch 6y agoFor me too, thanks :) Interesting given the decades lag.
- AnimalMuppet 6y agoSounds like a good thing to not touch by accident...
- CrayBoy 6y agoIt's not Cray if the bowels; don't touch. Merry Christmas. May the light shine upon yous. < 3
- 6y ago
- tinus_hn 6y agoHere’s a simulator: https://www.chrisfenton.com/homebrew-cray-1a/ https://www.chrisfenton.com/homebrew-cray-1a/
- vidanay 6y agoI'm disappointed they never released a Cray Z computer.
- tempodox 6y agoWouldn't that make Doom much harder? In-game adversaries would take advantage and execute vectorized attack patterns supported by cached-ammunition flow. Would Doomguy be able to survive at all?
- whoopdedo 6y agoOn the other hand, I can't wait to see E1M1 in <4s.
- Something1234 6y agoWhat's E1M1?
- FartyMcFarter 6y agoEpisode 1, map 1. The first level in Doom.
- IncRnd 6y agoYou should be okay with your Reciprocal BFG as a force multiplier. EDIT for those who may not have understood my comment. You would be hard-pressed to find a Cray that performed division and would instead need to perform a reciprocal multiplication in constant time.
- ficklepickle 6y agoHow do you compute the reciprocal without division? A precomputed lookup table?
- variaga 6y agoNewton-Rapheson method to calculate X = 1/D 1) Make a guess at the reciprocal X(0) (this can come from a small LUT, but a static "guess" can also work) 2) Calculate an improved reciprocal X(n) iteratively using the relation: X(i+1) = X(i)*(2-X(i)*D) Repeat (2) until X(i) is accurate "enough". This is relatively fast, since the # of correct bits in X() doubles for each iteration. There are several other methods: https://en.wikipedia.org/wiki/Division_algorithm#Fast_division_methods https://en.wikipedia.org/wiki/Division_algorithm#Fast_divisi...
- dn3500 6y agoI ported parts of a TCP stack to the Cray X-MP in the 1980s. It was so fast that at first I thought it was broken. Hit <return> on the compile command line and the prompt would come right back almost immediately.
- dboreham 6y ago...and in red, since it was going so fast.
- freeqaz 6y agoOr would it be shifted to be more blue??
- marcodiego 6y agoOnly if it was getting closer.
- AnimalMuppet 6y agoIt's the reply from the machine to you. It should be blue.
- cgriswald 6y agoThe message is always heading in the same direction. The relevant variable is the movement between the machine and you. You should probably hope it’s red because if the machine is fast enough that the blue shift is perceivable to the human eye, it might be the last thing you see.
- IncRnd 6y agoI used to program a Y-MP2 around 1990. That had an SSD and was the abolute fastest machine I had ever used at that time.
- 6y ago
- ThinkBeat 6y agoThe Cray Computers felt like magic back in the day. A guy is making a replica. He had some issues finding the operating system and systems software but he overcame it Persistence pays off. I am sure it would be fun to part doom to it. Easier too since the new versions draws Considerable less power. https://gigaom.com/2014/01/14/the-search-for-the-lost-cray-supercomputer-os/ https://gigaom.com/2014/01/14/the-search-for-the-lost-cray-s...
- arthurcolle 6y agoHow did he obtain the OS?
- ethbr0 6y agoPer TFL, "Andy Gelme, an Australian software developer who once worked for Cray. He too had a disk pack [containing the OS]." "For the greater part of the last year, [Tantos, a Microsoft electrical engineer] arduously reverse engineered the OS from the [corrupted / incomplete] image. Despite a few remaining bugs, the Cray OS now works."
- numpad0 6y agoWas there ever a GUI for Crays? I don’t bet on it but think there’s no image to run Doom on GCP or AWS for the same reason, a keyboard is not but a graphical array display is among requirements for void portDoomWithoutReason(); to be called from OnFoundCapableComputerDoomPlayable(machine Box)
- randomifcpfan 6y agoThere was a third party frame buffer. Apple had one and used it to prototype advanced UX on their Cray.
- kristianp 6y agoThat sounds like an interesting story. Do you have any further info about Apple using a Cray for prototyping?
- marcodiego 6y agoThere is an often cited quote from Seymour Cray when asked about Apple using Cray computers to design the next Apple: "That's interesting, because I'm designing the next Cray with an Apple!" https://wiki.c2.com/?AppleCrayComputer https://wiki.c2.com/?AppleCrayComputer
- jecel 6y agoSome people take this seriously, not realizing that Seymour was being sarcastic. He used pencil and paper to design his computers, not even an Apple II.
- watersb 6y agoThermal design, fluid dynamics. Apple said as much in advertising at the time, IIRC
- deleted 6y ago[deleted]
- johndoe0815 6y agoA real working Cray 1 is a bit hard to find today, but in addition to the FPGA version by Chris Fenton that was already mentioned (https://www.chrisfenton.com/homebrew-cray-1a/ https://www.chrisfenton.com/homebrew-cray-1a/), there is also a simulator for various Cray models at https://github.com/andrastantos/cray-sim https://github.com/andrastantos/cray-sim The biggest problems will be finding a C compiler for the Cray and adding a framebuffer output, I think... but this is a very nice challenge :).
- ardy42 6y ago> The biggest problems will be finding a C compiler for the Cray and adding a framebuffer output, I think... but this is a very nice challenge :). I suppose you could run Doom as a batch job: input is a file with the control input and output is a gameplay video.
- greenshackle2 6y agoDoom can record game sessions to LMP file format, which is a recording of the inputs on every frame. That's usually how people share runs in the Doom speedrun community. So yeah a LMP-to-video converter could be legitimately useful to some people. https://doom.fandom.com/wiki/Demo#Custom_demos https://doom.fandom.com/wiki/Demo#Custom_demos
- ogurechny 6y agoPerhaps you'd want to reference the wiki that was not abandoned ages ago. https://doomwiki.org/wiki/Demo https://doomwiki.org/wiki/Demo https://doomwiki.org/wiki/Doom_Wiki:Departure_from_Wikia https://doomwiki.org/wiki/Doom_Wiki:Departure_from_Wikia “LMP-to-video converter” is any Doom port which output you can record by common (or less common) means. PrBoom+ has a built-in demo playback recording (if you consider running the console encoders and feeding them sound and image data “built-in”). https://github.com/coelckers/prboom-plus/blob/master/prboom2/doc/prboom-plus-usage.txt#L340 https://github.com/coelckers/prboom-plus/blob/master/prboom2...
- deleted 6y ago[deleted]
- CydeWeys 6y agoI've seen these in at least two museums (Computer History Museum in Mountain View, CA and the Smithsonian Air & Space Museum in DC). They definitely make for good museum pieces, and you could probably pull enough parts together to get at least one working if you really wanted to pull this off. Incidentally, a Cray-1 uses 115 kW of power when running. Would that be a new power consumption record for a device that's just running Doom?
- aarong11 6y agoDepends, we could always create a cryptocurrency which renders and plays doom in a distributed manner. Reward people with "DoomCoins"
- tnolet 6y agoI saw one last summer at the Musée des Arts et Métiers in Paris. I was more fascinated then I expected https://commons.wikimedia.org/wiki/File:Musée_des_Arts_et_Métiers_-_Supercalculateur_Cray-2_(37517944066).jpg https://commons.wikimedia.org/wiki/File:Musée_des_Arts_et_Mé... They looked more like abstract art pieces or 70ties science fiction props.
- codesnik 6y agointeresting. that huge transparent block is here for aesthetics only?
- ajlburke 6y agoI gather it was used to regulate the temperature of the liquid coolant - but instead of just some pipes or whatever, the designers turned it into a nice "waterfall" feature. I think it even lit up.
- deleted 6y ago[deleted]
- kgin 6y agoTo this day, it a dream of mine to sit on the bench of a Cray 1
- immmmmm 6y agoi remember finding one board of it in a drawer at my university. it instantly felt like a special piece of electronic history, even before i realized it was a cray! (i ran to the old cray in display in the hall and indeed was a board for it :) the guy at the computer museum was happy
- Animats 6y agoThe Computer Museum in Mountain View has a Cray-I. The last time I saw it, it was at the left side of the lobby, unmarked, and some caterers were using its padded bench seats on the power supplies to stack their stuff. Has anyone been able to emulate Tandem systems and their OS? That was a interesting high-reliability system, still worth attention. The hardware just cost too much back when it was a product.
- Daniel_sk 6y agoThere are two in the Computer Museum - one on the left side, you can sit on this one :-). And then one in the actual museum area, this one is opened to show the insides.
- dhosek 6y agoI sat on the bench seats of the Texas A&M Cray back in the 80s.
- skissane 6y ago> Has anyone been able to emulate Tandem systems and their OS? That was a interesting high-reliability system, still worth attention. The hardware just cost too much back when it was a product. HPE still sells the Tandem OS, NonStop, and they have ported it to run on x86. Unfortunately, unlike OpenVMS, they’ve never (to the best of my knowledge) run a hobbyist program for it.
- pklausler 6y agoCAL was the most programmable (and readable) assembly language I ever got to use, and the machine encoding of the instruction sets of the Cray-1 and Cray-2/-3 were so clean that one could read code straight from an octal dump. I think that something important has been lost since those days. My favorite anecdote of 25 years on those machines is what we put into the 64-bit word at address 0 on the Cray-2. In ASCII, it read ~Z~E~R~O. If you jumped to it, it worked as four no-op ("PASS") instructions, and at word 1 was a jump to the library's routine that dumped registers and said "hey you jumped to a null function pointer". If you ever saw ~Z~E~R~O in a dump, you knew that a load from null had taken place. I still wish a modern ISA would implement real vectors; SIMD is still a distant second-best.
- reitzensteinm 6y agoCould you elaborate on what you mean by real vectors? It's not immediately obvious looking at the Cray specs what differentiates it from the kind of SIMD we have today.
- CamperBob2 6y agoSupport for vector chaining, I imagine.
- fentonc 6y agoThe Cray vector processors had a set of 8 64-element x 64-bit 'vector' (V) registers, as well as 8 64-bit 'scalar' (S) and 8 24-bit 'address' (A) registers - so it would sort of be similar to 4096-bit wide SIMD. When you did an operation like a vector add, you could do "V0 V1+V2", and it would automatically do 64 consecutive adds, and it would be done in 64 + a few cycles (since the hardware was still only doing 1 add per cycle). As someone else mentioned, it also supported "Vector chaining", so if your next instruction was "V2=V0*V3", it could take the result from the adder and pipe it into the multiplier so now your addition and multiplication are nearly fully overlapped (and you're cruising along at 160 MFLOPS in 1976!). I think it might have supported 3 chains, so you could very briefly peak at 240 MFLOPS, but you couldn't sustain it because of the startup latencies involved. As a 'practical' example, I was able to write an N-body simulator of Jupiter and 63 of its moons (using the vector registers) orbiting one another in only 127 total instructions!
- musicale 6y agoUntil now?
- ChrisArchitect 6y agojust picturing the Jurassic Park scene..... "This is E1M1. I know this!!"
- jhallenworld 6y agoI remember porting my text editor to UNICOS (someone loaned me an account on a Y-MP I think): it really only had 64-bit word pointers. The byte offset in such pointers were stuffed in to the upper unused three bits. This meant that address arithmetic had better be done with pointers, and not casted to integers. Also I'm pretty sure ints were 64-bits.. it's possible that shorts were also 64-bits, but I don't remember.
- dhosek 6y agoI remember a story (perhaps apocryphal) about Seymour Cray showing off the Cray-1 and a hardware bug was discovered during the demo. While the attendees ate lunch, Cray redid the wire-wrap to fix the bug.
- dusted 6y agoAre there any functioning Cray-1s left?