Running UNIX On A Nintendo Entertainment System

Who wouldn’t want to run a UNIX-like operating system on their NES or Famicom? Although there’s arguably no practical reason for doing so, [decrazyo] has cobbled together a working port of Little Unix (LUnix), which was originally written for the Commodore 64 and 128 by [Daniel Dallmann]. The impetus for this project was initially curiosity, but when [decrazyo] saw that someone had already written a UNIX-like OS for the 6502 processor, it seemed apparent that the NES was too similar to the C64 to not port it.

Much of this is relatively straightforward, as the 6502 MPU in the C64 is nearly identical to the Ricoh 2A03 in the NES, with the latter missing the binary-coded decimal support, which is not a crucial feature. The only significant roadblock was the lack of RAM in the NES. The console has a mere 2 KB of RAM and 2 KB of VRAM, which made it look anemic even next to the C64. Here, a Japan-only accessory came to the rescue: the Famicom Disk System (FDS), which is a proprietary floppy disk-based system that slots into the bottom of the Famicom and was used for games as well as storing saves back in the day.

By using a Famicom with FDS, it was possible to gain an additional 32 kB provided by the FDS, making the userspace utilities available in the shell. The fruits of this labor work well enough that he could also pop it up on an EverDrive cartridge that supports FDS ROMs and boot it up on an unmodified NES. Whether this is cooler than the NES-OS, which we covered previously, is up for debate.

Incidentally, [Maciej Witkowiak] seems to have resumed development on LUnix, with a new release in 2023, so maybe UNIX-on-6502 may see a revival after a few decades of little happening.

Continue reading “Running UNIX On A Nintendo Entertainment System”

Famicom-Inspired NES TV Looks Rad In Red

Take it from us, insomnia is no joke. But the wee hours can have a great effect on creativity, and if you’ve got a project in mind, doing that is way better than just sitting around, zoning out to infomercials and wishing for sleep. Over recent nights, [insomniacfactory] has been working on a Sharp C1 Famicon-inspired NES TV, and the result is simply fabulous.

The Sharp C1 Famicom was CRT television with a Famicom (precursor to the NES) built in. It allegedly had better picture quality than either a Famicom or NES with a separate television, and this was because it had direct internal display connection. The picture quality was so good that video game magazines at the time used it for screenshots.

Starting with a couple of TVs and a plan, [insomniacfactory] got to work, using the guts from a newer donor TV and a 1985 NES main board with the region-free mod and the RF module removed.

[insomniacfactory] also added also added a wiring harness and a side loader connector from a broken Game Genie to the NES main board. After some careful Dremeling out of the 1981 AKAI TV, they had room for the clone console’s cartridge slot and controller plugs.

This project took a lot of careful and fiddly work, especially since the boards are all bracketed in place and easy to remove. But it totally looks like it was worth it, and now [insomniacfactory] can retro game all night for a while before starting the next insomnia-driven project.

Are you in the mood for more iconic NES? Take a guided tour.

Hackaday Prize 2022: An Eastern Bloc NES Clone

If Nintendo is known for anything outside of their characters and admittedly top-notch video games, it’s being merciless to fans when it comes to using their intellectual property. They take legal action against people just for showing non-Nintendo hardware emulating games of theirs, and have even attempted to shut down the competitive scene for games like Super Smash Bros. To get away from the prying eyes of the Nintendo legal team extreme measures need to be taken — like building your Nintendo console clone behind the Iron Curtain.

[Marek Więcek] grew up in just such a place, so the only way to play Famicom (a.k.a NES) games was to use a clone system like this one circulating in the Eastern Bloc at the time called the Pegasus which could get the job done with some tinkering. [Marek] recently came across CPU and GPU chips from this clone console and got to work building his own. Using perf board and wire he was able to test the chips and confirm they functioned properly, but had a problem with the video memory that took him a while to track down and fix.

After that, he has essentially a fully-functional Famicom that can play any cartridge around. While we hope that living in Eastern Europe still puts him far enough away to avoid getting hassled by Nintendo, we can never be too sure. Unless, of course, you use this device which lets you emulate SNES games legally.

Continue reading “Hackaday Prize 2022: An Eastern Bloc NES Clone”

FPGA Emulates NES Cart; Prototype So Cyberpunk

By now, most of us have had some experience getting ROMs from classic video games to run on new hardware. Whether that’s just on a personal computer with the keyboard as a controller, or if it’s a more refined RetrioPie in a custom-built cabinet, it has become relatively mainstream. What isn’t mainstream, however, is building custom hardware that can run classic video games on the original console (translated). The finished project looks amazing, but the prototype blows us away with it’s beauty and complexity.

[phanick]’s project is a cartridge that is able to run games on the Polish Famicon clone called the Pegasus. The games are stored on an SD card but rather than run in an emulator, an FPGA loads the ROMs and presents the data through the normal edge-connector in the cartridge slot of the console. The game is played from the retro hardware itself. It takes a few seconds to load in each ROM, but after that the Pegasus can’t tell any difference between this and an original cartridge.

The original prototype shown here was built back in 2012. Since then it’s been through a few iterations that have reduced the size. PCBs were designed and built in-house, and the latest revision also includes a 3D-printed case that is closer to the size of the original Famicon cartridges.

Even if you don’t have an interest in classic video games or emulation, the video below is worth checking out. (Be sure to turn on the subtitles if you don’t speak Polish.) [phanick] has put in a huge amount of time getting all of the details exactly right, and the level of polish shows in the final product. In fact, we’ve featured him before for building his own Famicom clone.

Continue reading “FPGA Emulates NES Cart; Prototype So Cyberpunk”

It’s A Sega It’s A Nintendo! It’s… Unique!

Before the days of the RetroPie project, video game clones were all the rage. Early video game systems were relatively easy to duplicate and, as a result, many third-party consoles that could play official games were fairly common. [19RSN007] was recently handed one of these clones, and he took some pretty great strides to get this device working again.

The device in question looks like a Sega Genesis, at least until you look closely. The cartridge slot isn’t quite right and the buttons are also a little bit amiss. It turns out this is a Famicom (NES) clone that just looks like a Sega… and it’s in a terrible state. After a little bit of cleaning, the device still wasn’t producing any good video, and a closer inspection revealed that the NOAC (NES-on-a-Chip) wasn’t working.

Luckily, [19RSN007] had a spare chip and was able to swap it out. The fun didn’t stop there though, as he had to go about reverse-engineering this chip pin-by-pin until he got everything sorted out. His work has paid off though, and now he has a video game system that will thoroughly confuse anyone who happens to glance at it. He’s done a few other clone repairs as well which are worth checking out, and if you need to make your own NES cartridges as well, we’ve got you covered there, too.

The 8 Bit Harmonica Blows In From Japan

8bit-harmonica

From [Basami Sentaku] in Japan comes this 8bit harmonica. [Basami] must remember those golden days of playing Famicom (or Nintendo Entertainment System for non-Japanese players). As the systems aged, the contacts would spread. In the case of the NES, this would often mean the infamous blinking red power light. The solution for millions of players was simple. Take the cartridge out, blow on it, say a few incantations, and try again. In retrospect, blowing on the cartridges probably did more harm than good, but it seemed like a good idea at the time. We’d always assumed that the Famicom, being a top loading design, was immune from the issues that plagued the horizontal slot on the NES. Either [Basami] spent some time overseas, or he too took to tooting his own cartridge.

Blowing into cartridges has inspired a few crafty souls to stuff real harmonicas into cartridge cases. [Basami] took a more electronic route. A row of 8 microphones picks up the players breath sound. Each microphone is used to trigger a specific note. The katakana in the video shows the traditional Solfège musical scale: do, re, mi, fa, so, la ti, do. A microcontroller monitors the signal from each microphone and determines which one is being triggered. The actual sound is created by a Yamaha YMZ294. The ‘294 is an 18 pin variant of the venerable General Instrument AY-3-8910, a chip long associated with video game music and sound effects. While we’re not convinced that the rendition of Super Mario Bros’ water theme played in the video wasn’t pre-recorded, we are reasonably sure that the hardware is capable of doing everything the video shows.

Continue reading “The 8 Bit Harmonica Blows In From Japan”

Hacking Your NES/Famicom Console For Better Video And Audio

famicom_playchoice_ppu_mod

[Dominic] wrote in to share a pretty neat Famicom console mod that improves both the video and audio output of the system. While some of you may be familiar with the PlayChoice 10, we’re guessing that many of you are not. The PlayChoice 10 was an arcade-style machine that allowed you to play up to 10 different NES games. The system’s hardware was quite similar to the Famicom/NES consoles, but the graphics and sound performance was superior to either console.

[Dominic] decided to tweak his Famicom system, and ended up replacing its native Picture Processing Unit (PPU) with one from a PlayChoice 10. This allows the console to output RGB video natively, resulting in a crisper picture with brighter coloring. He didn’t stop there however. His Famicom system also sports an upgraded audio circuit that boasts psuedo-stereo sound as well as increased bass response and better overall audio clarity.

The console looks nearly stock, and performs quite well according to [Dominic]. Be sure to check out the video comparison embedded below to see how the modifications improved his system’s performance.

Continue reading “Hacking Your NES/Famicom Console For Better Video And Audio”