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.
This PR implements some improvements on the MC6847 video chip:
fetchpos
with the actual position on the horizontal line. Knowing the horizontal position is useful in my system to emulate the glitch that occurs when there is memory contention between CPU and VDG (the result is something we call "snow" effect).I also have another improvement that I did not commit because I haven't seen it in any other of you video chips. It's the ability to callback a function at the end of the video frame for updating the video. If find it very convenient to update the screen by that method. Tell me if you like the idea.
By the way, I'm using your MC6847 (and your Z80 as well) to emulate a Video Technology Laser 310 computer (aka Dick Smith VZ300). You can run it online here. It's the 4th system that I emulate with your "chips" 😄
(P.S. I know you're busy with other projects so I don't expect you to review this PR anytime soon, that's ok.)