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

Make RRB even more amazing #747

Open
gardners opened this issue Nov 11, 2023 · 2 comments
Open

Make RRB even more amazing #747

gardners opened this issue Nov 11, 2023 · 2 comments
Assignees
Labels
enhancement A feature request or other kind of enhancement.

Comments

@gardners
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Updating RRB lists when you have lots of sprites is a lot of work, and also means you have to dedicate a lot of screen RAM and colour RAM to allow for the longest line, or you have to move stuff around all the time with variable length screen lines.

Describe the solution you'd like
Add an RRB token that means "switch to list mode". In this mode, the RRB renderer would treat following tokens as RRB list addresses instead of RRB glyph tokens. A special End-of-List token would be required in the lists. When such a token is encountered, the RRB renderer will advance the address in the original RRB screen line (that we recall is now being used as a list of RRB lines in this mode). If that token is not an End-of-RRB-Lists token, then it will proceed to render the indicated RRB data. If RRB cycles are exhausted, then it will of course stop, as normal.

The RRB list address tokens should also include the initial X position, Y offset and Y mask information, so that pixies can be drawn as required, without having to change the RRB data as they are scrolled vertically or horizontally.

Describe alternatives you've considered
Clearing my backlog of household chores instead.

Additional context
This concept is designed to not break backwards compatibility, or require the use of any more VIC-IV registers, as we have pretty much filled up the entire register address space.

@gardners gardners added the enhancement A feature request or other kind of enhancement. label Nov 11, 2023
@gardners gardners self-assigned this Nov 11, 2023
@gardners
Copy link
Contributor Author

It makes sense to also include an option for relative GOTOX as part of this, so that pixies in separate lists can also have multiple layers of rendering.

@deathybrs
Copy link

At Paul's suggestion, I am adding to this the idea of having GOTOX have both a relative and absolute value for the XPOS, as this would allow for single layer moves at the beginning of the line, but then the rest could be static, allowing us to do a LOT less updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request or other kind of enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants