Categories
general

Aquarius+

When I was a kid, my first computer was the Mattel Aquarius. This machine was an odd little footnote in computing history, a quick experiment in Mattel’s history to break into the home computer market. This computer came out in 1983 and was quickly killed off in a few months because of poor sales. It had little promotion from Mattel and zero third-party support, and the remaining units were quickly blown out by liquidators as the video game crash was happening and Mattel Electronics abandoned hardware, then software development.

I’ve written a bit about this before, but to recap, the Aquarius was like the Yugo of computers. It had its charms, but the deficits were not good. It was a Z80-based machine, clocked at 3.5MHz, which isn’t bad. (A Z80 is arguably 2-3 times slower than a 6502; the 6510-based C64 was clocked at ~1MHz, so about the same.) But it only had 4K of RAM, and by the time you booted, you had just over 1K of free memory. The included BASIC was okay but not great. The keyboard was a rubber chicklet 48-key thing that was like typing on an 80s TV remote, and didn’t even have a space bar. Graphics were barely a thing, and it had a 40×24 character screen. There was a cartridge port, and then a cassette and printer port that were undocumented, with printers and tape decks being largely impossible to find. A couple dozen games were released on cartridge. There was also a mini-expander, a thing hanging off the cartridge port that let you use a memory expander (also impossible to find) with a cartridge at the same time, plus added joystick ports and a second sound chip. The joysticks were Intellivision-style “disk” controllers, with no side buttons at all, just six rubber keys in a keypad.

I got an Aquarius bundle at a Kay-Bee toys in January of 1984 for my 13th birthday. The $99 bundle came with a computer, the mini-expander and two controllers, and four games: AD&D Treasure of Tarmin, Tron Deadly Discs, Snafu, and Night Stalker. And as bad as the computer was, I played the hell out of those games, and spent untold hours typing in BASIC programs on the rubber keys, keeping the machine powered up because I had no way to save them. The D&D game was particularly good for the time, a first-person dungeon crawl game with crude graphics but great turn-based combat, 99 levels to navigate (allegedly), and addictive find-the-weapons-and-treasure gameplay, as you tried to find the King Dragon and win the whole thing.

