Vaporwave For The Parallel Port

FM synthesis is the sound of the 1980s, it’s the sound of shopping malls and Macintosh Plus. It’s the sound of the Motorola DynaTAC, busts of Helios, and the sound of vaporwave サ閲ユ. The chips most responsible for this sound is the OPL2 and OPL3, tiny little FM synthesizers on a chip, produced by Yamaha, and the core of the AdLib and Sound Blaster sound cards. It’s the chip behind the music in all those great DOS games.

Unfortunately, computers don’t have ISA slots anymore, and cards don’t work in 486 and Pentium-based laptops, the latest hotness for retrocomputing enthusiasts. For his Hackaday Prize entry, [serdef] is bringing the sound of the 80s to the parallel port with the OPL2LPT. It’s a sound card for the parallel port that isn’t just a resistor DAC like the Covox Speech Thing.

The design of the OPL2LPT is pretty much what you would expect; it’s an OPL2 chip, opamp, a 1/8″ jack, and a few passive components. The real trick here is in the driver; by default, every DOS game around expects an Adlib card on port 338h, whereas the parallel post is at 378h. A driver takes care of this in software, but it is possible to patch a game to change every write to an Adlib card to a write to a parallel port.

Already, [serdef]’s parallel port graphics card is a real, working product and has caught the attention of Lazy Game Reviews and the 8-Bit-Guy, you can check out those video reviews below.

Continue reading “Vaporwave For The Parallel Port”

Linux Fu: Watch That Filesystem

The UNIX Way™ is to cobble together different, single-purpose programs to get the effect you want, for instance in a Bash script that you run by typing its name into the command line. But sometimes you want the system to react to changes in the system without your intervention. For example, you might like to watch a directory and kick off some program automatically when a file appears from a completed FTP transaction, without having to sit there and refresh the directory yourself.

The simple but ugly way to do this just scans the directory periodically. Here’s a really dumb shell script:

#!/bin/bash
while true
 do
   for I in `ls`
    do cat $I; rm $I
   done
 sleep 10
done

Just for an example, I dump the file to the console and remove it, but in real life, you’d do something more interesting. This is really not a good script because it executes all the time and it just isn’t a very elegant solution. (If you think I should use for I in *, try doing that in an empty directory and you’ll see why I use the ls command instead.)

Continue reading “Linux Fu: Watch That Filesystem”

Building A Knife By Hand Is Just As Hard As You Think

Carl Sagan once said: “If you wish to make an apple pie from scratch, you must first invent the universe.” In other words, the term “scratch” is really a relative sort of thing. Did you grow the apples? Did you plant the wheat to make the flour? Where do you keep your windmill, incidentally? With Carl’s words in mind, we suppose we can’t say that [Flannagill] truly built this incredible knife from scratch, after all, he ordered the sheet steel on Amazon. But we think it’s close enough.

He was kind enough to document the epic build in fantastic detail, including (crucially), the missteps he made along the way. While none of the mistakes were big enough to derail the project, he mentions a few instances where he wasted time and money trying to take shortcuts. Even if making your own knives at home isn’t on your short list of summer projects, we’d wager there’s something in this build log you can learn from regardless.

So how does one build a knife? Slowly and methodically, if what [Flannagill] has written up is any indication. It started with a sketch of the knife on a piece of paper, the outline of which was then transferred to a piece of tool steel with nothing more exotic than a permanent marker. An angle grinder was then used to follow the outline and create the rough shape of the final knife.

From there, the process is done almost entirely with hand files. Here [Flannagill] gives one of his most important pieces of advice: don’t cheap out on the tools. He bought the cheapest set of files he could, and paid the price: he says it took up to 14 hours to complete just one side of the knife. Once he switched over to higher quality files, the rest of the work went much faster.

After filing and sanding the knife blank, it went into a charcoal fire to be hardened, followed by a total of 4 hours in a 200 C (~400 F) oven to heat temper it. Finally the handle pieces (which are officially known as “scales”) were attached, and finished with considerably less labor intensive woodworking methods. The final result is a gorgeous one of a kind specimen that [Flannagill] is rightly very proud of.

