The King Of All Game Genies In An Arduino

While Nintendo is making a killing on nostalgic old consoles, there is a small but dedicated group of hackers still working with the original equipment. Since the original NES was rolled out in the 80s, though, there are a few shortcomings with the technology. Now, though, we have Arduinos, cheap memory, and interesting toolchains. What can we do with this? Absolutely anything we want, like playing modern video games on this antiquated system. [uXe] added dual-port memory to his ancient NES console, opening up the door to using the NES as a sort of video terminal for an Arduino. Of course, this is now also the King of All Game Genies and an interesting weekend project to boot.

Most NES cartridges have two bits of memory, the PRG and CHR ROMs. [uXe] is breaking out the cartridge connector onto an exceptionally wide rainbow ribbon cable, and bringing it into a custom Arduino Mega shield loaded up with two 16K dual-port RAM chips. These RAM chips effectively replace the PRG and CHR ROMs Since these are dual-port RAM chips, they can be written to by the Arduino and read by the NES simultaneously.

The NES sees one port of the RAM and can read and write from it while the Arduino still has access to make changes to the other post while that’s happening. A trick like this opens up a whole world of possibilities, most obviously with tiling and other graphics tricks that can push beyond the console’s original capabilities. [uXe] is currently playing Arduboy games on the NES — a really neat trick to pull off. Well done [uXe]!

Be sure to check out the video below of the NES running some games from the Arduboy system. It seems to integrate seamlessly into the hardware, so if you’ve always had a burning desire to fix crappy graphics on some of your favorite games, or run some special piece of software on an NES, now might just be your time to shine.

Continue reading “The King Of All Game Genies In An Arduino”

Magnetic Tape Storage May Not Be Retro

Magnetic storage is quickly becoming an antiquated technology but IBM may have given it a few more years. Currently, magnetic storage is still manufactured as hard disk drives (HDDs) but you won’t find a tape drive in a modern consumer computer. That’s not likely to change but IBM is pushing the envelope to make a tape drive that will be smaller and more economical than other massive storage options. In many ways, they’re the antithesis of solid state drives (SSDs) because tape drives are slow to retrieve data but capable of holding a lot inexpensively.

Three advances are responsible for this surge in capacity. Firstly, the tape “grains,” where each bit is recorded, have been shrunk by sputtering metal to a film instead of painting it on. Secondly, better servo control allows the reading mechanisms to read those tiny grains with the necessary accuracy. Lastly, stronger computation is used to read the data by using error detection and correction because when your tape is traveling four meters per second, it takes a long time to go back and double-check something.

IBM’s tape drive won’t replace your hard drive but it could back it up daily, many times over.

Check this out if your wetware needs a memory boost or this if your breakfast needs a memory boost.

Chest Of Drawers Stores Audio Memories

Some people collect stamps, some collect barbed wire, and some people even collect little bits of silicon and plastic. But the charmingly named [videoschmideo] collects memories, mostly of his travels around the world with his wife. Trinkets and treasures are easy to keep track of, but he found that storing the audio clips he collects a bit more challenging. Until he built this audio memory chest, that is.

Granted, you might not be a collector of something as intangible as audio files, and even if you are, it seems like Google Drive or Dropbox might be the more sensible place to store them. But the sensible way isn’t always the best way, and we really like this idea. Starting with what looks like an old card catalog file — hands up if you’ve ever greedily eyed a defunct card catalog in a library and wondered if it would fit in your shop for parts storage — [videoschmideo] outfitted 16 drawers with sensors to detect when they’re opened. Two of the drawers were replaced by speaker grilles, and an SD card stores all the audio files. When a drawer is opened, a random clip from that memory is played while you look through the seashells, postcards, and what-have-yous. Extra points for using an old-school typewriter for the drawer labels, and for using old card catalog cards for the playlists.

This is a simple idea, but a powerful one, and we really like the execution here. This one manages to simultaneously put us in the mood for some world travel and a trip to a real library.

Continue reading “Chest Of Drawers Stores Audio Memories”

Hack Your Memory

Imagine a fire hydrant being lifted high into the air by a large helium balloon. It goes higher and higher, but suddenly gas starts to leak out of the nozzle, which makes it sound like it’s trying to talk… but with a distinct lisp. A colorful bumblebee then lands on the balloon, licks it, and says “really yum!”  Then the bee takes out its stinger and bores on to the balloon. It pops, causing the fire hydrant to come crashing down. It smashes into a military jeep causing a massive explosion… as if it had been destroyed by a car bomb. Fortunately, the owner of the jeep, a general, was out on his rowing boat at the time. He likes to row his boat at night, and is known as the “night-rowing general” around the base. He was rowing with a bit more exertion than usual, and had to don an oxygen mask to help him breath. But the mask was full of fluoride, which turned his teeth bright neon colors.

