Document the C64 emulation's accuracy and known limitations, and let the VICE testbench run with the legacy pixel generator - #355
Merged
highbyte merged 1 commit intoSep 25, 2026
Conversation
…the VICE testbench run with the legacy pixel generator
|
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.



A new documentation page, C64 emulation accuracy and known limitations (
docs/systems/c64/accuracy.md, in the navigation under the C64 system after Libraries, and linked from the overview). It is for readers who want to know, at the level of individual cycles, how close the emulation is to the real machine and where it stops. Each point names the VICE test programs that show it, so a reader can check it themselves.What the page covers
ANE/LXAmagic constant; undriven 6510 port bits that hold their value without fading;JAM.loadth,flipos, and a timer-A interrupt disabled in the cycle its output goes active.irqdma/test5–7b,cputiming), andackraster, which depends on where it starts in the KERNAL timer's period.Testbench harness
A new
--pixel-generator sequencer|legacyoption (documented in the development guide) runs the VICE programs with the legacy pixel generator. The page's statement about the legacy generator is based on a run with it: 126 of the 274 VIC-II programs pass with it against 226 with the default generator, and no program passes only with the legacy one. The suites named on the page are the ones where the difference lies.Checks
mkdocs build --strictpasses, with every link and anchor on the new page resolving. The only code change is the harness option; the harness builds with no warnings. The claims about opcode coverage per profile, the TOD and SDR registers, and how background collisions are computed with the legacy generator were each checked against the code.