Well Documented Code Helps Revive Decades-Old Commodore Project

In the 1980s, [Mike] was working on his own RPG for the Commodore 64, inspired by dungeon crawlers of the era like Ultima IV and Telengard, both some of his favorites. The mechanics and gameplay were fairly revolutionary for the time, and [Mike] wanted to develop some of these ideas, especially the idea of line-of-sight, even further with his own game. But an illness, a stint in the military, and the rest of life since the 80s got in the way of finishing this project. This always nagged at him, so he finally dug out his decades-old project, dusted out his old Commodore and other antique equipment, and is hoping to finish it by 2024.

Luckily [Mike’s] younger self went to some extremes documenting the project, starting with a map he created which was inspired by Dungeons and Dragons. There are printed notes from a Commodore 64 printer, including all of the assembly instructions, augmented with his handwritten notes to explain how everything worked. He also has handwritten notes, including character set plans, disk sector use plans, menus, player commands, character stats, and equipment, all saved on paper. The early code was written using a machine language monitor since [Mike] didn’t know about the existence of assemblers at the time. Eventually, he discovered them and attempted to rebuild the code on a Commodore 128 and then an Amiga, but never got everything working together. There is some working code still on a floppy disk, but a lot of it doesn’t work together either.

While not quite finished yet, [Mike] has a well-thought-out plan for completing the build, involving aggregating all of the commented source code and doing quarterly sprints from here on out to attempt to get the project finished. We’re all excited to see how this project fares in the future. Beyond the huge scope of this pet project, we’d also suggest that this is an excellent example of thoroughly commenting one’s code to avoid having to solve mysteries or reinvent wheels when revisiting projects months (or decades) later. After all, self-documenting code doesn’t exist.

Continue reading “Well Documented Code Helps Revive Decades-Old Commodore Project”

Building The Scoreboard Of Your Imagination

It might seem like electronic games and tabletop games are somewhat at odds. But there are always places where the lines are cleverly blurred as with this stat tracker beautifully constructed from a sandwich of circuit boards.

The nature of role playing games is one of deep imagination, putting yourself in the shoes of the player your are building though out a campaign. But of course the game board and pieces are there to keep track of all the data that your imagination just can’t. This can be done with a character card and some markers, a pad of paper, or a spreadsheet on your laptop. But to keep his mind in the world of Hyper Light Drifter, [Albert Phan] built this stat tracker that lives up to the aesthetic of the game.

The stackup of three PCBs does a brilliant job here, using cutouts on either end of the faceplate as a flexible tab that you press to actuate the surface mount button on the bottom PCB. The third PCB act as a spacer, not just for the six low-profile buttons, but also for the 40 LEDs that display status. That spacer has holes cut out for each light, providing isolation, with the FR4 substrate of the top plate acting as a diffuser.

It looks spectacular, it saves state between uses, and can be recharged via USB. But what’s that you say? You don’t play Hyper Light Drifter? Just respin the top PCB (and we suppose you’d need to tweak firmware as well) and you can swap it out for your game of choice.

Continue reading “Building The Scoreboard Of Your Imagination”

Explore This 3D World Rendered In ASCII Art

Pixelated RPGs are pretty standard in games like Legend of Zelda and Pokemon, but have you ever seen anything like ASCIICKER? It’s a full-color three-dimensional world rendered with ASCII art and playable in your browser.

For the time being, the game exists as an experiment. There’s no storyline or goals other than exploring the world, although you can meet up with (or follow) others exploring the game — although all of the sprites look the same, so it may be difficult to have interactions. The game was created by [Gumix] and built entirely in JavaScript without using any other game engines.

All of the previous iterations have also been published online and are accessible by adding X1 up to X13 to the end of the URL. With game development beginning in 2017, it has since been through a considerable amount of change. There’s an entire subreddit dedicated to the game with regular updates from the creator on the development of an open-source dev tool for building new levels and features for the environment. The current engine is capable of rendering objects as thin as fences as well as reflections in bodies of water.

You can try out the game for yourself and see what you think!

Continue reading “Explore This 3D World Rendered In ASCII Art”

Blowing The Dust Off Of An IBM AS/400 Server

If you’ve never seen an IBM AS/400 machine, don’t feel bad. Most people haven’t. Introduced in 1988 as a mid-range server line, it used a unique object-based operating system and was geared specifically towards business and enterprise customers. Unless you’re a particularly big fan of COBOL you probably won’t have much use for one today, but that doesn’t mean they aren’t worth playing around with if the opportunity presents itself.

So when a local IT company went belly up and was selling their old hardware, including a late 90’s era IBM AS/400e Series, [Rik te Winkel] jumped at the chance to take this unique piece of computing history home. He knew it was something of a risk, as maintenance and repair tasks for these machines were intended to be done by IBM certified technicians rather than the DIYer, leaving little in the way of documentation or even replacement parts. But in the end it worked out, and best of all, he documented the successful process of dragging this 90’s behemoth into the blinding light of the twenty-first century for all the world to see.

After getting the machine home and sitting through its thirty minute boot process, [Rik] was relieved to see the code 01 B N pop on the server’s display. This meant the system passed all the internal checks and was ready to go, he just had to figure out how to talk to the thing. Built to be a pure server, the machine didn’t offer any video output so he’d have to log into it over the network.

[Rik] noted that there was no new DHCP entry in his router for the server, but of course that was hardly surprising as the machine would have certainly had a static IP when it was in use. So he shut the server down, plugged it directly into his laptop’s Ethernet port, and watched the output of Wireshark as it went through its arduous boot sequence. Eventually he started to pick up packets coming from the IP address 10.10.10.9, and he had his target.

There are a few clients out there that allow you to remotely log into an AS/400, so he downloaded one and pointed it to the server’s IP. He was surprised to see the operating system was apparently in Dutch, but at least he was in. He tried a few common usernames and passwords, helped along by the fact that this OS from a somewhat more innocent era will actually tell you if you have the username right or wrong, and eventually managed to hack the Gibson with the classic admin/admin combo.

So he was in, but now what? [Rik] decided that he couldn’t truly call this machine bested until he could pull up the Hackaday Retro Edition, so he started work on writing a program to let him pull down the page directly on the AS/400 in IBM’s proprietary Report Program Generator (RPG) programming language. You know, as one does. He didn’t quite feel up to writing a whole HTML parser, but he got as far as generating a HTTP GET request, downloading the page’s source, and opening it up as a local file. That’s good enough for us.

Our very own [Al Williams] documented his adventures poking around an Internet-connected AS/400 machine, which might serve as a helpful primer if you ever find one of these delightfully oddball computers kicking around the local recycling center.

Unleash Your Inner Starship Captain With This Immersive Simulator Console

We like a good video game as much as the next person. Heck, a few hours wasted with “Team Fortress 2” on a couple of big monitors is a guilty pleasure we’ll never be ashamed of. But this starship bridge simulation console brings immersive gameplay to a new level, and we wholeheartedly endorse it even if we don’t quite get it.

The game in question is “Artemis Spaceship Bridge Simulator”, a game played by anywhere from 2 to 11 players, each of whom mans a different station on the bridge of a generic starship, from Engineering to Communications to the vaunted Captain’s chair. The game is generally played on laptops linked together in a LAN with everyone in the same room, and as cool as that sounds, it wasn’t enough for [Angel of Rust]. The whole mousing back and forth to control the ship seemed so 21st-century, so he built detailed control panels for each of the bridge stations. The level of detail is impressive, as is the thought put into panel layouts and graphics. The panels are mostly acrylic in MDF frames, which allows for backlighting to achieve the proper mood. With the help of a bunch of Arduinos, everything talks to the game software over DMX, the protocol used mainly for stage lighting control. There’s a cool demo video below.

This is uber-nerd stuff, and we love it. Pyrotechnics and atmospherics would be a great addition for “realistic” battles, and dare we hope that someday this ends up on a giant Stewart platform flight simulator for the ultimate experience?

Continue reading “Unleash Your Inner Starship Captain With This Immersive Simulator Console”

Dungeons And Dragons TV Tabletop!

With little more than pen, paper, dice, and imagination, a group of friends can transport themselves to another plane for shenanigans involving dungeons and/or dragons. An avid fan of D&D and a budding woodworker, Imgurian [CapnJackHarkness] decided to build gaming table with an inlaid TV for their inaugural project.

The tabletop is a 4’x4′ sheet of plywood, reinforced from underneath and cut out to accommodate a support box for the TV. Each leg ended up being four pieces of 1’x4′ wood, laminated together with a channel cut into one for the table’s power cable. An outer ledge has dice trays — if they’re even needed in today’s world — ready for all those nat 20s, cupholders because nobody likes crying over spilled drinks, and electrical outlets to keep devices charged. Foam squares cover the tabletop which can be easily removed and washed if needed — but more on that in a second. [CapnJackHarkness] painted the table as the wood rebuffed many attempts at staining, but they’re happy with how it turned out.

Continue reading “Dungeons And Dragons TV Tabletop!”

Game Like It Is 1983

The first computer I ever physically saw — I think — was an IBM System/3. You might not remember them. They were business computers for businesses that couldn’t justify a big mainframe. They were “midrange.” Nevermind that the thing probably had the memory and processing speed of the CPU inside my mouse. Time progressed and IBM moved on to the System/3x (for example, the System/32). Next up was the AS/400 and finally the IBM i, which is still in production. Here’s a secret, though, most of the code I’ve seen running on an IBM i dates back to at least the System/3 days and maybe even before that.

If you are interested in history, or midrange computers (which are mainframe-like in their operation), you might want to actually play with a real machine. A quick glance at eBay tells me that you might be able to get something workable for about $1000. Maybe. That’s a bit much. What if you could get time on one for free? Turns out, you can.

The Cloud Option

Head over to PUB400.com and register for an account. This won’t be instant — mine took a day or two. The system is for educational purposes, so be nice and don’t use it for commercial purposes. You get 150MB of storage (actually, some of the documentation says 250MB, and I have not tested it). While you are waiting for your account, you’ll need to grab a 5250 terminal emulator and adjust your thinking, unless you are a dyed-in-the-wool IBM guy.

Even though the IBM i looks like an old 1970’s midrange, the hardware is quite modern with a 64-bit CPU (and the architecture can handle 128 bits) and well-known stability. However, the interface is, well, nostalgic.

Ready…

Depending on your host computer, there are several IBM 5250 terminal programs available. They recommend tn5250 or tn5250j which use Java. However, I installed Mochasoft’s emulator into my Chrome browser. It is a 30-day free trial, but I figure in 30 days I’ll be over it, anyway.

Continue reading “Game Like It Is 1983”