-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Document the CGB OAM vs BG priority #443
Comments
It is documented under the OBJ priority section (the green box). Is the location not appropriate? Regardless, the test ROM would be appreciated! |
The location is nice (even though I'm not a UX person at all), I read this section when searching for documentation. On the CGB the there are 3 different places where this priority is declared (this section refers to only 1 of them):
You can read more about in the readme of my test rom (I didn't want to copy paste it all here) The bottom line is that as far as I understand the relations and priorities between all those flags is not described at the Pandocs and I wanted to add an explanation for this (not sure where though). Regardless of this you are free to use my test rom - https://github.com/alloncm/MagenTests (or tell me how to integrate it to this project myself). |
Okay, I think I see what you mean. I believe this is described by #379: pandocs/src/Rendering_Internals.md Lines 252 to 258 in bbdc0ef
Is that suitable? |
This is kind of what I meant but I have a few comments on this
Anyway I do believe this info is important for a correct use of the CGB PPU and could be added even before this PR is merged (which could take some time as I understand). BTW I can't wait for this awesome PR to be merged already (it could have really helped me with my emulator). |
I confirmed the test ROM yields the same results on BGB than on my CGB-B and AGB. I'd put the interaction between all of these priorities either in a dedicated "overview" page, or next to the CGB-only BG attributes (since there is only a single source of priority on DMG, hence this problem does not apply there). |
Co-authored-by: Eldred Habert <[email protected]> Closes #443
Hi,
when adding support for CGB to my GameBoy emulator, I noticed in the development of the new PPU that in the CGB mode the priority between the background layer and the sprites layer is not documented well and I couldn't figure out exactly the correct behavior and besides cgb-acid2 which really helped me there were no resources (at least that I found) so I decided to try and test it myself.
I wrote a test rom for this and documented the expected behavior in the readme of the project but I thought maybe it will better to upstream this to the Pandocs as well.
Wanted to verify that this indeed is a requested feature before I actually add this and open a PR.
Thanks
The text was updated successfully, but these errors were encountered: