How Did They Get Sampled Sounds From An SN76489 8-bit Sound Chip?

If you were lucky and had well-off parents in the early 1980s, your home computer had a sound chip on board and could make music. There were a variety of chips on the market that combined in some form the tone generators and noise sources of a synthesiser, but without the digital-to-analogue converters of later sound chips designed for sampled audio. They gave birth to chiptune music, but that was all they were made to do. The essence of a hack lies in making something perform in a way it was never intended to, and some game developers for the Acorn BBC Micro had its SN76489 producing sampled audio when it should never have been possible. How did they do it? It’s a topic [Chris Evans] has investigated thoroughly, and his write-up makes for a fascinating explanation.

So, how can a set of audio tone generators be turned into a sampled audio player, and how can it be done when the CPU is a relatively puny 6502? There’s no processor bandwidth for clever Fourier transform tricks, and 1980s tech isn’t set up for high data bandwidths. The answer lies in making best use of the controls the chip does offer, namely frequency and volume of a tone. A single cycle of a tone can be given a volume, and thus can be treated as a single sample of an unintended DAC. By using a tone frequency well above the audio range a suitable sample frequency can be found, and thus an audio stream can be played. The write-up has links to some examples in an emulator, and while they’re hardly hi-fi they’re better than you might expect for the hardware involved. Still, even at that they don’t approach this amazing 48kHz playback on a Commodore 64.

Header: SN76489, on a Colecovision console motherboard. Evan-Amos / Public domain.

Nintendo’s GBA Dev Board Could Pass For Modern DIY

When the Game Boy Advance came on the scene in 2001, it was a pretty big deal. The 32-bit handheld represented the single biggest upgrade the iconic Game Boy line had ever received, not only in terms of raw processing power, but overall design. It would set the state-of-the-art in portable gaming for years, and Nintendo was eager to get developers on board.

Which could explain why the official GBA development kit, recently shown off by [Hard4Games], looks like something that was built in a hackerspace. It’s pretty common for console development systems to look more like boxy 1990s computers than the sleek injection molded units that eventually take up residence under your television, but they don’t often come in the form of a bare PCB. It seems that Nintendo was in such a rush to get an early version of their latest handheld’s guts out to developers that they couldn’t even take the time to get a sheet metal case stamped out for it.

The development board doesn’t like later GBA games.

All of the principle parts of the final GBA are here, and as demonstrated in the video after the break, the board even plays commercially released games. Though [Hard4Games] did find that some titles from the later part of the handheld’s life had unusual graphical glitches; hinting that there are likely some low-level differences that don’t manifest themselves unless the developer was really digging deep to squeeze out all the performance they could.

The board also lacks support for Game Boy and Game Boy Color games, though this is not wholly surprising. When an older game was inserted into a GBA, the cartridge would physically depress a switch that enabled a special 8080-based coprocessor that existed solely for backwards compatibility. Adding that hardware to a development board would have made it more expensive and added no practical benefit. That said, [Hard4Games] does point out that there appears to be a unpopulated area of the board where the backwards compatibility switch could have been mounted.

Hackers have always been enamored with the Game Boy, so it’s fitting to see that the official development kit for the final entry into that storied line of handhelds looked a lot like something they could build themselves. If anyone feels inclined to build their own “deconstructed” GBA in this style, you know where to find us.

Continue reading “Nintendo’s GBA Dev Board Could Pass For Modern DIY”

Palm’s Mini-Mobile Phone Becomes Bike Phone

The mini-mobile phone [Jim Yang] got his hands on deserves a bit of background. Palm had the concept of a companion mobile phone, and this manifested itself in late 2018 as a cute palm-sized smartphone that one could carry around when one didn’t wish to haul along their “real” phone. This smaller and simpler phone was originally intended to share the same mobile number as one’s primary phone (though it has since been made able to work as a standalone device.)

[Jim]’s device, in use as a bike-mounted smartphone.
[Jim] got his hands on a refurbished Palm PVG100, rooted it, and shared some pictures of the internal components. The phone was not carrier-locked, but getting it up and running was still a bit more complex than plugging in a SIM card. For example, voice calls worked fine but to gain access to mobile data on the Three UK mobile network required updating the Access Point Name (APN) settings. [Jim] also rooted the Android-based phone and describes how he removed Verizon bloatware.

Palm’s companion phone idea hasn’t really caught on in a commercial sense, but in a way, [Jim] is validating the concept. After getting it up and running, he attached it to his bike with a custom mount to enjoy the benefits of having a mobile phone along without actually risking his primary device.

In case you’re wondering, this Palm is indeed the same Palm that launched the PalmPilot in 1996, whose distinctive folding keyboard accessory has shown up in past hacks.

Contactless Doorbell Built To Avoid Coronavirus

It’s often said that necessity breeds creativity, and during a global pandemic such words have proved truer than ever. Realising the common doorbell could be a potential surface transmission point for coronavirus, [CasperHuang] whipped up a quick build.

The build eschews the typical pushbutton we’re all familiar with. Instead, it relies on an ultrasonic distance sensor to detect a hand (or foot) waved in front of the door. An Arduino Leonardo runs the show, sounding a buzzer when the ultrasonic sensor is triggered. In order to avoid modifying the apartment door, the build is housed in a pair of cardboard boxes, taped to the base of the door, with wires passing underneath.

It’s a tidy way to handle contactless deliveries. We imagine little touches like this may become far more common in future design, as the world learns lessons from the COVID-19 pandemic. Every little bit helps, after all. Video after the break.

Continue reading “Contactless Doorbell Built To Avoid Coronavirus”

CNC Scroll Saw Makes Promising First Cuts

When we talk about CNC machines, we almost invariably mean a computer controlled router. Naturally you can do other forms of automated cutting, say using a laser or a water jet, but what about adding computer control to other types of saws? [Andrew Consroe] recently put together a postmortem video about this experimental CNC scroll saw. While he never quite got it working reliably, we think his approach is absolutely fascinating and hope this isn’t the last we see of the idea.

Those who’ve used a scroll saw in the past might immediately see the challenge of this build: while a router bit or laser beam can cut in any direction, a scroll saw blade can only cut in one. If you tried to make a sharp turn on a scroll saw, you’ll just snap the fragile blade right off. To work around this limitation, [Andrew] came up with the brilliant rotary table that can be seen in the video after the break.

By combining motion of the gantry with table rotation, he’s able to keep the blade from ever making too tight a turn. Or at least, that’s the theory. While the machine works well enough with a marker mounted in place of the blade, [Andrew] says he never got it to the point it could reliably make cuts. It sounds like positioning errors would compound until the machine ended up moving the work piece in such a way that would snap the blade. Still, the concept definitely works; towards the end of the video he shows off a couple of pieces that were successfully cut on his machine before it threw the blade.

While we’ve actually seen DIY scroll saws in the past, this is the first computer controlled one to ever grace the pages of Hackaday. While some will no doubt argue that there’s no sense building one of these now that laser cutters have reached affordable prices, we absolutely love this design and how much thought went into it. At the very least, we figure this it the beefiest doodle-drawing robot ever constructed. Continue reading “CNC Scroll Saw Makes Promising First Cuts”

Day Clock Monitors Air Quality Of The Great Indoors

As the world settles into this pandemic, some things are still difficult to mentally reckon, such as the day of the week. We featured a printed day clock a few months ago that used a large pointer to provide this basic psyche-grounding information. In the years since then, [Jeff Thieleke] whipped up a feature-rich remix that adds indoor air quality readings and a lot more.

Like [phreakmonkey]’s original day tripper, an ESP32 takes care of figuring out what day it is and moves a 9 g servo accordingly. [Jeff] wanted a little more visual action, so the pointer moves a tad bit every hour. A temperature/humidity sensor and a separate CO₂ sensor output their readings to an LCD screen mounted under the pointer. Since [Jeff] is keeping this across the basement workshop from the bench, the data is also available from a web server running on the ESP32 via XML and JSON, and the day clock can get OTA updates.

Need a little more specificity than just eyeballing a pointer? Here’s a New Times clock that gives slightly more detail.

Netbooks: The Form Factor Time Forgot

Long ago, before smartphones were ubiquitous and children in restaurants were quieted with awful games on iPads, there was a beautiful moment. A moment in which the end user could purchase, at a bargain price, an x86 computer in a compact, portable shell. In 2007, the netbook was born, and took the world by storm – only to suddenly vanish a few years later. What exactly was it that made netbooks so great, and where did they go?

A Beautiful Combination

An Asus EEE PC shown here running Linux. You could run anything on them! Because they were real, full-fat computers. No locked down chipsets or BIOS. Just good, clean, x86 fun.

The first machine to kick off the craze was the Asus EEE PC 701, inspired by the One Laptop Per Child project. Packing a 700Mhz Celeron processor, a small 7″ LCD screen, and a 4 GB SSD, it was available with Linux or Windows XP installed from the factory. With this model, Asus seemed to find a market that Toshiba never quite hit with their Libretto machines a decade earlier. The advent of the wireless network and an ever-more exciting Internet suddenly made a tiny, toteable laptop attractive, whereas previously it would have just been a painful machine to do work on. The name “netbook” was no accident, highlighting the popular use case — a lightweight, portable machine that’s perfect for web browsing and casual tasks.

But the netbook was more than the sum of its parts. Battery life was in excess of 3 hours, and the CPU was a full-fat x86 processor. This wasn’t a machine that required users to run special cut-down software or compromise on usage. Anything you could run on an average, low-spec PC, you could run on this, too. USB and VGA out were available, along with WiFi, so presentations were easy and getting files on and off was a cinch. It bears remembering, too, that back in the Windows XP days, it was easy to share files across a network without clicking through 7 different permissions tabs and typing in your password 19 times.

Continue reading “Netbooks: The Form Factor Time Forgot”