Skip to content

VIC-IV RRB Wrap-around messes up displays #914

@gardners

Description

@gardners

Test Environment (required)

Any MEGA65 core

Describe the bug

When an RRB line causes the RRB counter to exceed 1023, it wraps back to 0, which can then cause the RRB display to be truncated to the final X position of the RRB counter, causing problems.

To Reproduce

Setup an RRB screen with, say, 140 glyphs per line, and then populate them with characters. 140x8 = 1120 = 1024 + 96. As a result, only the left 96 pixels on each row will be displayed. Or other similar weird effects can happen.

Expected behavior

Whole display should be displayed as normal, and the RRB shouldn't wrap.

Screenshots

Additional context

The only reason I know that might contra-indicate this fix, is if someone is using this effect for positive purposes. When it happens, it generally is just quite confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew report, not classified yet

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions