Macintosh API Comes To Linux, Android

Unlike DOS, early versions of Windows, and most *nixes, the classic Mac operating system is weird. Contained in the ROM are subroutines to draw windows, pop up dialog boxes, and other various tasks purely related to the UI. On other systems, this would be separate from the BIOS, but in your Mac from the 80s, everything is baked into the ROM and hidden deep in the operating system. This has caused many problems for emulation; you can’t emulate an old Mac without a ROM or without a real installation of the operating system. Where BeOS — a cool but entirely forgettable operating system — has an Open Source reimplementation of the programming API, there’s nothing like that for a computer that at one point had a ten percent market share. This is weird, and we’ve all been waiting for someone to come up with an Open Source reimplementation of the Macintosh Toolbox, the API that’s responsible for everything from LoadRunner to Shufflepuck.

Now that day has finally come. The Advanced Mac Substitute is an API-level reimplementation of the classic Mac OS. You can now run classic Mac apps on Linux and Android without using an Apple ROM or Apple system software.

The Advanced Mac Substitute (AMS) is a project from [Josh Juran] to run old (pre-OS 7) Mac software without an Apple ROM. For the last twenty years, Macintosh emulators have required Apple ROMs and/or installation media because the API calls will redirect to the ROM. Unlike other emulation projects, the AMS does not attempt to emulate the hardware, except for the 68k processor. It simply launches directly into an application with the frontend being a generic bitmap terminal. This means there is no OS to speak of, but that also means we finally get flatpak for the classic Mac OS.

AMS is still in the very early phases of development; keyboards don’t work on some systems, and it doesn’t work on the latest versions of MacOS at all. Additionally, there’s no support for System 7 applications. That said, this is an excellent advance in the state of Macintosh emulation. If you’d like an example of how cool this could be, go play some Oregon Trail and tell me how awesome playing Shufflepuck or Glider on a webpage would be.

Restoring A Forgotten Dot-Matrix Printer

Dot matrix printers are the dinosaurs that won’t go extinct. They are not unlike a typewriter with the type bars behind the ink ribbon replaced by a row of metal pins controlled by solenoids, each pin being capable of printing a single pixel. At their best they could deliver a surprising level of quality, but their sound once heard is not forgotten, because it was extremely LOUD.

[Wpqrek] bought an old dot-matrix printer, a Commodore MPS 803. Sadly it didn’t live up to the dot-matrix reputation for reliability in that it didn’t work, some of its pins weren’t moving, so he set to on its repair. Behind each of those pins was a solenoid, and after finding a crack in the flexible ribbon to the head he discovered that some of the solenoids were open-circuit. On dismantling the head it became apparent that the wires had detached themselves from the solenoids, so he very carefully reattached new wires and reassembled the unit. Of course, he had no replacement for the flexible ribbon, so he made a replacement with a bundle of long lengths of flexible hook-up wire. This hangs out of the top of the printer as it follows the carriage, but for now it keeps the device working.

Dot-matrix printers are a favourite for our readership. Among others, we’ve seen another Commodore get the Python treatment, as well as an Apple capable of printing in full colour.

This Beer Keg Is A Side Car

Bikes are a great way to get around. They’re cheap compared to cars and can be faster through city traffic, and you can get some exercise at the same time. The one downside to them is that the storage capacity is often extremely limited. Your choices are various bags strapped to the bike (or yourself), a trailer, or perhaps this bicycle side car made from a beer keg.

Sidecars are traditionally the realm of motorcycles, not bicycles, but this particular bike isn’t without a few tricks. It has an electric motor to help assist the rider when pedaling. With this platform [Laura Kampf] has a lot of potential. She got to work cutting the beer keg to act as the actual side car, making a hinged door to cover the opening. From there, she fabricated a custom mount for the side car that has a custom hinge, allowing the side car to stay on the road when the bike leans for corners.

For those unfamiliar, [Laura] is a master welder with a shop located in Germany. We’ve seen some of her work here before, and she also just released a video showing off all of her projects for the last year. If you’re an aspiring welder, or just like watching a master show off her craft, be sure to check those out or go straight to the video below.

Continue reading “This Beer Keg Is A Side Car”

Pocket Forth Invades Your TI Calculator

