Search found 8 matches
- Mon Feb 11, 2019 3:01 pm
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
Nope, the same code is being run against both cartridges so my thought was that there is something to do with the different MBCs or maybe that the Game Boy color sent some different signals than the original Game Boy.
- Mon Feb 11, 2019 6:48 am
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
Makes sense!
What I don't understand then is why the Game Boy game switches rom bank just fine, but the Game Boy color game won't change it's rom bank... (I tried to switch to all the available rom banks, but it won't switch from the default one)
Any ideas ?
What I don't understand then is why the Game Boy game switches rom bank just fine, but the Game Boy color game won't change it's rom bank... (I tried to switch to all the available rom banks, but it won't switch from the default one)
Any ideas ?
- Sat Feb 09, 2019 3:37 pm
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
I'm not certain. If I had to guess, I suppose you reversed things twice there. Yep, that was what the error was boiling down to! I got things working now! Wohoo! However, I got two cartridges that I can test, one with a MBC3(GB game) and a MBC5(GBC game) and currently it only works with the GB game...
- Fri Feb 08, 2019 2:29 pm
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
Ah! So I get that I have misunderstood the endian part. However, I don't understand why the reading worked with such a misconception :? (maybe luck with wire and code) So would the rigth thing to do be to do this on step 3 ? (switch A5 with A10) A0=0 A1=0 A2=0 A3=0 A4=0 A5=0 [...] A10=1 A11=0 A12=0 ...
- Fri Feb 08, 2019 6:47 am
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
Thanks for the metaphor, lidnariq! It cleared up the misconception with the data lines from earlier, I think. We will soon find out, I still have problems switching ROM bank. I have reread all the post here a few times, and I am still stuck. So I will try to explain how to switch rom banks successfu...
- Wed Feb 06, 2019 3:10 pm
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
Thank you lidnariq for your in-depth explanation! I think my main point of confusion is how you can write the bank number to address $2000 . The way I understand it(I probably confused some, I'm sorry), I first have to read from address $2000 and then write to that address. So first I drive the addr...
- Mon Feb 04, 2019 12:00 pm
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Re: Switching ROM banks
Thanks for the reply lidnariq :D I am a bit new to doing hardware stuff so sorry for being a little slow. Based on the references you sent it looks like I haven't made any errors regarding the pins (unless the same pin numbers as stated in the first post are needed). 1. I don't think I fully underst...
- Mon Feb 04, 2019 9:33 am
- Forum: GBDev
- Topic: Switching ROM banks
- Replies: 20
- Views: 18461
Switching ROM banks
So, I bought a cartridge slot for the Game Boy. I solder the wires to the cartridge pins and connected the pins to a GPIO board based on the pinout given here http://www.hardwarebook.info/Game_Pak (I didn't solder pin 2, 5, 30 or 31 since based on my understanding I don't need them). I am able to re...