Let the VIC-II see CPU writes to its bank at their own cycle, add Chars Sucks to Download & Run - #335
Merged
highbyte merged 1 commit intoSep 17, 2026
Conversation
… bank ranges' last byte, add Chars Sucks to Download & Run
|
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.



Summary
A byte the CPU rewrites in the middle of a line now reaches the screen from the column after the write, as on hardware, and the demo that needed it joins the Download & Run lists.
< 0x3fffand so on): $0FFF, $1FFF, $3FFF, $7FFF, $BFFF and $FFFF never reached the VIC-II's write inspection, neither for this nor for the sprite and character set change detection. The last byte of a bank is where the idle byte lives.OnAfterInstructionlifecycle hook is unchanged. The C64's two mid-instruction callers (a read held by the chip's bus request, and a write into the chip's bank) go through a C64-onlyIVic2CycleRenderer.CatchUpToVic2(), which the rasterizer implements and the C64 caches when the render provider is selected; the pixel generator interface's method is renamed to match. Providers with no notion of cycles no longer get mid-instruction calls.Verification