TI certainly have certainly seen off rivals such as HP or Casio to capture the lion’s share of the calculator market. The TI-84 is a real staple, and with as many units as there are out there, hacking them is a given. However, selecting an operating system for the machine can be a hassle. TI-OS is proprietary and doesn’t really want to let you do everything you’d like to. There are alternatives, but many of them won’t let you easily use your calculator to be — well — a calculator.

[Siraben] has zkeme80 which is essentially ANS Forth (mostly) with extensions for the TI hardware. You can easily extend the system, of course, because it is Forth. You can also use the machine for its intended purpose easily.

Continue reading “Pocket Forth Invades Your TI Calculator”

Brushless R/C Rocket Tests Different Flight Regimes

Quadcopters are familiar, and remote control planes are old hat at this point. However, compact lightweight power systems and electronic flight controllers continue to make new flying vehicles possible. In that vein, [rctestflight] has been experimenting with a brushless electric rocket craft, with interesting results. (Youtube, embedded below.)

The build uses a single large brushless motor in the tail for primary thrust. Four movable vanes provide thrust vectoring capability. To supplement this control a quadcopter was gutted, and its motors rearranged in the nose of the craft to create a secondary set of thrusters which aid stabilization and maneuverability.

The aim is to experiment with a flight regime consisting of vertical takeoff followed by coasting horizontally before returning to a vertical orientation for landing. Preliminary results have been positive, though it was noted that the body of the aircraft is significantly reducing the available thrust from the motors.

It’s a creative design which recalls the SpaceX vertical landing rockets of recent times. We’re excited to see where this project leads, and as we’ve seen before – brushless power can make just about anything fly. Even chocolate. Video after the break.

Continue reading “Brushless R/C Rocket Tests Different Flight Regimes”

Billiard Ball Finds A New Home In Custom Trackball Mouse

They walk among us, unseen by polite society. They seem ordinary enough on the outside but they hide a dark secret – sitting beside their keyboards are trackballs instead of mice. We know, it’s hard to believe, but that’s the wacky world we live in these days.

But we here at Hackaday don’t judge based on alternate input lifestyles, and we quite like this billiard ball trackball mouse. A trackball aficionado, [Adam Haile] spotted a billiard ball trackball in a movie and couldn’t resist the urge to make one of his own, but better. He was hoping for a drop-in solution using an off-the-shelf trackball, but alas, finding one with the needed features that fit a standard American 2-1/4″ (57.3 mm) billiard ball. Besides, he’s in the thumb control camp, and most trackballs that even come close to fitting a billiard ball are designed to be fiddled with the fingers.

So he started from the ground up – almost. A 1980s arcade-style trackball – think Centipede or Missile Command – made reinventing the trackball mechanism unnecessary, and was already billiard ball compatible. [Adam] 3D-printed a case that perfectly fit his hand, with the ball right under his thumb and arcade buttons poised directly below his fingers. A palm swell rises up to position the hand naturally and give it support. The case, which contains a Teensy to translate the encoder signals into USB commands, is a bit on the large side, but that’s to be expected for a trackball.

Still curious about how the other half lives? We’ve got plenty of trackball hacks for you, from the military to the game controller embedded to the strangely organic looking.

How To Deal With A Cheap Spectrum Analyzer

The Hackaday Superconference is all about showcasing the hardware heroics of the Hackaday community. We also have a peer-reviewed journal with the same goal, and for the 2018 Hackaday Superconference we got a taste of the first paper to make it into our fully Open Access Journal. It comes from Ted Yapo, it is indeed a tale of hardware heroics: what happens when you don’t want to spend sixty thousand dollars on a vector network analyzer?

Ted’s talk begins with a need for a network analyzer. These allow for RF measurements, but if you ever need one, be prepared: you can spend twenty thousand dollars on a used VNA. Around the time Ted’s project began, Rigol released their cheap spectrum analyzer, the DSA815. This thing only cost a thousand dollars. It was their first revision of the hardware, and it was only a scalar network analyzer. Being the first revision of the hardware, there were a few problems; there was leakage that would affect the measurement. The noise floor was higher than it should have been. These problems can be corrected, though, with a little bit of cunning from Ted:

Continue reading “How To Deal With A Cheap Spectrum Analyzer”