Documented Source Code For Elite On The C64, BBC Micro And Others

If you ever wanted to dive into the source code for the 1980s space game Elite, but didn’t want to invest many hours reverse-engineering the 6502 assembly code, then [Mark Moxon]’s annotated code has you covered. The systems referenced range from the BBC Micro and Commodore 64 to the NES and Apple II, with some of these versions based on the officially released source code. For other systems the available source code was used together with decompiled game binaries to determine the changes and to produce functional, fully commented source code.

The cutting-edge gameplay of Elite on the 8502.
The cutting-edge gameplay of Elite on the 8502.

This particular game is fascinating for being one of the first to use wire-frame 3D graphics with hidden-line removal and a sprawling universe in which to trade and deal with less than friendly parties using a variety of weapons. After this initial entry it would go on to spawn many sequels and inspired countless games that’d follow a similar formula.

On the respective GitHub project page for each version, you can find instructions on how to build the code for yourself, such as for the Commodore 64. Of note here is the license, which precludes anyone from doing more than forking and reading the code. If this is no concern, then building the game is as simple as using the assembler (BeebAsm) and the c1541 disk image utility from the VICE project.

Hackaday Links Column Banner

Hackaday Links: February 23, 2020

If you think your data rates suck, take pity on New Horizons. The space probe, which gave us lovely pictures of the hapless one-time planet Pluto after its 2015 flyby, continued to plunge and explore other, smaller objects in the Kuiper belt. In January of 2019, New Horizons zipped by Kuiper belt object Arrokoth and buffered its findings on the spacecraft’s solid-state data recorders. The probe has been dribbling data back to Earth ever since at the rate of 1 to 2 kilobits per second, and now we have enough of that data to piece together a story of how planets may have formed in the early solar system. The planetary science is fascinating, but for our money, getting a probe to narrowly miss a 35-kilometer long object at a range of 6.5 billion km all while traveling at 51,500 km/h is pretty impressive. And if as expected it takes until September to retrieve all the data from the event at a speed worse than dialup rates, it’ll be worth the wait.

Speaking of space, if you’re at all interested in big data, you might want to consider putting your skills to work in the search for extraterrestrial intelligence. The Berkeley SETI Research Center has been feeding data from the Green Bank Telescope and their Automated Planet Finder into the public archive of Breakthrough Listen, a 10-year, $100 million initiative to scan the million closest stars in our galaxy as well as the 100 nearest galaxies for signs of intelligent life. They’re asking for help to analyze the torrents of data they’re accumulating, specifically by developing software and algorithms to process the data. They’ve set up a site to walk you through the basics and get you started. If you’re handy with Python and have an interest in astronomy, you should check it out.

Staying with the space theme, what’s the best way to get kids interested in space and electronics? Why, by launching a satellite designed to meme its way across the heavens, of course. The Mission for Education and Multimedia Engagement satellite, or MEMESat-1, is being planned for a February 2021 launch. The 1U cubesat will serve as an amateur radio repeater and slow-scan TV (SSTV) beacon that will beam down memes donated to the project and stored on radiation-hardened flash storage. In all seriousness, this seems like a great way to engage the generation that elevated the meme to a modern art form in a STEM project they might otherwise show little interest in.

It looks as though Linux might be getting a big boost as the government of South Korea announced that they’re switching 3.3 million PCs from Windows to Linux. It’s tempting to blame Microsoft’s recent dropping of Windows 7 support for the defenestration, but this sounds like a plan that’s been in the works for a while. No official word on which distro will be selected for the 780 billion won ($655 million) effort, which is said to be driven by ballooning software license costs and a desire to get out from under Microsoft’s thumb.

And finally, in perhaps the ickiest auction ever held, the “Davos Collection” headed to the auction block this week in New York. The items offered were all collected from the 2018 World Economic Forum in Davos, Switzerland, where the world’s elites gather to determine the fate of the 99.999%. Every item in the collection, ranging from utensils and glassware used at the many lavish meals to “sanitary items” disposed of by the billionaires, and even hair and fluid samples swabbed from restrooms, potentially holds a genetic treasure trove in the form of the DNA it takes to be in the elite. Or at least that’s the theory. There’s a whole “Boys from Brazil” vibe here that we find disquieting, and we flatly refuse to see how an auction where a used paper cup is offered for $8,000 went, but if you’d like to virtually browse through the ostensibly valuable trash of oligarchs, check out the auction catalog.

