tag:blogger.com,1999:blog-7755641667389283453.post1253482023767586620..comments2021-04-26T19:32:39.996-04:00Comments on DIY: Gameboy Cartridge Programming: Yet Another Update PostVaatihttp://www.blogger.com/profile/09778085583048745246noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-7755641667389283453.post-86875405683445950952011-03-16T09:38:40.866-04:002011-03-16T09:38:40.866-04:00Thanks a million for the link to the gb cart conne...Thanks a million for the link to the gb cart connector! I'll have to buy a few of those...<br /><br />Actually, since I'm not doing the actual data transfer to the PC yet, my numbers for speed are definitely off -- I can, however, read 1MB/s (im only pausing for 1 microsecond; but I can decrease that even further to only 800 ns if I wanted) but I can get it to read GBC games in 1 second. Since PC transfer rates are also sort of slow, I might just have it do USB communication, since someone wrote a program to do that, WITHOUT having to use a FTDI chip.<br /><br />Thanks again for the link, and it sounds like you're making some awesome progress on your ROM reader.Vaatihttps://www.blogger.com/profile/09778085583048745246noreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-83524814256988935312011-03-16T05:54:57.542-04:002011-03-16T05:54:57.542-04:00I've now increased my serial bit rate to 11520...I've now increased my serial bit rate to 115200 and am delaying 5 microseconds and it takes 1:35 for the 128KB, I think I've reached the fastest it could go.Alexhttp://www.insidegadgets.comnoreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-80331827801797196012011-03-16T05:06:52.602-04:002011-03-16T05:06:52.602-04:00Yes doing the same thing like you, except I just w...Yes doing the same thing like you, except I just wait 1 millisecond instead of 1 microsecond. I should probably look into delaying less time but the Arduino is running at only 16MHz.<br /><br />I just tested dumping the entire ROM (128KB) and it took 4 minutes, that's pretty long! I'm guessing you read your 512KB ROM faster than I read my 128KB?<br /><br />Also about the gameboy cartridge connector on that post, I've also looked around but could only find 1 website that had it but you need to order like a large amount like 10K units though they did say you can contact them to confirm an order so maybe you could order like 100 or so: www.4uconnector.com -> Game -> 1.5 Game boy slot<br /><br />You have to create an account to see the price (0.8782 US each) and minimum quantity.Alexhttp://www.insidegadgets.comnoreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-3182120205853457692011-03-15T10:54:15.268-04:002011-03-15T10:54:15.268-04:00Nice!! So are you doing the same sort of thing I ...Nice!! So are you doing the same sort of thing I describe in my post about my rom reader -- address, pause for a microsecond or two, then read? How long does it take for you to read the entire rom?Vaatihttps://www.blogger.com/profile/09778085583048745246noreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-48568631437155886652011-03-15T10:17:32.280-04:002011-03-15T10:17:32.280-04:00Yep it was really great when it worked!
Here'...Yep it was really great when it worked! <br /><br />Here's a picture showing the connection to the Arduino: http://yfrog.com/h3jguwsj - I'm using 2 shift registers (on PCBs - one of my small projects) for the A0-15 addresses with 16 resistors and then just the arduino pins for the D0-D7 addresses plus 2 pull down resistors for the WD/RD pins so I can set them to high when needed.<br /><br />The MBC cartridge I have is MBC2+Battery and yep I did bank swapping by writing to the 2100 address which bank number I wanted and then re-reading 4000-7FFF. The game I used is F1RACE which had 8 banks total.<br /><br />It's exciting when it all comes together to work nicely :D. I'm thinking eventually I might make the python script more robust that it could handle any MBC but that's for later down the track.Alexhttp://www.insidegadgets.comnoreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-66160585231005391672011-03-15T09:07:50.141-04:002011-03-15T09:07:50.141-04:00Awesome! I believe SRAM reading is essentially th...Awesome! I believe SRAM reading is essentially the same... Just address and read.<br />I'd love to see some pictures of your connections between the arduino and the cart. Also, what MBC chip does the cartridge you're reading use? Are you having to do bank swapping or anything like that?Vaatihttps://www.blogger.com/profile/09778085583048745246noreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-89373370437949876692011-03-15T08:52:18.098-04:002011-03-15T08:52:18.098-04:00It's me again :). I actually forgot to check u...It's me again :). I actually forgot to check up on this. <br /><br />I've kept on reviewing the docs I could find and to start off small I have recently managed to dump the ROM of a gameboy game using the Arduino by connecting directly to the gameboy game and sending the data over serial to a python script. (Reading your post, sounds like you did something like this too)<br /><br />I'm going to do a write up on it all so others can learn and then start looking into reading the SRAM which should be easier now that I have some experience.Alexhttp://www.insidegadgets.comnoreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-19335086506643093442010-12-30T10:59:57.984-05:002010-12-30T10:59:57.984-05:00Hi, sorry for the late reply. I've been worki...Hi, sorry for the late reply. I've been working on a number of projects lately...<br /><br />I'm not 100% sure of how you could do that... My first suggestion would be to make the Gameboy Cart flasher I talk about in the older posts; there's a link to it in one of them.<br />The other thing you could do with the arduino is whip up a program that goes through and addresses the SRAM, then reads the data lines and stores it on an SD card or in a debug terminal. I did that with the Parallax Propeller, and it worked out very nicely.<br />As for trying to read it while in the cartridge, I haven't really read enough to fully understand the MBC1, so you should probably just build a cartridge reader/writer.<br /><br />As for NES/SNES development, I plan to get to work on flash cartridges and maybe set up another blog for that.<br /><br />If you have any other questions or comments, email me (there's a "contact me" link at the top of the page) or leave a comment.Vaatihttps://www.blogger.com/profile/09778085583048745246noreply@blogger.comtag:blogger.com,1999:blog-7755641667389283453.post-11135902673183105622010-12-25T09:57:27.662-05:002010-12-25T09:57:27.662-05:00Hi there, happened to stumble upon your blog. Anyt...Hi there, happened to stumble upon your blog. Anything on the NES/SNES would be good :)<br /><br />I'm searching for some information upon how to access the MBC1 in the gameboy rom so I can read the SRAM data but doesn't can't really find simple information or a guide on it :\ (hoping to do it with an Arduino too!)Anonymousnoreply@blogger.com