FPS Game Engine Built In Ancient Macintosh HyperCard Software

Wolfenstein 3D and Doom are great examples of early FPS games. Back in that era, as Amiga was slowly losing its gaming supremacy to the PC, Apple wasn’t even on the playing field. However, [Chris Tully] has used the 90s HyperCard platform to create an FPS of his own, and it’s charming in what it achieves.

If you’re not familiar with it, HyperCard was a strange combination of database, programming language, and graphical interface system all rolled into one. It made developing GUI apps for the Macintosh platform simpler, with some limitations. It was certainly never intended for making pseudo-3D video games, but that just makes [Chris’s] achievement all the more impressive.

At this stage, [Chris’s] game doesn’t feature any NPCs, weapons, or items yet. It’s thus more of a First Person Walker than First Person Shooter. It features four small rooms with perpendicular, vertical walls, rendered either greyscale or 8-bit color. Now that he’s got the basic engine running, [Chris] is looking to recreate a bit of a Doom RPG experience, rather than copying Doom itself. He hopes to add everything from monsters to weapons, lava, and working HUD elements. If you want to dive in to the code, you can – HyperCard “stacks”, as they’re known, are made up of readily editable scripts.

[Chris] built the project to celebrate the aesthetic and limitations of the original Mac platform. While it could technically run on original hardware, it would run incredibly slowly. It currently takes several seconds to update the viewport on an emulated Mac Plus with 4MB of RAM. Thankfully, emulation on a modern PC can be sped up a lot to help the framerate.

We love seeing HyperCard pushed far beyond its original limits. We’ve seen it before, too, such as when it was used on a forgotten 90s Apple phone prototype. If you’ve been hacking away on retro software yourself, we’d love to see your projects on the tipsline!

Mac 128K Emulator Gets DIY Ceramic Enclosure

Creative technologist [Joselyn McDonald] wanted to hone her ceramic skills by building an iconic Macintosh 128K sculpture, complete with a fully functional operating system.

At first, she was determined to use Processing to create an interface for her sculpture by recreating the UI visually and adding some touch controls. However, she soon abandoned this tedious task after discovering MacintoshPi, which steps you through installing Mac OS 7, 8, and 9 emulators on a Raspberry Pi. [Joselyn] has also installed several retro games, including DOOM II, Carmen Sandiego, and Sim City, thanks to sites like Macintosh Garden and Macintosh Repository. 

Next, [Joselyn] hopes to set it up to display her and her partner’s schedules, and to let friends play around with nostalgic games. This piece was made using hand building, but other cool ceramic techniques like this slip cast dog bowl and this stone 3D printer have us thinking about what other types of enclosures could be built!

Want To Use A Classic Mac Mouse On A Modern Computer? No? Here’s How To Do It Anyway

Need to hook a classic Mac mouse up to your modern machine with the help of a DIY USB adapter? [John Floren] has you covered. [John]’s solution uses a board with an ATmega32U4 microcontroller on it to connect to the Mac mouse on one end, and emulate a USB HID (Human Interface Device) on the other. A modern machine therefore recognizes it like it would any other USB input device.

Why is this necessary? The connector on the classic Mac mouse may look like a familiar DE-9 connector, but it is not an RS-232 device and wouldn’t work if it were plugged into a 9-pin serial port. The classic Mac mouse uses a different pinout, and doesn’t have much for brains on the inside. It relies on the host computer to read its encoders and button states directly.

This project is actually a bit of an update to a piece of earlier work [John] did in making a vintage Depraz mouse work with modern systems. He suspected that it wouldn’t take much to have it also work with a classic Mac mouse, and he was right — all it took was updating the pin connections and adding some pull-up resistors. The source code and design files are on GitHub.

Even if one does not particularly want to use a classic Mac mouse for daily work, there’s definitely value in this kind of thing for those who deal in vintage hardware: it allows one to function-check old peripherals without having to fire up a vintage machine.

Continue reading “Want To Use A Classic Mac Mouse On A Modern Computer? No? Here’s How To Do It Anyway”

Porting DOOM To A Forgotten Apple OS

Apple hasn’t always had refined user experiences in their operating systems. In the distant past of the ’90s they were still kind of clunky computers that were far from the polished, high-end consumer machines of the modern era. That wasn’t all that Apple offered back then, though. They had a long-forgotten alternative operating system that was called A/UX designed for government applications, and [Keriad] is here to show us this relic operating system and port DOOM to it.

A/UX was designed in the pre-PowerPC days when Macintosh computers ran on Motorola 68000 chips. Luckily, [Keriad] has a Mac Quadra 800 with just such a chip that is still fully-functional. DOOM was developed with the NeXTSTEP operating system which can run on old Macs thanks to another tool called MacX which allows X11 applications to run on Mac. A version of gcc for A/UX was found as well and with the source code in hand they were eventually able to compile a binary. There were several hiccups along the way (including the lack of sound) but eventually DOOM was running on this forgotten operating system.

The main problem with the build in the end, besides the lack of sound, is that the game only runs at 2 – 3 frames per second. [Keriad] speculates that this is due to all of the compatibility layers needed to compile and run the game at all, but it’s still impressive. As far as we know, [Keriad] is the first person to port DOOM to this OS, although if you’re looking for something more straightforward we would recommend this purpose-built Linux distribution whose sole task is to get you slaying demons as quickly as possible.

Desktop Performance In A Custom Mac Laptop

Most of us either own or have used a laptop at some point. For traveling, as a student, or even for browsing Hackaday on the couch in front of the TV, they are pretty much indispensable. They do tend to have a sharp performance reduction compared to a desktop though thanks to the thermal and battery limitations of a portable form factor. [Scott Yu-Jan] wanted to solve that in his own life by building a custom Mac laptop with none of these downsides.

Noticing that a modern iPad Mini has exactly the same width of his Mac Mini, [Scott] set about combining the two devices into a single unit that he could assemble when traveling. A 3D printed case with a traditional laptop clamshell design takes care of physically combining these two devices, and a USB-C cable between the two takes care of combining them in software thanks to Apple’s Duet program. While this has better performance than a Macbook Pro it might actually have some perks, since Apple continues to refuse to make a laptop with a touchscreen.

There are some downsides, of course. The price is higher than a comparable Macbook Pro for the iPad and Mac together, plus it doesn’t include a keyboard or mouse. It also has no battery, so it needs to be plugged in. In the follow-up video linked below, though, [Scott] notes that for him this still made sense as he uses the Mac and iPad individually already, and only works remotely at places that have power outlets readily available. For the average person, though, we might recommend something different if you really need an esoteric laptop-like machine.

Thanks to [Varun] for originally sending in this tip!

Continue reading “Desktop Performance In A Custom Mac Laptop”

A Macintosh-inspired desk ornament, next to a sceenshot of a classic Macintosh computer desktop

‘Desk Accessory’ Pays Homage To Macintosh

The retrocomputing community are experts at keeping vintage Apple iron running, but if you’re looking for a simpler way to pay homage to the original Mac, check out this Raspberry Pi powered ‘desk accessory’ by [John Calhoun], fittingly called ‘SystemSix’.

Housed inside a delightfully Mac-shaped piece of laser-cut acrylic, SystemSix is powered by as Raspberry Pi 3, with the graphics displayed on a sizeable 5.83″ e-ink panel. While it resembles a kind of retro-futuristic take on the ‘classic’ Macintosh, SystemSix is the illusion of a fully interactive computer. While non-interactive, the fake desktop is every bit as charming as a real Macintosh display, albeit scaled down. The desktop updates automatically with new information, and presently includes a calendar, dithered lunar phase graphic, and a local weather report.

Clearly calling it a ‘desk accessory’ is a neat play on words. The original Macintosh implemented simple desk accessory programs, such as the calculator and alarm clock, that could run alongside the main application in memory. This was the only way to run more than one application on the Macintosh, before MultiFinder added rudimentary cooperative multitasking in 1987. As such, SystemSix is a functional, stylish and quite literal ‘desk accessory’.

[John] has the full project write-up over on GitHub, and goes into great detail about maintaining the Macintosh aesthetic. For example, the lunar phase graphic uses ‘Atkinson’ dithering. This technique was pioneered by Apple programmer Bill Atkinson, the author of MacPaint and the QuickDraw toolbox on the original Macintosh (and later, Hypercard).

And in case you were wondering – yes, this is the [John Calhoun], who programmed Glider for Macintosh. Now recently retired from Apple, we’re really excited to see what other Macintosh-inspired creations he comes up with. Maybe he will come back around to his Mac-powered MAME cabinets that we covered all the way back in 2005. Or perhaps a sleeper battlestation, like the iMac G4 lampshade that was upgraded with an M1 processor.

 

 

Custom Macintosh With A Real 486

Older Apple computers can often be something of a collector’s item, with the oldest fetching an enormously high price in auctions. The ones from the late ’80s and early ’90s don’t sell for quite as much yet, but it’s possible that museums and collectors of the future will one day be clamoring for those as well. For that reason, it’s generally frowned upon to hack or modify original hardware. Luckily, this replica of an Apple Macintosh didn’t harm any original hardware yet still manages to run software on bare metal.

The computer is built around a single-board computer, but this SBC isn’t like the modern ARM machines that have become so ubiquitous. It’s a 133MHz AMD 486 which means that it can run FreeDOS and all of the classic DOS PC games of that era without emulation. In order to run Apple’s legacy operating system, however, it does require the use of the vMac emulator, but the 486 is quite capable of handling the extra layer of abstraction. The computer also sports a real SoundBlaster ISA sound card, uses a microSD card for its hard drive, and uses an 800×600 LCD screen.

As a replica, this computer is remarkably faithful to the original and even though it doesn’t ship with a Motorola 68000 it’s still fun to find retro PC gamers that are able to run their games on original hardware rather than emulation. It reminds us of another retro 486 that is capable of running old games on new hardware without an emulator as well.