Reading Out An EPROM – With DIP Switches

We’re all too spoiled nowadays with our comfortable ways to erase and write data to persistent memory, whether it’s our microcontroller’s internal flash or some external EEPROM. Admittedly, those memory technologies aren’t exactly new, but they stem from a time when their predecessors had to bathe under ultraviolet light in order to make space for something new. [Taylor Schweizer] recently came across some of these quartz-window decorated chips, and was curious to find out what is stored in them. Inspired by the BIOS reverse engineering scene in Halt and Catch Fire, he ended up building his own simple reader to display the EPROM’s content.

The 2732 he uses is a standard EPROM with 32kbit memory. Two pins, Chip Enable and Output Enable, serve as main control interface, while 12 address pins select the data stored in the chip’s internal 4K x 8 arrangement, to output it on the 8 data output pins. You could of course hook up the EPROM to a microcontroller and send what you read via serial line, but [Taylor] opted for a more hands-on approach that lets him read out the data in a manual way. He simply uses a bank of DIP switches to set the address and control pins, and added a row of LEDs as display.

As you can see from the short demonstration in the video after the break, reading out the entire EPROM would be a rather tedious task this way. If you do have more serious intentions to read out the content, you could have a look at one of those microcontroller based solutions sending data via serial line after all.

Continue reading “Reading Out An EPROM – With DIP Switches”

Improvising An EPROM Eraser

Back in the old days, when we were still twiddling bits with magnetized needles, changing the data on an EPROM wasn’t as simple as shoving it in a programmer. These memory chips were erased with UV light shining through a quartz window onto a silicon die. At the time, there were neat little blacklights in a box sold to erase these chips. There’s little need for these chip erasers now, so how do you erase and program a chip these days? Build your own chip eraser using components that would have blown minds back in the 70s.

[Charles] got his hands on an old 2764 EPROM for a project, but this chip had a problem — there was still data on it. Fortunately, old electronics are highly resistant to abuse, so he pulled out the obvious equipment to erase this chip, a 300 watt tanning lamp. This almost burnt down the house, and after a second round of erasing of six hours under the lamp, there were still unerased bits.

Our ability to generate UV light has improved dramatically over the last fifty years, and [Charles] remembered he had an assortment of LEDs, including a few tiny 5mW UV LEDs. Can five milliwatts do what three hundred watts couldn’t? Yes; the LED had the right frequency to flip a bit, and erasing an EPROM is a function of intensity and time. All you really need to do is shine a LED onto a chip for a few hours.

With this vintage chip erased, [Charles] slapped together an EPROM programmer — with a programming voltage of 21V — out of an ATMega and a bench power supply. It eventually worked, allowing [Charles]’ project, a vintage liquid crystal display, to have the right data using vintage-correct parts.

Joykill: Previously Undisclosed Vulnerability Endangers User Data

Researchers have recently announced a vulnerability in PC hardware enabling attackers to wipe the disk of a victim’s computer. This vulnerability, going by the name Joykill, stems from the lack of proper validation when enabling manufacturing system tests.

Joykill affects the IBM PCjr and allows local and remote attackers to destroy the contents of the floppy diskette using minimal interaction. The attack is performed by plugging two joysticks into the PCjr, booting the computer, entering the PCjr’s diagnostic mode, and immediately pressing button ‘B’ on joystick one, and buttons ‘A’ and ‘B’ on joystick two. This will enable the manufacturing system test mode, where all internal tests are performed without user interaction. The first of these tests is the diskette test, which destroys all user data on any inserted diskette. There is no visual indication of what is happening, and the data is destroyed when the test is run.

A local exploit destroying user data is scary enough, but after much work, the researchers behind Joykill have also managed to craft a remote exploit based on Joykill. To accomplish this, the researchers built two IBM PCjr joysticks with 50-meter long cables.

Researchers believe this exploit is due to undocumented code in the PCjr’s ROM. This code contains diagnostics code for manufacturing burn-in, system test code, and service test code. This code is not meant to be run by the end user, but is still exploitable by an attacker. Researchers have disassembled this code and made their work available to anyone.