“Superfan” Gaming Peripheral Lets You Feel Your Speed

Virtual reality has come a long way but some senses are still neglected. Until Smell-O-Vision happens, the next step might be feeling the wind in your hair. Perhaps dad racing a sportbike or kids giggling on a rollercoaster. Not as hard to build as you might think, you probably have the parts already.

HAD - Superfan4Off-the-shelf devices serve up the seeing and hearing part of your imaginary environment, but they stop there. [Jared] wanted to take the immersion farther by being able to feel the speed, which meant building his own high power wind generator and tying it into the VR system. The failed crowdfunding effort of the “Petal” meant that something new would have to be constructed. Obviously, to move air without actually going on a rollercoaster requires a motor controller and some fans. Powerful fans.

A proponent of going big or going home, [Jared] picked up a pair of fans and modified them so heavily that they will launch themselves off of the table if not anchored down. Who overdrives fans so hard they need custom heatsinks for the motors? He does. He admits he went overboard and sensibly way overbudget for most people but he built it for himself and does not care.

Continue reading ““Superfan” Gaming Peripheral Lets You Feel Your Speed”

An RV Converted Into A Spaceship Simulator

Hackerspaces always breed innovative projects. The outlandish ideas that come out of these areas typically push the boundaries of what is possible. This giant spaceship simulator is no exception, which is normally housed at the London Hackspace.

It was created by a team of DIY hackers that wanted an immersive experience that didn’t involve virtual reality goggles. Instead, they chose more of a holodeck-type game that literally would shake the people inside the sci-fi styled caravan as they traveled through virtual space fighting aliens along the way.

The cockpit consisted of three seats – one for a pilot, one for a tactical officer, and one an engineer. Countless amounts of computer monitors, joysticks, switches, and a wide variety of arcade-like buttons line the walls inside.

The main radar screen was modeled off of the 1984 space trading video game named Elite, which has been a game geared toward virtual reality from its early beginnings. In fact, a recent sequel called Elite: Dangerous has quickly gained traction as one of the Oculus Rift’s most popular experiences so far.

The difference here is that the caravan acts more like a ride rather than a virtual reality game. Interaction with this simulated experience is hands-on the entire way through.

The whole game is run by another member of the team who controls the experience with two Android tablets in a back room, and can trigger an unidentified space creature (a friend with an inflatable tentacle arm) to attack the unsuspecting space travelers.

141036173395118The game looks like a lot of fun, and it will be exciting to see if this project inspires other engineers to develop something similar. Perhaps someone will make a room into a Dreamatorium play area (as seen in the television show Community); or maybe go full out and attempt to recreate the actual Star Trek holodeck.

If anyone does decide to fashion together a large-scale simulator, be sure to send in photos of the progression of the project and put it up on Hackaday.io!

[via Motherboard – Vice Magazine]

Raspberry Pi Gets RISC OS, Can Now Play Elite

The processor in the Raspberry Pi – an ARM11 built by Broadcom – actually has a long and storied history. Much as how the Intel i7 in a top-of-the-line desktop can still run code written for the original IBM PC, the ARM chip in the Raspberry Pi is also based on decades-old technology.

The first ARM-based computer was the Acorn Archimedes, a mid-80s computer with 512kB of RAM and no hard drive. The Archimedes ran RISC OS, a very nice graphical operating system written explicitly for the ARM architecture. RISC OS is now available for the Raspberry Pi, finally bridging the gap between educational computers from 1987 and 2012.

Of course, a very much updated version of 25-year-old operating system running on a Raspberry Pi doesn’t mean much without a ‘killer app,’ does it? For the original Acorn Archimedes the killer app – and one of the best video games of the 80s – was Elite, a space trading and combat game that featured vector-style ships. [Pete Taylor] downloaded the Raspi RISC OS image and got Elite running using an Archimedes emulator and, of course, the Archimedes port of Elite.

It’s a pretty neat development if you’re in to alternative OSes and one of the best space-based games ever made. Well worth a download, at the very least.