Latch DEN per cycle in line $30, read the DMA-delay idle byte from $38FF, fix the VICE harness's NTSC names and frame compared - #333
Merged
highbyte merged 1 commit intoSep 16, 2026
Conversation
…8FF, compare the exit frame and accept -ntsc names in the VICE harness
|
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
Idle-state graphics and DMA-delay follow-ups in the sequencer pixel generator, plus two fixes in the VICE test harness.
$D011: cleared at the line's first cycle, set by any cycle of the line whose DEN is on, including the value at line $31's first cycle (a write lands the cycle after it, so a write in line $30's last cycle still counts and one in line $31's first does not). A DEN set in cycle 13, 14 or 15 of line $30 now gives a normal row, a row whose counter reset was missed (the next row shows in its place) or a row shifted by one column, as VICE's dmadelay test3 references show.$38FF. The g-access of the cycle in which a mid-line bad line condition arises reads$38FFrather than$3FFFon the 6569 and 6567R8, per the hardware table in VICE's vsp-tester readme (VICE does not model this itself; the test is written against hardware).-ntscnames. The NTSC builds in the dmadelay suite are named with a hyphen; the harness only knew_ntscand ran them on the PAL machine against NTSC references.Verification
$d011write three cycles later than ours lands; a CIA/CPU timing matter, not this branch's.