You’re probably wondering what the hell you just read. Maybe you’re thinking the author had a stroke. Has the site been hacked? Maybe it’s a prank? What if I told you that you’ve just memorized the first 10 elements of the periodic table.

The Night-Rowing-General via Memorize Academy
  • Fire hydrant – Hydrogen
  • Helium balloon – Helium
  • Lisp – Lithium
  • Bee says “really yum” – Beryllium
  • Bee “Bores on” – Boron
  • Car bomb – Carbon
  • The night-rowing-general – Nitrogen
  • Oxygen mask – Oxygen
  • Fluoride – Florine
  • Neon teeth – Neon

Much of your memory is stored in the form of associations. Encoding things you need to remember into a silly story takes advantage of this fact. The memory of a ‘night-rowing-general’ is already in your head. You can see him in the theater of your mind… rowing his boat under a black sky… the silver stars on his green hat reflecting the moonlight. Associating this visual representation of the night-rowing-general with the term ‘Nitrogen’ is very easy for your brain to do.

You’re probably already familiar with this type of learning. Does “Bad Boys Run Over Yellow Gardenias Behind Victory Garden Walls” ring a bell?  It’s nothing new. In fact, storing memories in the form of mental images was the preferred memorization method of the scholars in ancient times. Today, it has allowed people to perform staggering feats of memorization. Want to know how [Akira Haraguchi] was able to memorize 111,700 digits of Pi?

Continue reading “Hack Your Memory”

Best Product Entry: Emulating Memory

For this year’s Hackaday Prize, we’re giving everyone the opportunity to be a hardware startup. This is the Best Product portion of the Hackaday Prize, a contest that will award $30,000 and a residency in our Design Lab to the best hardware project that is also a product.

Imagine all the memory chips in all the landfills in the world. What if we could easily recover those hosed motherboards and swap out ROM files on malware-damaged chips. That’s the promise of [Blecky]’s EEPROM/Flash Emulator project on Hackaday.io. This project seeks to be the ultimate memory interface, emulating SPI-interface EEPROM or Flash memory chipsets with ease. It can also be used as a security device, checking the BIOS for untoward changes.

The EEEmu packs an Atmel SAM4S Cortex-M4 processor-based microcontroller, an SD card reader, a micro USB for reprogramming, boost converter, voltage regulator, and includes additional 3.3V GPIO/I2C ports, all on a wee 51.5x20mm circuit board. Version 2 is slated to include more features to facilitate use as a normal micro controller: more GPIO pins, USB voltage monitoring, and high-Z control for SPI output.

EEEmu is completely open source, with [Blecky] sharing his code on GitHub and even has created an EEEmu Fritzing part, also found in his repository.

Storing Data On A Single Atom

In the electronics industry, the march of time brings with it a reduction in size. Our electronic devices, while getting faster, better and cheaper, also tend to get smaller. One of the main reasons for this is the storage medium for binary data gets smaller and more efficient. Many can recall the EPROM, which is about the size of your thumb. Today we walk around with SD cards that can hold an order of magnitude more data, which can fit on your thumb’s nail.

Naturally, we must ask ourselves where the limit lies. Just how small can memory storage get? How about a single atom! IBM along with a handful international scientists have managed to store two bits of information on two pairs of holmium atoms. Using a scanning tunneling microscope, they were able to write data to the atoms, which held the data for an extended period of time.

Holmium is a large atom, weighing in at a whopping 67 AMU. It’s a rare earth metal from the lanthanide series on the periodic table. Its electron configuration is such that many of the orbiting electrons are not paired. Recall from our article on the periodic table that paired electrons must have opposite spin, which has the unfortunate consequence of causing the individual magnetic fields to cancel. The fact that holmium has so many unpaired electrons makes it ideal for manipulation.

While you won’t be seeing atom-level memory on the next Raspberry Pi, it’s still neat to see what the future holds.

Thanks to [Itay] for the tip!

Via Gizmodo.

33C3: Memory Deduplication, The Hacker’s Friend

At the 33rd annual Chaos Communications Congress, [Antonio Barresi] and [Erik Bosman] presented not one, not two, but three (3!!) great hacks that were all based on exploiting memory de-duplication in virtual machines. If you’re interested in security, you should definitely watch the talk, embedded below. And grab the slides too. (PDF)

Memory de-duplication is the forbidden fruit for large VM setups — obviously dangerous but so tempting. Imagine that you’re hosting VMs and you notice that many of the machines have the same things in memory at the same time. Maybe we’re all watching the same cat videos. They can save on global memory across the machines by simply storing one copy of the cat video and pointing to the shared memory block from each of the machines that uses it. Notionally separate machines are sharing memory. What could go wrong?

Continue reading “33C3: Memory Deduplication, The Hacker’s Friend”