I spent that summer mind-melding with that machine. This is unfathomable to kids now, but my school had like two Apple ][ computers that were impossible to get time on, and I wanted to work on a computer so much, I would spend study hall writing games and programs on paper. Having my own computer, as anemic as it was, felt like a miracle to me, and I’d spend all day trying to write games on it. I also wished I could go to California and hunt down the mystical tape deck or the rumored disk-based master expansion that never happened. My next birthday was a jump up to the C-64, and I have no idea when my original Aquarius got offloaded at a parental garage sale. But there’s still a lot of nostalgia for that old machine.

* * *

So, 39 years later…

Like most retro machines, the Aquarius has a crew of die-hard followers who have been trying to hunt down surviving gear, tweak the most out of it with new games and software, and extend the system with new technology. A group of these enthusiasts decided to do a “reboot” of the Aquarius, since the rights have been long abandoned and the remaining hardware is aging and vanishing.

The result: The Aquarius+. (https://github.com/fvdhoef/aquarius-plus) The machine is very interesting:

* Backwards-compatible with the original system
* Z80-based
* 512K RAM (!!)
* An ESP32 and an FPGA to support all the other fun stuff below
* Wi-Fi and bluetooth
* A USB connector for a real keyboard
* A totally reworked video system with VGA video output
* An SD card slot
* Two three-voice sound chips
* Everything on a single board with modern components you can buy new, in a slick-looking case about the size of a thick paperback book.
* The whole thing is pretty affordable, especially in the world where eBay vultures who have driven up prices on every retro system out there.

What is really interesting is that everything is being developed in GitHub. You can look at all the source code, suggest changes, help develop it, and see everything documented. And that not only includes the ROM and firmware, but the actual hardware and even the case. Anyone with some skill at ordering custom boards and 3D printing could make their own Aquarius+. Or you can buy one from the couple of people making small runs of the machines.

I can’t emphasize enough how cool it is that all the docs and information are in GitHub. So a technical writer who is used to working in Markdown on GitHub (me) can easily make corrections. But also, back in 1983 I would have killed to get any information on this system. Compute! magazine was a treasure trove of type-in programs for literally every home computer except the Aquarius back in the day. Now, it’s super easy to share your programs or find other ones to try out and modify. No more leaving on the computer all night and then having my parents shut it off because I was wasting electricity.

My old cartridges are long gone, but the new system does have a connector for them. That said, about every cartridge ever released (and a whole lot of new homebrew ones) are available as ROM files you can easily throw on an SD card and load.

The SD card situation is a game-changer, too. First of all, the smallest SD card you can find in the back of a junk drawer can hold every Aquarius program that ever has or will exist. (Seriously, the tiny stepped-on image at the top of this post is 15% bigger than every released Aquarius cartridge combined.) I always dreamed of a way to save my programs, or get more software, or even get the cable to use a tape drive on my old machine. (And having had a tape drive for the C-64, this was a horrible experience, but still better than nothing.) Anyway, I now have a way to quickly load and save things, and easily trade them with the world.

Speaking of programming, aside from being able to see what others are doing in BASIC or assembly, there are a couple of other additions. First, I finally have access to the elusive Extended BASIC cartridge that was unobtanium back in the day. Second, there is active development on an improved BASIC. But also, there’s a C SDK, which makes it super easy to write and compile C into executables. And it’s also cool (and weird) that I’ve got all this in Visual Studio Code, the modern IDE I use at my day job. And no more rubber keys!

* * *

Once I stumbled into the dev group, I cloned the git repo, and was astounded at everything all in one place. But what was more amazing is that they had a full-fledged emulator I could run on my Mac. After installing a couple of things, I was able to build it, and I was sitting at the Ok prompt of an aqua-colored 40×24 screen. I did a quick 10 print "hello" and loaded up a few games, and all was well. I also wrote a quick printf("hello\n"); in C, compiled it, and ran it in the emulator. Cool.

I contributed some quick docs for Mac developers and picked around a bit more before I left for Poland. The emulator was cool, but I really needed the real thing. Luckily, I got in touch with Sean Harrington, who was building a bunch of units. In short order, I had a tracking number, then I had a package in the mail with serial number 15 of the Aquarius+!

* * *

First things first: I somehow don’t have a real VGA monitor anymore. Every flat screen in this house has been updated and upgraded multiple times since WFH started, and the d-shaped 15-pin connector I’ve been using since the 90s has gone the way of the dodo. I have this tiny monitor I use to debug broken systems, and I used that for a minute until I could get a VGA to HDMI converter.

The ESP32 is a bit persnickety about the keyboard and joystick. I ended up picking up a twenty-dollar Cherry tenkeyless and the latest XBox controller, and with those three things and a USB power source, was able to boot up with no problems.

It is really weird to be sitting at the workstation where I work and write every day with the screen being the computer I had almost 40 years ago. It’s even more strange to be at the BASIC prompt of an Aquarius with a real keyboard and an actual space bar. Of course the first thing I did was fire up the AD&D game.

OK, the graphics are not that impressive here. Most things are drawn using custom graphics symbols or ASCII characters. But this game is still fun. Once again, weird to see this on my 32-inch 4K screen and control the game with the latest XBox controller instead of the weird little disc joystick thing. (There are ports for those if you happen to still have one.) But there’s like honest jump-scare action when you’re hopping around the dungeon and all of a sudden have a dragon in front of you hammering away with fireballs in your face.

The amazing thing with this new machine is how well it integrates with 2023. For example, you run a little program to configure the machine, and it enables you to point it to your local Wi-Fi network. Okay, you won’t be browsing the web on this thing (yet?) but you enter a command and the machine will go to GitHub, pull the latest firmware, and install it for you, which is amazing. The machine also works as a WebDAV server so you can push files to the SD card. It’s also got a REST API so you can  push files, enter remote typing to the console, or update the firmware. (I don’t talk about my day job here, but I’m sort of familiar with APIs…)

Anyway, I wish I had as much time to play with this as I did back in 1983, because I still have a million ideas in my head. How can I write a web browser? How do I get that text adventure game going? What about a micro lisp interpreter? That space war game still needs to be written. Working at a startup and having a mortgage is a bit different than summer vacation with nothing to do when I was 13. But I know C. All the docs are here. I’m done with grad school now. I’m looking forward to keep busy with this little thing.

Categories
general

Age of Aquarius

I’ve talked a few times about my old Commodore 64, but this wasn’t my first computer. I actually owned a much weaker computer for about a year before the C-64: the Mattel Aquarius.  I thought I’d told the story before, but looking through the archives here, I didn’t find much.  So here’s the deal.

The personal computer pretty much started happening when I was in grade school.  I guess before that, you could solder together your own Altair, but in about the 5th grade, these platinum-cased Apple II computers showed up, and I learned how to do the 10 PRINT "HELLO" thing on one of those green-screen monitors.  If your parents had money, you could get one of these things in your home, but with an original 1977 list price of $1298 for the 4K model (plus monitor, plus disk drive, plus software), there was no way in hell I’d ever own a computer.  But as the 70s became the 80s, an explosion of cheaper machines hit the market.  Atari came out with their 800, which listed for about half the price of an Apple, and then the C-64 machine started selling at $595.  There were also some cheap-o machines with more anemic specifications, like the VIC-20, which dropped to near $100, and the Timex-Sinclair, which was even cheaper.

At the beginning of 1984, my parents split up, right around the time of my 13th birthday.  I didn’t know the political angle of being a child of divorce, and I didn’t consciously want to pit one parent against the other, but getting a computer was stuck in the front of my head.  I needed one of these things.  There was no world wide web that I needed to browse, and I didn’t need to type papers or balance spreadsheets.  I just needed to be able to hack at a machine and write programs and develop games.  I’d taught myself BASIC, writing programs on paper and getting to try them out on friends’ machines or with the very narrow slivers of time afforded to me with the school’s few Apples.  I wanted to be able to waste all of my copious amounts of free time writing some kind of Dungeons and Dragons game on the computer.

And right around then, the Kay-Bee toy store at the mall by my house started selling these bundled computer systems from Mattel.  And they were only a hundred bucks, and included games and joysticks and the whole nine yards.  I didn’t know anyone with one of these machines, and this was long before I could plug this into wikipedia and look up the specs.  But I needed one, and $100 was an easier target to reach than the $200 or $300 price of a Commodore, so I begged and pleaded, and before I knew it, at the end of one of those “every other Sunday” visitations, I had this big huge box full of computer, ready to hook up to the TV set’s antenna screws.

The Mattel Aquarius has a strange history, one that I didn’t know for decades. Mattel made the Intellivision video game system, and promised in ads and brochures that they’d come out with a magical keyboard that would plug in and turn the thing into a real computer. This was a big deal back then, because if you were already dropping a few hundred dollars on a video game system, there was a certain enticement in being able to avoid spending another grand on a home computer. Problem was, they didn’t have this computer expander system ready. They turned to the manufacturer of their Intellivision, Radofin in Hong Kong, and they had a low-end computer system of their own, which they rebadged as the Aquarius.

The Aquarius was quite likely the worst home computer of the 80s. It was based on the Z80 processor, which was used in a lot of other systems, and it ran it at 3.5 mHz, which wasn’t horrible for the time. But it came with 4K of RAM. Once you booted the system, the screen memory, other buffers, and the BASIC interpreter took up most of that, leaving behind just over 1K. That’s a K and not an M; we’re talking about just over a thousand of characters of memory. This blog post is twice as big as the available memory on an Aquarius. There was a very rudimentary sound generator, and support for an 80×25 screen with no real graphics.

The BASIC was a version of Microsoft’s, and it was a fairly rudimentary implementation. If you programmed BASIC back in the day, you may remember that there were good BASICs and bad BASICs. Like the Commodore V2.0 BASIC didn’t have an ELSE statement for IF-THENs, which meant a lot of spaghetti IF-THENs that were an eyesore in a language with no indentation. And the CBM version didn’t have any sound or graphics functions, even though its chipset supported decent functionality; you’d have to PEEK and POKE to do anything cool, or spend some cash on Simon’s BASIC or some other extension of the language. The Aquarius BASIC, most likely because of the memory issue, was even more crippled than the Commodore version, with an extremely limited subset of commands.

Design-wise, the Aquarius was a fairly tiny machine. It came with a 48-key chicklet keyboard, these little rubber keys spaced far apart, and the machine wasn’t much bigger than the keyboard. The keyboard was essentially what they give you to type when you go to hell for eternity. A few other machines came with a membrane keyboard (the Atari 400, and the Timex) which was pretty bad, but these rubber keys were the worst. You could not touch type in any way, not only because of the keyboard’s spongy feel, and because it had a substandard layout. For example, it didn’t have a space bar; there was a a space key off to one side. The one saving grace was that there were keyboard shortcuts you could use when typing, so if you needed to type GOTO, you could use a function key and hit G or something like that. Cartridges usually came with these two-piece keyboard overlays, thin pieces of plastic embossed with all of the special functions for the program. There was almost no extensibility to the machine, either. It came with plugs for a printer and a cassette recorder, plus the RCA plug for the TV set. It had no other plugs; even the power supply didn’t have a plug, and the cord and power brick were permanently attached to the back. It did come with a single cartridge slot, which accommodated these weird wedge-shaped cartridges that matched the angle of the top half of the console.

The Aquarius was a huge flop, and was discontinued after a few months. Most of them sold were bundled with accessories for liquidation, which is where I got mine. My system came with four games, and a thing called the “Mini Expander”, an oversized cartridge that plugged into the machine and hung off the back end, providing two cartridge slots (so you could plug in a program cart and a memory expander), two joysticks, and the three-voice sound chip from the Intellivision. The joysticks were similar to the Intellivision, those weird disc controllers that were almost unusable, with a set of six chicklet buttons on the top of the controller, and no other fire buttons. (I think the Intellivision joysticks were actually better than the Aquarius ones.)

One of the huge issues with the Aquarius was that it was somehow perceived as a sibling to the Intellivision, but it was more like a second cousin by adoption, and even though some assumed it could play Intellivision games (which were generally better than Atari 2600 games), the gaming support was fairly horrible. In fact, the joke was that Mattel used to put programmers on the Aquarius team as a punishment. The games couldn’t use high-res graphics, and had to resort to using the machine’s extended character set to draw stuff on the screen. (The machine did have some cool characters in the extended character set though, like little explosions and running dudes and aliens.)

I got four games with my system, in order from best to worst:

– Dungeons and Dragons: Treasure of Tarmin: This game was actually awesome. You moved through a maze, Doom-style (but with much worse graphics), with the right third of the screen an inventory list of the couple of items you could pick up and carry, including swords, bows and arrows, potions, and keys. You crawled through the levels of this massive dungeon, and when you ran into a dragon or orc (all drawn with this random collection of ASCII art, like prehistoric emoticons), a round of combat would ensue, with fireballs being traded and hit points lost. There were supposed to be 99 levels of this dungeon, or if you killed the white dragon, you’d win. Despite the sub-par graphics and sound, this was an incredibly playable game.

– Snafu: You and another player had these ever-growing lines on the screen, sort of like the Tron light cycle game, and you could not collide with the other person’s line. This was pretty fun if you had another player, but it was otherwise very basic.

– Night Stalker: This was a Pac-man style maze, there were no dots to be eaten; you just wandered around while alien dudes tried to shoot you. This could have been a much cooler game if it had more levels or mazes, but we’re talking about 4K of RAM here.

– Tron Deadly Discs – This game was straight-up worthless. It wasn’t really a Tron game; it was just two emoticons throwing chunks of ASCII at each other. I would play it about once a month just to see if there was something I missed, but within five minutes, I’d realize how I was duped.

The worst part of the Aquarius was that Mattel Electronics went bust about 15 minutes after I got the system, so there was absolutely no support. The market exploded with add-ons for the Apple and Atari; the Commodore could use Atari joysticks, and you could buy tons of games, or buy any of the dozen or two magazines like Compute! and type in your own games. But there was no support for the Aquarius, and I could not buy any software or accessories. And this was long before you could hop on Amazon and search for stuff to buy. Aside from the lack of games, I did not have a disk or tape drive to save my own programs, and I couldn’t even print out my stuff to a printer. Every once in a while, I’d see the Aquarius mentioned in a computer magazine, but it was always a “what happened here?” takedown piece.

The biggest pain point to the whole thing is that Mattel had released a bunch of cartridges, including an extended BASIC and memory expansion, and planned even more stuff.  The box for the system showed all of these unavailable items, and then had some black stickers covering pictures of vaporware items, like a master expansion chassis that would sit under the unit and provide a disk drive.  There was also an Aqaurius II that was very briefly sold, that had a real keyboard and the extended BASIC built in.

My tenure on the Aquarius was brief; by the next Christmas, the Commodore 64 was on my list, and I graduated to its much roomier 38,911 bytes free and full-motion keyboard that wasn’t designed like a calculator you got for free at a Shell station when you bought a tank of gas.  But we did play the hell out of those four games, though.  And now my daily driver is a machine that has two million times as much RAM available.  But that Aquarius is an interesting little footnote in my computing history.

And some linkage for you: