NES: Rainbow - mapper updates to match hardware implementation#162
Open
BrokeStudio wants to merge 7 commits into
Open
NES: Rainbow - mapper updates to match hardware implementation#162BrokeStudio wants to merge 7 commits into
BrokeStudio wants to merge 7 commits into
Conversation
removed from mapper specs
- removed PPU IRQ pending flag from returned value
The counter is already reset when writing to 0x415A (CPU IRQ control) or when it reaches 0.
- 256 bytes page - ext bank every 4 bytes
- added a sprite limit register (0-63) to update a specific amount of sprites to update - Slow OAM Update routine doesn't set $2003 anymore
ea35c7d to
7d5428f
Compare
NovaSquirrel
approved these changes
Jun 3, 2026
NovaSquirrel
left a comment
Collaborator
There was a problem hiding this comment.
Code looks good. I also tried checking it against the mapper documentation and it seems to match what's described there.
I noticed the least significant bit of $4151 is still documented as being an interrupt pending flag; normally I would say that a comment might be nice to indicate that the zero is meaningful (to replace the code that got removed) but if the spec effectively says that it's always zero then the meaning doesn't matter.
Author
|
Good catch, thanks, I fixed the documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OAM Sprite Limit register described here.