Original Commodore 64 ad

Love Letter To Commodore 64 Ads Takes Us Down Memory Lane

If you shop, you can get a pretty nice laptop for around $595. Maybe not the top of the line, but still pretty nice with multiple cores, a large hard drive, and a big color screen. But in the 1980s, the Commodore 64 bragged that for $595, they’d give you more than anyone else at twice the price. After all, 64K of RAM! Graphics with 16 whole colors! [Lunduke] dug up a bunch of these ads and has some thoughts on them and we really enjoyed the trip down memory lane.

If you look at other contemporary computers, they did cost more although sometimes it wasn’t a fair comparison. The TRS80 III, for example, cost $999 with 16K of RAM but it also had its own monitor — not color, though.

It is amazing to think that we’ve gone from where 16K was a reasonable amount of RAM in a personal computer to where it isn’t even worth having a flash drive with that capacity. We also can’t help but note that while computing power per dollar is through the roof now, computers aren’t actually that much more fun. We enjoyed interfacing a teletype to our 1802 ELF and working out a 300 baud modem for our TRS-80. Sure, we didn’t have Skyrim or HD movies, but we still have fun.

If you want to relive these exciting days, it is easy enough to build your own C64 with varying degrees of fidelity. It is trivial to emulate the thing on any kind of modern hardware, too.

The Dark Side Of Package Repositories: Ownership Drama And Malware

At their core, package repositories sound like a dream: with a simple command one gains access to countless pieces of software, libraries and more to make using an operating system or developing software a snap. Yet the rather obvious flip side to this is that someone has to maintain all of these packages, and those who make use of the repository have to put their faith in that whatever their package manager fetches from the repository is what they intended to obtain.

How ownership of a package in such a repository is managed depends on the specific software repository, with the especially well-known JavaScript repository NPM having suffered regular PR disasters on account of it playing things loose and fast with package ownership. Quite recently an auto-transfer of ownership feature of NPM was quietly taken out back and erased after Andrew Sampson had a run-in with it painfully backfiring.

In short, who can tell when a package is truly ‘abandoned’, guarantee that a package is free from malware, and how does one begin to provide insurance against a package being pulled and half the internet collapsing along with it?

Continue reading “The Dark Side Of Package Repositories: Ownership Drama And Malware”

Streetfighter 2 placed on table top display with separate arcade control box

Game Like It’s 2021 On A McDonald’s Touchscreen Table

Some of you around the world may have come across these Android-based gaming tables installed in your local fast-food outlet, and may even have been lucky enough to paw at one that was actually working at the time.

Originally based on an ancient mini PC, with a 1080p flat panel LCD and a touch overlay, they would have been mind-blowing for small children back in the day, but nowadays we expect somewhat more. YouTuber [BigRig Creates] got his hands on one, in a less than pleasant condition, but after a lot of soap and water, it was stripped down and the original controller junked in favour of a modern mini PC. To be clear, there isn’t much left beyond the casing and display from the original hardware, but we don’t care, as a lot of attention was paid to the software side of things to get it to triple-booting into Windows 10, Android x86 and Linux running emulation station, covering all those table-gaming urges you may have.

Internally, there is a fair amount of room for improvement on the wiring side of things, and [BigRig] is quick to admit that, but that’s what this learning game is all about. Now, many of you will choke on the very idea of playing games on a table system like this, after all, it’s pretty obvious this will be really hard on the back and neck. But, it does offer the easy option to switch from landscape to portrait orientation, simply by walking around the side, so it does have an upside. Also you’ve got a handy place to dump your beer and the takeaway when it arrives, so maybe not such a bad thing to have in your apartment? And, yes, it does run Doom.

We were particularly amused by the custom boot logo as well as the slick custom art in emulation station. It’s attention to detail like this that makes a build a great one and a conversation piece at parties. Now if only he could sort out that wiring job.

Continue reading “Game Like It’s 2021 On A McDonald’s Touchscreen Table”

Screenshot of MacOS Lunar app

Controlling External Monitors On M1 Macs With Undocumented APIs

Display Data Channel (DDC) is a very useful feature of modern digital displays, as it allows the graphics card (and thus the OS) to communicate with a display and control features such as brightness and contrast. The biggest negative aspect here is the relatively poor access to this feature within an operating system like MacOS, which can change on a whim, as [Alin Panaitiu] found out recently.

Current displays implement DDC2, which is based around an I2C bus. Despite this, few OSes offer DDC-based control of features such as brightness which is where [Alin] developed a popular utility for MacOS that used undocumented APIs to talk DDC2 with external monitors via I2C. Until the new Arm-based Mac systems got released and these undocumented APIs got changed, that is.

Even though there are some ways around this, with some utilities using a simple software-based overlay to ‘dim’ the display, or using an external gamma adjustment via an external Raspberry Pi system hooked up to HDMI and using ddcutil, the best way is still via DDC2. Ultimately the new (undocumented) APIs that provide access were discovered, with another user going by the name [zhuowei] notifying [Alin] of the new IOAVServiceReadI2C and IOAVServiceWriteI2C methods with Arm-based MacOS.

After this it took some more sleuthing to figure out which of the devices on the I2C bus were which monitor in the case of multiple external monitors, but in the end it all worked again, adding hardware-based brightness controls back in the hands of MacOS users. Minus a few apparent hardware issues with HDMI on the M1 Mac Mini and some displays, but who is counting?

[Heading image: Screenshot of the Lunar app on MacOS. Credit: Alin Panaitiu]

A Raspberry Pi next to a small circuit board

An Inexpensive FM Receiver For The Raspberry Pi

At this point, there are no shortage of impressive hacks for the Raspberry Pi. [Dilshan Jayakody] recently documented his experience in designing and building an inexpensive FM Stereo Receiver for the Pi platform, and the results are impressive.

Quite a few FM receiver projects center around the RDA5807 or TEA5767 ICs, however [Dilshan] has used the QN8035 by Quintic Corporation in his build. A handful of discrete components on a pleasing single-sided PCB is all that is needed to interface the QN8035 with the Pi’s I2C bus.

After demonstrating that the FM tuner could be, well, tuned at the command line, [Dilshan] then coded a smart looking GUI application that makes tuning a breeze. The software allows the listener to manually and automatically scan through FM stations, decode program service data, control the volume, and display the RSSI and SNR readings from the tuner.

As we reported earlier, FM radio is on a slow decline into obsolescence. This latest project isn’t aiming to break new ground, however its simplicity and inexpensive components are the perfect combination for beginner hackers and radio enthusiasts alike. More details can be found over on Hackaday.io. The schematic, source code and bill of materials can be found on GitHub.

Continue reading “An Inexpensive FM Receiver For The Raspberry Pi”

An assortment of whole-mouth toothbrushes that brush all of your teeth at once, in the span of 30 seconds.

Don’t Bristle; Teethbrush Won’t Hurt You

A whole-mouth toothbrush that brushes all of your teeth at once, in the span of 30 seconds.Good dental hygiene is the first line of defense when it comes to your health, and– you’re already bored, aren’t you? It’s totally true, though. Take care of your teeth, and the rest of you has a better chance of staying fairly healthy.

This is like, the one thing we have control over after diet and exercise, and most people just plain fail on this front. They brush for 30 seconds, tops. Or they rarely floss. Maybe they’ve never even considered brushing or scraping their tongue.

Okay, fine. You don’t want to spend the recommended two minutes twice a day working the brush around your mouth. The good news is, technology has finally caught up with you and your habits, if you can call them that. How about using something that can truly be called a teethbrush? As in, it brushes all of your teeth at once? Well, half of your teeth anyway. Allegedly, you can spend as little as 10 seconds on each arch and effectively scour your smile — that’s because the thing vibrates at an astonishing 40,000 per minute or so.

Sounds kind of scary, doesn’t it? Wait ’til you hear how much they cost. One brand is $150 off the bat, and replacement heads are close to $40 each, although they’re supposed to last for six months each (eww!). Most of them have some fancy extras that make the cost more palatable, such as a tooth-whitening mode.

What do you think? Would you use a teethbrush? We’re still on the fence. It could be interesting to develop our own, but you have to crawl before you can run. Guess we’ll start with a manual.

An electronics workbench with tools and drawers

IKEA Wardrobe Holds Entire Hardware Workspace

If you’re like us, you probably don’t finish a typical hardware project in one sitting. This doesn’t have to be a problem if you’re fortunate enough to have a dedicated workbench for your hacking activities; you simply leave your current project there, ready to continue when you have time again. But this is not always a workable option if you, or a housemate, needs to use the same desk for other tasks as well.

[!BATTA!] over at IKEAhackers ran into this problem, and solved it by building a complete electronics workstation inside a wardrobe. The base of this project is a storage unit called PAX, which is designed to store clothes and shoes but which also works just fine with project boxes. [!BATTA!] installed a variety of shelves and drawers to organize their collection of boxes and tools.

Not content with simple storage, [!BATTA!] decided to add a workbench, using a sturdy sliding tray that carries a working surface and a reinforced back panel to hold parts bins. Metal braces were added to prevent wobbliness, and the whole structure was bolted to a wall to prevent it from tipping over. When the workbench is not in use, the tray simply slides inside so the doors can be closed for a nice, clean look.

We really like the many clever storage solutions spread around the work area, such as a magnetic rail to hold hand tools and a “honeycomb” of PVC tubes for storing cables. Compact LED strips provide suitable lighting while a power strip with both mains and USB sockets brings juice to the tools and projects.

Modifying pieces of IKEA furniture is nothing new; we’ve seen them turned into arcade cabinets and MP3 players. We’ve also covered several well-organized workspaces, but none as compact as this one. Thanks to [IrregularShed] for the tip.