8 ms·
The oldest program source I still have is Empire written in Fortran-10 for the DecSystem 10, circa 1978 or so. https://github.com/DigitalMars/Empire-for-PDP-10
by WalterBright 5y ago
The oldest program source I still have is Empire written in Fortran-10 for the DecSystem 10, circa 1978 or so.
https://github.com/DigitalMars/Empire-for-PDP-10 https://github.com/DigitalMars/Empire-for-PDP-10
I thought backing it up using github was a good idea.
A modern version that will run on Windows can be obtained from:
https://classicempire.com https://classicempire.com
- Aeolun 5y agoFor those people that have a PDP-10 sitting around :P
- cmarschner 5y agoLooks like there are several emulators around: http://www.avanthar.com/healyzh/decemulation/pdp10emu.html#emulator http://www.avanthar.com/healyzh/decemulation/pdp10emu.html#e...
- anamax 5y agohttp://www.avanthar.com/healyzh/decemulation/pdp10emu.html http://www.avanthar.com/healyzh/decemulation/pdp10emu.html
- shakna 5y agoThanks to decent emulation, cheap hardware, and 3D printing, some of my friends have things like this [0] sitting around. [0] https://www.tindie.com/products/obso/pdp-11-replica-kit-the-pidp-11/ https://www.tindie.com/products/obso/pdp-11-replica-kit-the-...
- larsbrinkhoff 5y agoA PiDP-10 is in the works.
- WalterBright 5y agoYou can see my -11 here: https://twitter.com/WalterBright https://twitter.com/WalterBright Unfortunately, I gave it away long ago. Big mistake.
- 41209 5y agoRandom question, is it just me or is programming significantly easier now with all of our modern tools. Even within my own lifetime, I find newer programming languages such as NodeJS to be infinitely easier than C++. Although occasionally I'll see some scripting frameworks which actually appear to imitate the older keyword based style. Thank you for sharing by the way. I hope one day someone can learn from my old code
- dotancohen 5y agoI'm not Walter, but this is the internet so I'd like to state my opinion where is wasn't asked for. )) Programming really isn't easier, but it is far more accessible. In the '80s (I can't go any further back that that, sorry) one had to be able to do things properly in order to do anything. Today, one can copy and paste high-level code from public websites to get their programs to do more-or-less what they want under more-or-less trivial circumstances, without even being aware of the corner cases. But doing it right? Still takes the same dedication to detail. Big difference is finding people to pay you to do it right instead of paying 1/4 the salary to someone who will code bugs and security issues that may lay dormant for half a decade before costing the company dearly. Though, truth be told, most of that code won't last the half decade anyway. So there certainly is something for expedience and being first out the door.
- thom 5y agoIs it really more accessible? Computers used to boot into a BASIC prompt. Now the devices we most commonly use don’t have any sort of programming environment built in.
- dotancohen 5y agoI would say that a higher percentage of the population of any developed nation can go from "I don't know what a computer program looks like" to running print() in a REPL in far less time (the only real measure other than Money, right?) than could be done in the 1980s. If we're talking about "people with a desktop computer readily at their disposal" then I'll agree that in that subset it may be more difficult today than it was 35 years ago (when computers booted into a BASIC prompt), but only a little bit. However, that subset went from 3% of the population to 97% of the population, greatly increasing the pool in general.
- hubblesticks 5y agoWalter! I feel like I'm speaking to a celebrity! My Dad has been playing Empire since I was very young. It was a staple in my house growing up. He still plays it every day. He buys every version he can get his hands on. His love for Empire rubbed off, and my favorite genre of games are war management / 4X games (but SciFi!). Thank you so much for your amazing game. Is there a way I can contact you outside of HN (email)? Would love to ask some Empire questions :)
- dtparr 5y agoThis feels a little like I'm doxing him, but I mean, his website lists an email and twitter handle (see https://walterbright.com/ https://walterbright.com/) and the Empire page lists a mailbag, so I think he's open to it (http://www.classicempire.com/letters.html http://www.classicempire.com/letters.html)
- lkschubert8 5y agoI mean that and his hn handle is his first and last name.
- jereees 5y agoAnother thread on HN: https://news.ycombinator.com/item?id=24440543 https://news.ycombinator.com/item?id=24440543
- WalterBright 5y agoSure, ask me Empire questions!
- rightbyte 5y agoBLAH=A(1,Z6+IARROW(I)) IF((BLAH>='1').AND.(BLAH<='8')) CALL CMYCOD(LOC,0) ... Somehow it is refreshing to see a natural naming convention in todays agile tryhard world.
- WalterBright 5y agoI actually remember naming that variable. My mind went blank and so it was BLAH. Z6 derived from the earlier BASIC version, which restricted variable names to one letter and one digit. FORTRAN-10 let me have 6 characters, heaven!
- WalterBright 5y agoThe reason I have that source code to Empire and none of the rest of the code I wrote on the PDP-10 is I saved everything to a magtape. Unbeknownst to me, the magtape machine was way out of spec, and the tapes were only readable on that machine, which is long gone, so I threw the magtape away. And so disappeared the earlier BASIC version of Empire. I downloaded Empire over a modem to some 8" floppies on a PDP-11. I also saved a paper listing of the code for insurance. I eventually bought my own LSI-11 which could read the floppies, and later rigged up an RS-232 connection with Kermit to transfer it to a PC with 5.25 floppies. From those it eventually went to a CD, a hard disk, and finally to github. Fortunately, I never needed to type it in from the listing, and tossed that.
- tmoertel 5y agoI love that the Empire manual has a section that suggests readers "Wire up an interconnecting cable as shown..." Long gone are the days when computer games came with manuals, let alone manuals that are so detailed they actually tell you how to wire up the cables you might need.
- mhh__ 5y agoLots of niche games still come with manuals.
- WalterBright 5y agoI'm glad that I don't have to solder up my own RS-323 cables anymore, nor worry about whether they were crossover cables or not. But still, I wrestle with Ethernet, several types of USB, HDMI, RCA, phono, F, BNC, quarter inch, disk, VGA, DVI, connectors. I have a box full of adapters. That all sux.
- amenghra 5y agoOriginal graphical program from 1976 running in your browser: https://www.quaxio.com/kaleidoscope_part1/ https://www.quaxio.com/kaleidoscope_part1/ Granted way less cool than Empire since it’s only a handful of bytes.