If you’re worried this process looks a bit too quick and easy for you, don’t worry. You can always go the [Bil Herd] route and make a forge out of your old sink if you’d rather start your apple pie a bit closer to the tree.

Ask Hackaday: What Is The Future Of Implanted Electronics?

Biohacking is the new frontier. In just a few years, millions of people will have implanted RFID chips under the skin between their thumb and index finger. Already, thousands of people in Sweden have chipped themselves to make their daily lives easier. With a tiny electronic implant, Swedish rail passengers can pay their train ticket, and it goes without saying how convenient opening an RFID lock is without having to pull out your wallet.

That said, embedding RFID chips under the skin has been around for decades; my thirteen-year-old cat has had a chip since he was a kitten. Despite being around for a very, very long time, modern-day cyborgs are rare. The fact that only thousands of people are using chips on a train is a newsworthy event. There simply aren’t many people who would find the convenience of opening locks with a wave of a hand worth the effort of getting chipped.

Why hasn’t the most popular example of biohacking caught on? Why aren’t more people getting chipped? Is it because no one wants to be branded with the Mark of the Beast? Are the reasons for a dearth of biohacking more subtle? That’s what we’re here to find out, so we’re asking you: what is the future of implanted electronics?

Continue reading “Ask Hackaday: What Is The Future Of Implanted Electronics?”

Indiegogo Calls Time On The ZX Vega

It has been an exciting time to be a retro computer enthusiast in recent years, and the availability of affordable single board computers, systems-on-chip, and FPGAs have meant that retro hardware could be accurately reproduced or emulated. A host of classic micros have been reborn, to delight both the veterans who had the originals, and a new crop of devotees.

Today we have news of the impending demise of one of the higher-profile projects. The ZX Vega+ is a handheld Sinclair Spectrum console bearing the Sinclair name that came with an impeccable pedigree in that it had the support of the man himself. It seemed like a good proposition on the crowdfunding site Indiegogo, and when it made its debut there in early 2016 it attracted over half a million pounds worth of backing in short order. Things soon went sour though, with reports of a falling-out within Retro Computers, followed by multiple missed deadlines and promises undelivered over the last couple of years. With little sign of either the money or the console itself, it seems Indiegogo have now lost patience and will be sending in the debt collectors to recover what they can. Whether the backers will see any of their money is unclear.

It’s fair to say that the ZX Vega saga has been a tortuous and rather sordid one, out of which few players emerge smelling of roses. In a way though it is entirely in keeping with the spirit of the 8-bit era, as the period from the late 1970s onwards was littered with the financially bare corpses of dubiously run companies in the home computer industry. Meanwhile if you are hankering for a Vega it should be easy enough to create one for yourself, as Retro Computers Ltd admitted that under its skin was a copy of the FUSE software emulator. We suspect that most Hackaday readers could take a Raspberry Pi and a suitable LCD, pair them with a 3D-printed case and an 18650 cell, and be playing Manic Miner in no time. Far simpler than this convoluted Spectrum project!

Battleships Over BGP

The Border Gateway Protocol (BGP) is one of the foundations of the internet. It’s how the big routers that shift data around the Internet talk to each other, passing info on where they can send data to. It’s a simple protocol, with each router sending text messages that advertise the routes that they carry. The administrators of these routers create communities, each with an individual code, and this information is passed between routers. Most top-level ISPs don’t spread this data far, but [Ben Cox] realized that his ISP did. and that he could use this as an interesting way to transmit data over the Internet. What data to send? He decided to play battleships.

Continue reading “Battleships Over BGP”

Pocket Projector Uses Raspberry Pi

Who doesn’t want a pocket protector projector? Nothing will impress a date more than being able to whip out a PowerPoint presentation of your latest trip to the comic book convention. The key to [MickMake] build is the $100 DLP2000EVM evaluation module from Texas Instruments. This is an inexpensive light engine, and perfect for rolling your own projector. You can see the result in the video below.

If you don’t need compactness, you could drive the module with any Rasberry Pi or even a regular computer. But to get that pocket form factor, a Pi Zero W fits the bill. A custom PCB from [MickMake] lets the board fit in with the DLP module in a very small form factor.

Continue reading “Pocket Projector Uses Raspberry Pi”