As of the time of this writing, we were not able to contact anyone at the IBM PCjr Information Center for comment. We did, however, receive an exciting offer for a Carribean cruise.

DIY Bookshelf Is More Than Meets The Eye

It might surprise you, Dear Reader, that not every project featured on Hackaday needs to pulsate with LEDs, or update the world about its goings-on over Twitter. They don’t even, contrary to what you may have heard, need to have an Arduino inside. No, sometimes you can pull off a pretty neat hack with nothing more than some wood, a couple of tools, and a unique idea which repurposes something that would otherwise be in a landfill.

Such is the case with the latest project from [Keith Decent], which uses plywood and the spines of old books to create a secret compartment “bookshelf”. The concept is probably best described as a roll-top desk on its side, and while the action does appear a little stiff, it scores extra points for how easy it looks to replicate.

Using a router, [Keith] cuts a channel into the top and bottom sheets of plywood, which the “books” will eventually ride in. This channel goes around the entire perimeter of the shelf, and it’s important to make it as straight as possible so nothing binds up. To make sure things move through as smoothly as possible, some sandpaper is used to clean-up the inside edges.

The next step is to rip some books apart and salvage their spines. Used books can be purchased for next to nothing at flea markets, so even if you don’t have a home library filled with vintage tomes to eviscerate, it should be easy enough to get your hands on some if you want to build your own version. For sanity’s sake it would seem that books with the same size spines are ideal, so keep an eye out for old sets of encyclopedias and the like.

When the spines are removed from the books, they get glued to individual wooden slats. These slats then have holes drilled in the top and bottom, and standard wood screws driven in to act as “rollers”. Real rollers would undoubtedly make for smoother action, but you can’t beat his method if you’re trying to get it done cheaply and quickly.

The slats are then glued onto a piece of fabric, creating what is referred to as a tambour. The fabric backing links all the slats together and makes it so that pushing and pulling one slat will move them all together as one. The book spine tambour is then inserted in the routed channel, and the back panel of the shelf can be installed to lock it all together.

At this point the project is essentially done, but [Keith] does take it the extra mile by sealing all the book spines and doing some finish work on the shelf to make it look more like a real vintage piece of furniture instead of some scrap plywood screwed together.

If this exercise in woodworking has gotten you interested in the wonderful world of dead trees, you’re in luck. We’ve covered several woodworking projects from the hacker perspective, so you won’t be completely lost.

Continue reading “DIY Bookshelf Is More Than Meets The Eye”

Bartop Arcade Cabinet Build Skips The Kit

An arcade cabinet is one of those things that every gamer wants at home, but few ever get. Getting a real arcade cabinet is usually expensive, and building one yourself is no small feat. There are kits you can get now which help the process along, generally taking the form of pre-cut cabinet parts, but with them comes the quiet shame of kit-building. What if your friends found out you used a kit instead of designing it yourself? The drama is almost too much to think about.

That’s how [Bogdan Berg] felt about it, at least. Not content with just getting a pre-cut cabinet kit from eBay, he decided to design and build his own bartop arcade machine in just one week: fast enough for him to fit the whole thing into his Christmas vacation. We don’t know what Christmas was like for his friends and family this year with him toiling away on this beautiful build the whole time, but we can confidently say his Christmas was awesome.

He designed the cabinet in Fusion 360, working around the limitation that the laser cutter he had access to had a work area of 24 inches by 18 inches. Some interesting design choices were made here, including going with a tab and slot construction method. While [Bogdan] admits that this aesthetic isn’t always popular, he liked how sturdy it makes the final product.

He was originally going to use plywood for the cabinet, but owing to the fact that he couldn’t find any pieces that weren’t warped locally, he switched over to MDF. Using MDF did mean he had to seal all the cut pieces with shellac before painting, but in the end he’s happy with the final lacquer paint job; even if it did take more work and materials than he anticipated.

The hardware is pretty much the standard for DIY arcades these days: a 17 inch LCD monitor he had laying around is used for the display, a two player joystick and button kit from Amazon provides the user interface, and emulation is provided by a Raspberry Pi 3 running RetroPie. A recessed door in the rear allows him to get into the machine will still maintaining a finished look on the backside.

