The SEGA Genesis (aka Mega Drive) was launched at the tail end of the 1980s, bringing a new level of performance to the console world. At the time, 2D graphics ruled the roost, outside a few niche titles here and there. Decades later however, the demoscene continues to work in earnest. The Red Eyes demo is a great example of what can be done when pushing the Genesis hardware to the limits.
The demo features full motion video and an impressive 3D sequence. It’s quite a feat to pull this off with the limited resources of the Genesis platform. [Remute], [Kabuto] and [Exocet] have laid their secrets bare in a technical document, describing in explicit detail how it’s all achieved.
There’s plenty of juicy reading material here. There are palette hacks to produce high-quality greyscale images, rendering tips to produce the smooth 3D rendered sequences, as well as optimizations to create the best possible sample playback using the onboard YM2612 sound chip. It’s a tour de force of development, and it’s astounding to look behind the curtain to see just what can be achieved.
If you’re thinking about tinkering with the Genesis yourself, you might find it useful to have a dev kit on your bench. Video after the break.
Continue reading “Full Motion Video And 3D Graphics Make This Genesis Demo Pop”
The Sega Genesis, or Mega Drive as it was known outside North America, was a popular console for the simple fact that Sega did what Nintendidn’t. Anachronistic marketing jokes aside, it brought fast scrolling 16-bit games to a home console platform and won many fans over the years. You may find yourself wanting to interface with the old controller hardware, and in that case, [Jon Thysell] is here to help.
[Jon] has done the work required to understand the Sega controller interface, and has shared his work on Github. The interface is an interesting one, and varies depending on the exact console and controller hardware used. The original Master System, with its D-pad and two buttons, simply uses six pins for the six switches on the controller. The 3-button Genesis pad gets a little more advanced, before things get further complicated with the state-machine-esque 6-button pad setup.
[Jon] helpfully breaks down the various interfaces, and makes it possible to interface them with Arduinos relatively easily. Sharing such work allows others to stand on the shoulders of giants and build their own projects. This nets us work such as [Danilo]’s wireless Genesis controller build. By combining the knowledge of the Sega protocol with a few off-the-shelf Arduinos and Bluetooth parts, it makes whipping up a wireless controller easy.
In this day and age, most console controllers can be readily interfaced with a PC with a variety of simple solutions – usually USB. You might feel like trying something harder though, for instance interfacing modern Nintendo controllers to a C64. Video after the break.
Continue reading “How To Interface Sega Controllers, And Make Them Wireless”
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.
During the 80s and 90s it seemed like Japan got all the good stuff when it came to videogames. In the US there were consoles called the NES, the TurboGrafx-16, and the Genesis. While in Japan they had cooler names like: the Famicom, the PC Engine, and the Mega Drive. The latter was incorporated into a plethora of different form factors, including the little known IBM PC/Mega Drive combo known as the Sega Teradrive. Finding a rare Japanese 1990s PC stateside is a feat in and of itself, and thanks to an electronics hobbyist named [Ronnie] there is at least one Teradrive out there still running strong thanks to an upgraded CPU mod.
In theory, the Sega Teradrive was a dream-machine; combining the utility of an IBM PC with the fun of a Sega Mega Drive. The dual functionality extended to the video modes where both VGA and composite video were supported. However, the reality was that the final design was less than desirable. The Teradrive shipped in 1991 with an Intel 80286, 16-bit processor which was already two processor generations behind at the time. The meager 10Mhz clock speed was on the lower end of the performance spectrum which meant that many DOS titles ran poorly…or not at all.
Not satisfied with those specs, [Ronnie] modded his Teradrive with an adapter board containing an Intel 80486 processor clocked at 66Mhz. The upgrade, accompanied with a complete re-cap of the motherboard, brings the IBM PC to 486DX status. This opened up a few new possibilities including the Thundercats Demo in the video below:
Continue reading “Putting The Sega Teradrive Into Overdrive”
Chiptunes are cool, but when you get into it, you realize you’re mostly dealing with Commodore SID tunes, Atari POKEY tracks for the cool kids, bleeps and bloops from a Game Boy, and maybe some NES tracks thrown in for good measure. There’s another option out there – the sound chip in the Sega Genesis. This thing could do drums, man, and [Aidan Lawrence] built the perfect player for the tuneful silicon tucked inside the classic 16-bit console.
[Aidan] had previously built a tiny little music player based on the YM3812 chip, the Yamaha chip found in SoundBlaster and Adlib sound cards. The chip inside the Sega Genesis, the Yamaha YM2612, is a bit different. The killer feature of this chip, PCM waveforms, aren’t stored as simple, small bits of code. These are massive blobs of binary data sent to the chip’s DAC. The SEGGGGAAAA intro of Sonic the Hedgehog, for example, used an eighth of the the cartridge space. You’re not going to build a Sega chiptune player with a tiny little microcontroller and 20kB of RAM.
The solution came in the form of an external SPI RAM device. The 23LC1024 is a full 1 Megabit in size, and since it’s SPI, it’s more than fast enough to keep up with the sample speed. The rest of the circuit including the mixer, preamp and power amp are based on the Genesis’ actual schematics, with an SD card and OLED thrown in for good measure. How does it sound? There’s a great video below the break and yes, the soundtrack from Sonic 3 sounds just as good as it did twenty years ago.
Continue reading “We Got Your Sega Chiptunes Right Here”
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.
If you were a child of the late 1980s or early 1990s, the chances are you’ll be in either the Super Nintendo or the Sega Genesis/Mega Drive camp. Other 16-bit games consoles existed, but these were the ones that mattered! The extra power of the Nintendo’s souped-up 16-bit 6502 derivative or the Sega’s 68000 delivered a gaming experience that, while it might not have been quite what you’d have found in arcades of the day, was at least close enough that you could pretend it was.
The distinctive sound of consoles from that era has gained a significant following in the chiptunes community, with an active scene composing fresh pieces, and creating projects working with them. One such project is [jarek319]’s Sega Genesis native hardware chiptune synthesiser, in which music stored as VGM files on a MicroSD card are parsed by an ATSAMD21G18 processor and sent to a YM2612 and an SN76489 as you’d have found in the original console. The audio output matches the original circuit to replicate the classic sound as closely as possible, and there is even some talk about adding MIDI functionality for this hardware.
The software is provided, though he admits there is still a little way to go on some functions. The MIDI support is not yet present, though he’s prepared to work on it if there was enough interest. You really should hare this in action, there is a video which we’ve placed below the break. Continue reading “Sega Genesis Chiptunes Player Uses Original Chips”