Ok, I have made a vow to post to this blog at least once every month. Now that I'm not as busy with school (I have the week of the 18th off for spring break) I will be churning through my projects, starting with my Gameboy projects.
Now then, for the interesting stuff.
As I mentioned in my previous post, I rebuilt my ROM reader with a much better and more recent propeller module that has an on-board FTDI chip for USB communication. Here's some pictures of the ROM reader, revision 3.0:
Above is a picture of the ROM reader, with its 30 or 40 jumper wires.
A close up picture of the module I'm using. I actually got it for free at a Propeller Expo. :D
Here's a close up of the ROM chip. It's a 64Kbyte UV EPROM I got two of them for $3 or so at a big surplus warehouse.
My goal is to get a read speed (including sending the data to the computer) of under 10 seconds for these 64Kbyte chips. Right now I have gotten it down to about 20 seconds by removing unnecessary dummy objects and by removing the transfer of, essentially, another byte for each byte I'm reading. Today I will also look around for some faster communication methods (there's a rather promising looking 5Mbit/sec method that I am really eager to test out) and maybe make another post if I make leaps in technology that could impact the world's perception of UV EPROMs and their viability as storage devices.
Oh, and on a side note -- I found out that there are 3 others who are building GB cartridge readers/writers. Two of them use the arduino, and one of them is basically the exact same one I built last year, except they stole the plans from the two Polish students who copyrighted it. One of the arduino-based flasher is featured on hackaday, and can be found at Inside Gadgets.
--Vaati
Showing posts with label gameboy. Show all posts
Showing posts with label gameboy. Show all posts
Saturday, April 16, 2011
Friday, June 18, 2010
Update
Now that school is finally over and the ACT's are in the past, I can get into the real programming of the Gameboy, which is what this blog is all about.
I found this really awesome program for the computer that is probably the only windows application (not command line crap) for creating gameboy games. It's called Gameboy Assembler Studio, and it can be downloaded right here. Since that site may go down in time, I'll get permission from the site admin to post a zip file of that program on this blog if that ever happens.
Since I have never coded anything in assembly before, I will have to browse around for some good tutorials and post a few links of good tutorials in a few days.
Also, I will be making my own gameboy cartridge reader/writer from scratch, and I'll probably sell it on my main website for $20 to $30 if I can find a low-priced cartridge connector.
I found this really awesome program for the computer that is probably the only windows application (not command line crap) for creating gameboy games. It's called Gameboy Assembler Studio, and it can be downloaded right here. Since that site may go down in time, I'll get permission from the site admin to post a zip file of that program on this blog if that ever happens.
Since I have never coded anything in assembly before, I will have to browse around for some good tutorials and post a few links of good tutorials in a few days.
Also, I will be making my own gameboy cartridge reader/writer from scratch, and I'll probably sell it on my main website for $20 to $30 if I can find a low-priced cartridge connector.
Thursday, January 21, 2010
Update
I haven't posted in a while because I have been so busy working on school and this project. However, I finally got it to work! I got a null-modem adapter from amazon.com and hooked it up to my ancient IBM laptop.
I also got the reprogrammable gameboy cartridge done. I will post the pictures and info on it soon. If you are reading this and want to make a reprogrammable gameboy flash cartridge, then do what I did ONLY if you are quite confident in your soldering skills, you have a 32-pin DIP flash chip (and found a load of guides for using PLCC's or SOIC's and don't know what do you with your through-hole chip) and you have 30+AWG wire or copper strands with a thin laminate coating. :) Otherwise, you will be in for a lot of pain and misery.
For those of you that are true DIY drones such as myself, I can give you a few pointers here and now on how to make a DIY gameboy flash cartridge.
I also got the reprogrammable gameboy cartridge done. I will post the pictures and info on it soon. If you are reading this and want to make a reprogrammable gameboy flash cartridge, then do what I did ONLY if you are quite confident in your soldering skills, you have a 32-pin DIP flash chip (and found a load of guides for using PLCC's or SOIC's and don't know what do you with your through-hole chip) and you have 30+AWG wire or copper strands with a thin laminate coating. :) Otherwise, you will be in for a lot of pain and misery.
For those of you that are true DIY drones such as myself, I can give you a few pointers here and now on how to make a DIY gameboy flash cartridge.
- The first thing for you to do is to print out the image below. This is a schematic of a Gameboy cartridge with the standard MBC1 chip.
- Now you should print out the one page of your datasheet that has the pinouts of both the DIP chip AND the PLCC chip.
- Next, print out the image below as well.
- Now, if you are using a standard dip chip for this, then you probably wouldn't have to print those out if you don't want to, but I suggest that you always have a hard copy of these old development diagrams, because the sites are ticking down to their expiration date. In fact, I am fairly sure that one really excellent site went down just last night. I don't know if it will be put back up, but it is eye-opening.
- If you are using the PLCC chip, then just print out that second diagram and follow that--it will be a LOT easier than what the DIP chip folks will have to do...
- For you who don't want to get a PLCC chip and want to have a DIP socketable flash cart: Now that you have your datasheet and those two diagrams, look at the pin labels of the DIP chip, and compare them to the schematic. They should be identical, except for a few pins.
- What I did was I used tiny little wires and soldered one to each individual SOIC pad. This entire project, including making a board for the DIP chip to go on, took me around 5 hours. However, it should only take you 3-4 hours as you aren't documenting it and experimenting along the way. :)
- (so much for a few short tips...)
- For my wire, I actually got some stuff off of an old CRT monitor I disassembled, and it happened to be the magnetic coil wire. This meant that it had a thin coating of some plastic-ey material, but only the very ends of the wire were bare.
- First you need to remove the original ROM chip in the cartridge. This can be done by either x-acto-kniving it out or by using a desoldering braid and a screwdriver to pry it out. It is essential that you don't remove any of the pads that the chip is on!!
- What I did was I put solder on each of the SOIC pads; as depicted below.
- This is one of the numerous tricky parts: with your spool of wire, soldering iron with a very fine tip, and the victim-to-be cartridge, heat up the solder you just placed on the pad, and insert the wire at a 30 degree angle from the opposite side. This way, the wire is certain to be electrically connected to the pad.
- Don't leave your soldering iron there too long--you might end up moving it and create a blob between two pads, and end up using your solder sucker to get it off.
- Once you got it soldered on there, give the wire a small tug, wiggle it around a bit, and make sure it won't fall out the moment you have it all together. If it passes this test, then cut the wire off of the main spool. Be sure to leave LOTS of slack on your wire--around 2-3 inches in length for each wire will be good.
- Repeat this.... 32 times!!! Mwahahaa.... But seriously--there are 32 pads you need to solder dinky wires to. It is a pain, but it has fairly good results.
- What I did when I made mine was I had all the wires leading to the left, as shown below.
- Then I just repeated the process of putting solder on the pads, heating up the solder, inserting the wire and cutting the wire for the other side.
- Be sure to have the wires for pads 17 through 32 leading off to the left as well. This will make it much easier for you.
- With all your wires leading off to the left side of the cart, now would be a good time to test for continuity, and to put down tape over the battery and/or other chips if you want.
- For this next part, you will need some tweezers or micro pliers. What you are trying to do is to get it so your cartridge looks like this:
- To do this, simply use the tweezers to bend the tiny wires so they go vertical. Try to get the bend as close to the solder pad as possible without accidentally breaking off the wire. I had to re-solder two of my wires when I did this.
- You are almost there! All that's left to do is to decide how you want to go about positioning the flash chip. But while you think about that, you need to hack up the cartridge case.
- If you want to make it so the chip is right where the "Nintendo Gameboy" text is on the cartridge front, then you will need to cut slots with the spacing of your flash chip so it can sit in there. Then you will simply solder the wires on to the corresponding chip leads (except for pin one of your chip, which REQUIRES no connection). You could also socket the chip this way, and I regret not doing my cartridge like that. I actually made a board that sticks out the top of the cartridge and is really wobbly, causes glitches and poor connections, and will be desoldered today!
Now, for an initial test, you should build the gameboy cartridge flasher project I described and BEFORE you follow all those steps, copy the game ROM file to your computer, or just download it off the internet. You still need the cart flasher to program your cart, though.
To program your beta-flash cart, you need to click on the "write FLASH" button in the GB Cart Flahser 1.1 software and select the ROM file you want to load. NOTE--for a first test, just use Metroid II--it is a small file, and supports RAM and battery saving. Once you program it, I suggest using your beta flash cart on a gameboy advance (not advance SP) because the gameboy's cartridge slot is rather limited concerning space. Then, just power it on and see if it works!
If you need help on this project or want info on development/flash carts for the SNES, NES and Gameboy, feel free to comment.
Monday, January 4, 2010
Intro
Hello,
Welcome to my blog page! Just so you know, this is for my own use just as much as yours. For starters, what I am trying to do is to be able to program games or apps to modified Gameboy carts containing a Flash chip.
If you want to do some Gameboy programming, I suggest this site. It's where I got a lot of info and got a guide on what I have built: the Gameboy Cartridge Flasher.
This is my Gameboy Cartridge Flasher. I etched the PCB, ordered the parts I was missing, gutted my broken Gameshark for the connector, and programmed the chip....
IT DOESN'T WORK.
My guess is that the program itself must be bad, or I didn't program it correctly. I don't know if I need to program the ATmega8515 with ALL the parts connected to it, or just the crystal.
I am going to be posting some more once I have more free time, and if you have any feedback, feel free to comment.
-Vaati
Welcome to my blog page! Just so you know, this is for my own use just as much as yours. For starters, what I am trying to do is to be able to program games or apps to modified Gameboy carts containing a Flash chip.
If you want to do some Gameboy programming, I suggest this site. It's where I got a lot of info and got a guide on what I have built: the Gameboy Cartridge Flasher.
IT DOESN'T WORK.
My guess is that the program itself must be bad, or I didn't program it correctly. I don't know if I need to program the ATmega8515 with ALL the parts connected to it, or just the crystal.
I am going to be posting some more once I have more free time, and if you have any feedback, feel free to comment.
-Vaati
Subscribe to:
Posts (Atom)

