Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GBStudio game stuck on white screen #320

Open
evanjmcafee opened this issue Apr 7, 2024 · 10 comments
Open

GBStudio game stuck on white screen #320

evanjmcafee opened this issue Apr 7, 2024 · 10 comments

Comments

@evanjmcafee
Copy link

evanjmcafee commented Apr 7, 2024

Hello. I am trying to load a ROM file from GB studio that I have verified to work, and I get a white screen. I tested an old Tetris rom and it worked fine.

@evanjmcafee evanjmcafee changed the title GBStudio GBStudio Apr 7, 2024
@Baekalfen
Copy link
Owner

Thank you for reporting. I didn't know of GB Studio. There might be some incompatibility that PyBoy needs to look at.

@Baekalfen Baekalfen changed the title GBStudio GBStudio game stuck on white screen Apr 8, 2024
@Baekalfen
Copy link
Owner

Can you determine if this happens for any game produced by GBStudio, or does something specific trigger this?

@Baekalfen Baekalfen removed the bug label Apr 8, 2024
@evanjmcafee
Copy link
Author

evanjmcafee commented Apr 8, 2024

It appears to happen when I try to address 0xFF56, 0xFF01, 0xFF02. These are the GBC IR and the link cable's addresses. It appears to be out of bounds for reading. I need address these.

@evanjmcafee
Copy link
Author

It needs to be able to read those values anyway, not freezing the game.

@Baekalfen
Copy link
Owner

It needs to be able to read those values anyway, not freezing the game.

I haven't looked yet, but my bet is that it's not PyBoy freezing, it's the game that locks up, until it gets the value it expects. But since neither IR nor serial is implemented, it'll wait forever.

@evanjmcafee
Copy link
Author

My investigation shows that you are in all likelihood right. I my need to implement a way to send those values

@daivikbhatia
Copy link

daivikbhatia commented Jun 20, 2024

Hi, I would like to take this up as my first issue

@Baekalfen
Copy link
Owner

Hi, I would like to take this up as my first issue

Should good. My suspicion is that it might have something to do with general-purpose DMA https://gbdev.io/pandocs/CGB_Registers.html

Maybe it's best if you join Discord. We can better help you from there

@daivikbhatia
Copy link

@evanjmcafee I tried a bunch of GB studio ROMs and all of them are working fine. So the issue is surely related to ROMs using IR or Serial addresses and not specific to GB studio. Can you share the ROM you are trying to run if it's available on itch?

@Baekalfen
Copy link
Owner

@evanjmcafee I tried a bunch of GB studio ROMs and all of them are working fine. So the issue is surely related to ROMs using IR or Serial addresses and not specific to GB studio.

Thank you! This is great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants