A Genesis Inspired Synthesizer That Has Nothing To Do With Phil Collins

Chiptune is a musical genre built upon the creation of music through the use of chip-based sound synthesizers, found in early game consoles. The Commodore 64’s venerable SID chip and the Game Boy Sound System are the by far the most popular on the scene. However, the Sega Genesis took a different path at the end of the videogame chipmusic era, packing a YM2612 FM synthesis chip to deliver fat basslines and searing solos. [Thea] has always been a fan of these electric 90s sounds, and thus decided to build the Genesynth.

The synth initially allowed only for playback of existing video game scores, but its capability has been expanded as [Thea] took the project from breadboard to protoboard to custom PCBs – with anime artwork, to boot. The synth uses a Teensy 3.5 as the brains, speaking USB to enable the synth to receive MIDI commands from music software. All parameters are exposed over the interface, and [Thea] has several videos showing the Genesynth under control from an Ableton Push.

The sound capabilities of the YM2612 are of an entirely different character to most chiptunes, by virtue of the FM synthesis engine. FM synthesis is a little less intuitive then classical additive synthesis, but we still see it crop up now and then.

 

Cramming A Pi Zero Into A Cheap Handheld Game

At this point, we’ve seen the Raspberry Pi jammed into what amounts to every retro game system, handheld or otherwise, that was ever released. While they’re always fun builds, invariably somebody will come along who is upset that the original hardware had to be gutted to create it. It seems as if with each post, a classic gaming aficionado out there has his or her heart broken just a bit more. Will no one put an end to the senseless slaughter of Game Boys?

As it so happens, not all hardware modders are such unconscionable brutes. [Starfire] recently sent his latest creation into the tip line, and it’s designed specifically to address the classic gaming massacre in which Hackaday has so shamefully been a collaborator.  His build sacrifices a portable Genesis built by AtGames, and turns it into a Raspberry Pi Zero portable running RetroPie.

Opening up the back panel of his portable Pi shows an incredible amount of hardware smashed into the tiny package. Beyond the obvious Pi Zero, there’s a iUniker 2.8-inch LCD, a 2,200 mAh battery, a two-port USB hub, a Teensy microcontroller, a USB sound card, an audio amplifier, a LiPo charging module, and a boost converter. [Starfire] measured peak power consumption to be 500 mA, which should give about a 3.5 hour run time on the 2,200 mAh battery.

This is all the more impressive when you realize the original AtGames PCB is still in the system, albeit with the center cut out for the Pi’s LCD to fit in. Rather than having to figure out a new way to handle input, [Starfire] simply connected the existing inputs to the digital pins on the Teensy and used some code to convert that into USB HID for the Pi. A few case modifications were necessary, namely the removal of the battery compartment from the back panel and covering up the original SD card slot and ports; but otherwise the finished product looks completely stock.

If you don’t mind tearing into a real Game Boy to make your portable Pi, you can check out a few of the stand out examples which we’ve covered here in the past.

Continue reading “Cramming A Pi Zero Into A Cheap Handheld Game”

Can You Visualise A Sega Cart From 2017?

The Sega Genesis, or Mega Drive if you’re not from North America, isn’t exactly this summer’s hottest new console, but it still has a huge following 29 years after launch. Fans range from retro Sonic enthusiasts to hardcore chiptune composers, and this year, Catskull Electronics is releasing a Genesis compilation album on a cartridge with a rather special feature.

The cartridge sports an 8×8 LED matrix, which acts as a visualiser for the audio coming out of the console. They’re controlled with a combination of data and address lines with some buffers and 74-series glue logic to make it all work together. Special attention was paid to make sure the LED matrix doesn’t just respond to all activity on the bus, though it would perhaps be cool to see some blinkenlights on a 90s console one day.

Each row of LEDs is attached to an address line, and each column to a data line. It’s a fairly basic multiplexing setup which sees each LED only actually lit for a fraction of a second, but sweeping the display at speed creates a lasting display. The image data is stored as an 8×8 sprite in the system RAM, and updated with the sound level of each channel from the Genesis’s audio subsystem.

The team are looking to release the ROM code in future to inspire copycat designs, which has the potential to spawn even more Genesis cart releases in future. We look forward to seeing what else the community comes up with. And if you’re a die-hard Genesis fan, there are other ways to listen to those classic tunes too.

Hackaday Links Column Banner

Hackaday Links: December 18, 2016

You can fly a brick if it has offset mass and you can fly a microwave because it breaks the law of the conservation of momentum. A paper on the EM Drive was recently published by the Eagleworks team, and the results basically say, ‘if this works, it’s a terrible thruster that shouldn’t work’. Experts have weighed in, but now we might not have to wait for another test in the Eagleworks lab: China will fly an EM Drive on their space station. Will it work? Who knows.

The ESP32 is just now landing on workbenches around the globe, and already a few people are diving into promiscuous mode and WiFi packet injection.

The Large Hadron Collider is the most advanced piece of scientific apparatus ever built. It produces tons of data, and classifying this data is a challenge. The best pattern recognition unit is between your ears, so CERN is crowdsourcing the categorization of LHC data.

Holy crap this is cyberpunk. [SexyCyborg] created a makeup palette pen testing device thing out of a Rasberry Pi and a few bits and bobs sitting around in a parts drawer. The project is cool, but the photolog of the finished project is awesome. It’s exactly what you would use to break into the Weyland-Yutani database while evading government operatives on the rooftops of Kowloon Walled City before escaping via grappling hook shot into the belly of a spaceplane taking off.

The Mini NES is Nintendo’s most successful hardware offering since the N64. This tiny device, importantly packaged in a minified retro NES enclosure, is out of stock everywhere. That doesn’t matter because now there’s a mini Genesis. The cool kids had a Genesis. You want to be a cool kid, right? Mortal Kombat was better on the Genesis.

The Arduino (what once was two is again one) launched a new vowel-hating model: MKRZero. The narrow board is powered by USB or LiPo, centers around an Atmel SAMD21 Cortex-M0+ chip, and sports both an I2C breakout header and a microSD card slot. Just watch those levels as these pins are not 5v tolerant.

The American Association for the Advancement of Science is holding a Scientific Maker Exhibit during its annual meeting. This type of exhibit isn’t a poster or presentation — it’s just some table space and a chance to show off a 3D printed apparatus, a new type of sensor, equipment, or some other physical thing. Details in this PDF. This is actually cooler than it sounds, and a significant departure from the traditional poster or presentation found at every other scientific conference.

Did you know Hackaday has a retro edition made specifically for old computers connected to the Internet? That’s my baby, and it’s time for a refresh. If you have any feature requests you’d like to see, leave a note in the comments.

Hackaday Links: November 13, 2016

The Travelling Hackerbox is going International. I wrote a post on this earlier in the week, and I’m still looking for recipients for the box that are not in the United States. The sign-up form is right here, [the sign up form is now closed] and so far we have good coverage in Canada, Australia, NZ, Northern Europe, and a few in Africa. If you ever want to be part of the Travelling Hackerbox, this is your chance. I’m going to close the sign-up sheet next week. Sign up now.

Like the idea of a travelling hackerbox, but are too impatient? Adafruit now has a box subscription service. Every quarter, an AdaBox will arrive on your doorstep packed to the gills with electronic goodies.

The very recently released NES Classic edition is the 2016 version of the C64 DTV — it’s a Linux system, not as elegant, and there’s little hacking potential. If you want to increase the amount of storage, desolder the Flash chip (part no. S34ML04G200TFI000), and replace it with a larger chip. The NES Classic edition isn’t the coolest retro system coming out — Genesis is back, baby. Brazil has had a love affair with the Genesis/Mega Drive because of their bizarre import restrictions. Now, the manufacturer of the Brazilian Sega clones is releasing a Linux-ified clone. Does anyone know how to export electronics from Brazil?

The CFP deadline for the SoCal Linux Expo is fast approaching. You have until the 15th to get your talks in for SCALE.

Let’s talk about dissolvable 3D printer support material. One of the first materials able to be printed and removed by dissolving in water was PVA. Makerbot sold it for use in their dual extruder machines. PVA does dissolve, but it degrades at higher temperatures and kills nozzles. HIPS can be dissolved with limonene, but it’s really only for use in conjunction with ABS. This week, E3D released their Scaffold support material. It’s a PVA/Polyvinyl alcohol filament — ‘the stuff gel caps are made out of’ was the line we got when E3D previewed Scaffold at MRRF last March. It’s a support material that’s water dissolvable, compatible with most filaments, and is able to produce some amazing prints. It’s available now, but it is a bit pricey at £45 for half a kilo. Brexit is a good thing if you’re paid in dollars.

If you’re into chiptunes, you’ve heard about Little Sound DJ. LSDJ is a cart/ROM capable of toggling all the registers on the Game Boy sound chip, sequencing bleeps and bloops, and generally being awesome. The recently released Nanoloop Mono is not Game Boy software. It’s a few op-amps and a PIC micro pasted on a board that turns the Game Boy into a synth. You get a significantly more 80s sound with the Nanoloop Mono over LSDJ, audio input, and a step sequencer.