While the size of them may vary wildly, DIY arcade cabinets are always a popular project. Whether shamelessly emblazoned with our logo or playing host to glorious LED lighting, it seems like the design of these cabinets provide as much entertainment as the games they play.

Continue reading “Bartop Arcade Cabinet Build Skips The Kit”

Vintage Logan Lathe Gets 3D Printed Gears

In December 2016, [Bruno M.] was lucky enough to score a 70+ year old Logan 825 lathe for free from Craigslist. But as you might expect for a piece of machinery older than 95% of the people reading this page, it wasn’t in the best of condition. He’s made plenty of progress so far, and recently started tackling some broken gears in the machine’s transmission. There’s only one problem: the broken gears have a retail price of about $80 USD each. Ouch.

On his blog, [Bruno] documents his attempts at replacing these expensive gears with 3D printed versions, which so far looks very promising. He notes that usually 3D printed gears wouldn’t survive in this sort of application, but the gears in question are actually in a relatively low-stress portion of the transmission. He does mention that he’s still considering repairing the broken gears by filling the gaps left by the missing teeth and filing new ones in, but the 3D printed gears should at least buy him some time.

As it turns out, there’s a plugin available for Fusion 360 that helpfully does all the work of creating gears for you. You just need to enter in basic details like the number of teeth, diametral pitch, pressure angle, thickness, etc. He loaded up the generated STL in Cura, and ran off a test gear on his delta printer.

Of course, it didn’t work. Desktop 3D printing is still a finicky endeavour, and [Bruno] found with a pair of digital calipers that the printed gear was about 10% larger than the desired dimensions. It would have been interesting to find out if the issue was something in the printer (such as over-extrusion) or in the Fusion 360 plugin. In any event, a quick tweak to the slicer scale factor was all it took to get a workable gear printed on the third try.

This isn’t the first time we’ve seen 3D printed gears stand in for more suitable replacement parts, nor the first time we’ve seen them in situations that would appear beyond their capability. As 3D printer hardware and software improves, it seems fewer and fewer of the old caveats apply.

Continue reading “Vintage Logan Lathe Gets 3D Printed Gears”

Home Decorating With Tiny Arcade Cabinets

Thanks to the general miniaturization of electronics, the wide availability of cheap color LCD screens, and the fact that licensing decades old arcade games is something of a free-for-all, we can now purchase miniature clones of classic arcade cabinets for about $20 USD. In theory you could play these things, but given they’re less than 4 inches in height they end up being more of a desk novelty than anything. Especially since it seems like most of the effort went into making the cabinet itself; a classic example of “form over function”.

Unfortunately, if you want to buy these little arcade cabinets to use as decoration for your office or game room, they aren’t particularly well suited to the task. The “demo” mode where the game plays itself doesn’t last for very long, and even if it did, the game would chew through batteries at an alarming rate. [Travis] decided to tackle both issues head on by powering his Tiny Arcades over USB and locking them into demo mode.

The stock power for the Tiny Arcade comes from three AAA batteries, or 4.5 V. This made it easy enough to run over  5 V USB, and a four port USB charger is used to provide power to multiple machines at once. Forcing the game to stay in demo mode wasn’t much harder: a 555 timer was used to “push” the demo button with a frequency of every 10 seconds or so to keep the game up and running. A simple timer circuit was put together in the classic “dead bug” style, and sealed up with liquid rubber so it would play nice with the insides of the Tiny Arcade.

Since his little machines wouldn’t need their stock power switches anymore, [Travis] rewired the speaker lead through it. So now the machine stays on and in demo mode as long as it’s plugged into USB power, and you can flip the switch on the back to turn off the sounds. Perfect for sitting up on a shelf or the corner of your desk.

Usability issues not withstanding, there’s a pretty big (no pun intended) following for micro sized arcade cabinets. We’ve seen projects ranging from modding a Game Boy Advance to even tinier scratch builds.

Continue reading “Home Decorating With Tiny Arcade Cabinets”