Offline
Puerto Rico

2015 all-new gameboys

Offline
UK, Leicester

what a scary thought

Offline

That’s true you can re –flash the IC many times and it depends upon their cycle and it is close to thousands depends upon the IC and that is good idea to put the IC socket for the safety of IC. If you want to start with ATmega168 then start with the datasheet as it will provide you the complete description of the hardware and the firmware planning.

pcb fabrication

Last edited by wilson77 (Sep 19, 2014 6:32 pm)

Offline
Seattle, WA

Hay folks,
<tl;dr> I have Eagle schematics of the entire DMG-01 ready for everyone along with a complete CPU board layout </tl;dr>
I recently revisited my work on the original DMG schematics and board layouts, and brought it to a point of completion. I’ve sent the Eagle files over to nitro2k01 to host, so they’ll be available for everyone soon. The completed schematic looks like this:

Thus goes the story of my adventure: After consulting with xiwi over the construction of his original Arduinoboy kit, and his introduction of the Teensyboy to me, I thought there had to be a better way to hook up a DMG to a computer. I found Rolf’s work in Eagle, and came up with a plan. I Craigslist’d 2 DMGs, decimated one and scanned the bare board. I then imported the images into Eagle as rasters, compared against GB Dev, and traced. Once I got the CPU’s board completed, I made my initial post here. The Screen’s board was completed shortly after. Aggravated by the second board (I’m not ‘happy’ with whoever designed it), I dropped the project for a while to work on others. I came back recently, content to not recreate the second board to the same standard as the first, and mapped out the auxiliary boards. I packaged up everything I made to this point into two easily digestible Eagle projects and sent them to nitro. I then started work on the next leg of my quest.

But this is where I am now.

The plan is to do something much like what Rolf was attempting with the Arduinoboy, except with the teensy. Specifically, I want to have a board completely replace everything inside the Gameboy except for the screen’s board, without the need for anything but a tri-wing screwdriver, and run.  I want to have the Teensy’s USB accessible from the Link Port’s location, have a Li-ion battery, better power regulation (if such a combination is possible), and a better onboard headphone amp (with jumpers to bypass for prosound). I want to have the unused Teensy IO to be accessible for mods to the Teensy-duino code. And then I want to make it so it gets into the hands of anyone who wants it.

But that is where my quest will end, and not where I am now.

While I’m here, I thought I’d publish my scans of the front PCB.

Back's full size image | Front's full size image

And while I'm at it, here's all my DMG related plots in a single gallery.

Offline
Kansas

Allow me to ask the most obvious question here: What about CPUs? The idea of new boards seems a little bit less exciting if you have to scavenge CPUs from old boards. Has anybody discussed reverse engineering the DMG CPU? The Chinese clones and K1 did it, both with more complex chips. It can't possibly be that impossible.

Also, the next biggest question: If you're going balls-to-the-wall to create the ultimate DMG board, what about an internal flash cart akin to that of the K1? Possibly accessible via the teensy's USB?

Offline
Seattle, WA
loudaslife wrote:

Allow me to ask the most obvious question here: What about CPUs? The idea of new boards seems a little bit less exciting if you have to scavenge CPUs from old boards. Has anybody discussed reverse engineering the DMG CPU? The Chinese clones and K1 did it, both with more complex chips. It can't possibly be that impossible.

Also, the next biggest question: If you're going balls-to-the-wall to create the ultimate DMG board, what about an internal flash cart akin to that of the K1? Possibly accessible via the teensy's USB?

This. Yes. I know. Oh my. Yes.

I haven't found any online chip manufactures that sell the LR35902/8080/Z80/whateveryouwanttocallit CPU. A few claim to be able to fabricate some on demand, but that doesn't look as promising as it sounds. The emulator community has the instruction set well documented if full-crazy is the flavor of choice. But I feel like a 'first things first' approach -- upgrading the power supply and making sure I didn't totally faff up somewhere in the schematic -- seems like a more accessible milestone.
If an objective is to manipulate the DMG-CPU with the Teensy, stuff could get crazy. You could potentially go beyond a simple flash cart, and slave the DMG down to its core. As in, you could transcend LSDJ and have a computer-run tracker do everything except fabricate the actual sound.

But my inner evil genius knows well the taste of hubris.

Offline

bit 9, I must say, first of all, that I’m impressed by your de-soldering skills. You have been able to cleanly remove all the components without any solder falling here or there. This has been an excellent example of hard work.  The 80hours that you have spent on it have been worth it most probably and not only will this help me, this will also help so many other people who were waiting for someone who will do this. Anyways, thank you for your hard work.

pcb cost

Last edited by wilson77 (Apr 15, 2015 8:30 pm)

Offline
Alabama

I *will* throw my voice in here and say that while the Arduino(boy) embedded idea is great, what is even better is the fact that it is possible to have a Teensy 2.0 piggyback on the Arduinoboy's MIDI connections to offer USB MIDI via https://www.pjrc.com/teensy/td_libs_MIDI.html this project AS WELL as DIN MIDI. wink

This would allow you to have ALL the features of the Arduinoboy carry over through USB in one unit while overcoming the shortfalls of the Teensyboy being a slightly incomplete port of the Arduinoboy code (I think it's due to a lack of a certain kind of MIDI library for the Teensy 2.0 iirc).

Offline
Kansas

So, the integrated TeensyBoy is already planned, and if there's enough spare IO I don't see why DIN MIDI couldn't be done (I think it would only require 2 pins). Also, people will inevitably still want a Link Port for syncing with an unmodded gameboy or using a PS/2 adapter for keyboards.

That's 3 connectors (4 if you seperate the MIDI into 2 seperate connectors), and there's only room for 1 in an unmodified DMG shell.

IMO you should just leave unpopulated headers for people to add their own connectors, but that's just me. There's probably a better way.