Hacklet 119 – Retrogaming Console Hacks

If you haven’t heard, retrogaming is a thing. 40-somethings are playing the games of their youth alongside millennials who are just discovering these classic games. There are even folks developing new homebrew games for consoles as far back as the Nintendo Entertainment System and the Atari 2600. This week on the Hacklet, we’re highlighting some of the best retrogaming console hardware hacks on Hackaday.io. Note that I did say hardware hacks. The focus this week is on games played on the original hardware. Don’t worry though, I’ll give emulated projects some love in a future Hacklet.

bankerWe start with [danjovic] and Atari 2600 Bankswitch Cartridge. The Atari 2600 is a legendary system. Millions of hackers’ first exposure to gaming came through its one button joystick. To make the unit affordable, Atari used a MOS Technology 6507 processor. Essentially it’s a 6502 in a 28-pin package. This meant several features got nerfed, most notably the address space. The 6507 can only address 8KB of RAM. In the Atari, only 4KB is available to the cartridge. Games got around the 4KB limit by bank switching – write a value to a magic address, and the bank switching logic would swap in a whole different section of cartridge ROM. There were several different bank switching schemes used over the years. [Danjovic] has created his own version of this bank switching logic, using only classic 74 series logic chips.

 

nesmodNext up is [ThunderSqueak] with Top Loader NES composite mod. Toward the end of the NES’s life, Nintendo introduced a cost-reduced version known as the “top loader”. This version had a top loading cartridge and no DRM lock-out chip. Unfortunately it also did away with composite AV ports. The only way to hook this NES to your TV was through the RF modulated output. [ThunderSqueak] and a number of other intrepid hackers have fixed this problem. All it takes is a 2N3906 PNP transistor and a few jellybean parts. The video and audio outputs are pulled from the motherboard before they enter the RF modulator. One nice feature is the clean connectors. [ThunderSqueak] used connectors from modular in-wall AV boxes for a setup that looks as good as it works.

segaNext we have [makestuff] with USB MegaDrive DevKit. Sega’s MegaDrive, or Genesis as it was known here in the USA, was a groundbreaking console. It used a Motorola 68000 16-bit CPU while most other systems were still running a Z80 or a 6502. People loved this console, and there are plenty who still want to develop software for it. Enter [makestuff] with his development kit. On a card with a $40 USD bill of materials, he’s managed to fit SDRAM, an FPGA, and a USB interface. This is everything you need to load and debug software on an unmodified console. The FPGA had enough logic left over that [makestuff] was able to implement a continuous bus cycle tracer over USB. Nice work!

robbbFinally, we have our own [Joshua Vasquez] with R.O.B. 2.0. The original NES came in a deluxe version with a special pack in – a robot. Robotic Operating Buddy, or ROB for short, would play games with the player. Unfortunately ROB was a bit of a flop. It only worked with two games, Gyromite and Stack-Up Ice Climber. Most ROB units eventually found their way to the recycling bin. [Joshua] is building a new version of the ROB, with modern controls. He’s already modeled and 3D printed ROB’s head. I can’t wait to see this project come together!

If you want to see more retrogaming goodness, check out our new retrogaming hardware hacks list. See a project I might have missed? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

3 Billion Devices And A Sega Genesis Run Java

A few years ago, [Mike]’s friend gave him an old Sega Genesis with the very cool and somewhat rare SegaCD drive attached. The SegaCD gave him an idea – while it’s not easy to burn a cartridge and play homebrew games on a real Genesis console, everyone has a CD burner somewhere. [Mike] began writing his demo and then realized adding Java would be easy on the 68000. The result is Java on three billion devices and a Sega Genesis.

This project is built around Java Grinder a Java byte code compiler that will compile classes, factories, and all the horrible Java design.design.pattern.pattern.patterns() into assembly language. Already, there are a lot of platforms supported by Java Grinder, including the Commodore 64, the TI99, and thanks to some work from [Joe Davisson], the Apple IIgs

With a byte code compiler, an assembler, and an API for the Sega-specific hardware, [Mike] set about building his demo. Since this was a Sega, it needed the ‘SEGA’ sound at the start. [Mike] ended up recording his voice saying ‘JAVA!’ This plays through the Z80 on the Genesis.

The complete demo – viewable in its emulated format below – has everything you would expect from a proper demo. Starfields, dancing sprites, and even a Mandelbrot pattern make it into the three-minute long demo.

Continue reading “3 Billion Devices And A Sega Genesis Run Java”