The Sega Mega Drive Dev Kit

segaWhile most homebrew video game development has focused on the original NES, Atari consoles, and has produced a few SNES games, there is another console out there that hasn’t seen much love. Sega’s classic console, the Genesis or Mega Drive, depending on where you’re from, was an extremely capable machine with amazing capabilities for its time. [Chris] figured the Mega Drive would make a good target for an all-in-one development kit, and with a lot of work he managed to put one together.

The standard cartridge for the Genesis or Mega Drive is just a simple ROM chip wired directly into the console’s address space. [Chris] took a cheap FPGA and some dual port ram to create a seamless interface between the modern world and the inside of this ancient console, allowing him to load every Mega Drive game off an SD card, as well as use modern tools to modify old games, or even create new ones.

To demonstrate his dev kit, [Chris] took a copy of Sonic 1, and using the debugger and GDB, gave himself infinite lives. It’s a very cool demonstration, searching through all the commands executed by the Megadrive CPU with the standard Linux debugging tools.Going through the trace, [Chris] found the instruction that decremented that value representing Sonics lives, replaced it with NOPs, in effect giving himself infinite lives. This is a lot like how the Game Genie works, only using much, much better tools.

Of course a USB dev kit wouldn’t be much use if it could only modify existing games. The real power of [Chris]’ work comes from being able to develop your own demos, games, and homebrew apps.

[Chris] needed to write a small homebrew Mega Drive app for the ROM loader portion of his dev kit using SGDK. Disassembling his own code with the dev kit, he was able to take a look at the instructions, and potentially even modify his loader.

It’s a really impressive technical accomplishment, and something that could be a boon to the extremely small homebrew scene for the Mega Drive. All the boards, code, and everything else are available over on [Chris]’ github, with the entire project written up on hackaday.io. Videos below.

Continue reading “The Sega Mega Drive Dev Kit”

Hackaday Links: August 15, 2012

An Octopart for RC equipment

When [Zach] started building a quadcopter he found it very difficult to source the required parts. Thus was born CompareRC, an aggregation of several online RC retailers. There’s over 150,000 parts in the database, all searchable and sortable by lowest price.

Segway iPad Skype teleconferencing robot

It’ll be a while until robots completely eliminate the need for any human interaction, but until then there’s Double. It’s a two-wheeled balancing robot with an iPad dock, controllable via a remote iPad.

Free electronic design

In case you weren’t aware, Fedora has an electronic design distro that includes just about everything needed to build electronic circuits called Fedora Electronic Lab. FEL has PCB designers, circuit simulators, editors for just about everything, and support for PICs, AVRs, and 8051 micros. Thanks for sending this in, [Simon].

Make your own Megadrive ROMs

Last month, [Lee] sent in a build where he connected an Arduino Mega to an old Sega Genesis/Megadrive cartridge. He’s figured out how to read the contents of the cartridge now, allowing you to preserve your 100% complete Sonic & Knuckles / Sonic 3 save for time immemorial.

A surprising amount of graphics tutorials

Khan Academy, every autodidacts best friend, is now teaching computer science. Right now, there is a heavy focus on drawing graphics, and everything is coded in the browser (using Javascript…), but at least it’s a start. The fundamentals of programming are platform and language agnostic, so this looks to be a great way to learn programming.

Here’s a blog post from the lead dev of the Khan CS project.

Hackaday Links: January 24, 2012

Open source engraving

[Scott] wanted to do some v-carving with a CNC router, but couldn’t find software to generate GCode that didn’t cost hundreds of dollars. He ended up doing the sensible thing and wrote his own that will generate tool paths from CXF fonts. We’ll be bookmarking this for when our router project is done.

Improving Genesis sound output

Dissatisfied with the sound output on his Sega Genesis, [Drakon] installed a few mods into his console. How much could it really affect the sound? Listen to the video. The changeover happens at 0:50. Impressive. Now if only the chiptune scene would get into Segas.

Yes, we did, and now we’re seeding

Here’s an alternative to Thingiverse: The Pirate Bay has a new category for 3D-printable objects. The best file so far? A 1970 Chevelle. US Copyright law does not protect (most) physical objects, so it’s not illegal. Honestly, we can’t wait for somebody to take this to the courts; It’s sure to be an interesting case. Somebody upload a ship hull design and give the EFF a buzz.

Just be glad it’s not a QFN

[Mikey] was pulling a PDIP ATMega8 out of a socket with pliers and a screwdriver and broke the RESET pin. Ouch. He fixed it by soldering on a lead from a resistor. We’ve all done this before, but [Mikey]’s results look really good. Here’s the gallery.

This might be fake

If you want a second analog stick for your 3DS, you could wait a month and buy a Circle Pad Pro, or install a PSP analog stick. We’re not sure how this would work – the Circle Pad Pro works over IR, and we’re not seeing an IR transmitter on this build. Here’s the source if anyone wants to give this a shot.

Notacon Call For Papers

notaconbadge

Notacon has just announced their first round of talk selections. The Cleveland, OH area hacker conference will be celebrating its sixth year April 16th-19th. When we attended this year we saw talks that ranged from circuit bending to the infamous TSA bagcam. Self-taught silicon designer [Jeri Ellsworth] presented on FPGA demoing. [Trixter] covered his demo archiving process. You can find a video archive of this year’s talks here.

We’re really looking forward to the conference. [SigFLUP] is already on the schedule to cover Sega Genesis development. Get your talk in soon though; they’re already handing out space to the knitters.

A Console For Retro Games

Like many nerds, we have our share of retro video games and nonworking consoles lying around. Every so often we feel like dragging one out and hoping it works.. Luckily for us, the Super Genintari is available to fulfill our fantasies of beating Ghosts ‘N Goblins. The Super Genintari is an Atari 2600, NES, SNES and Sega Genesis all rolled into one; you can even put in four cartridges at once and hook it up to your television with a simple AV cable.

[via DVICE]