Fix rendering of 'AN3' trick on Apple IIe#32
Open
dbalsom wants to merge 1 commit intoThorstenBr:masterfrom
Open
Fix rendering of 'AN3' trick on Apple IIe#32dbalsom wants to merge 1 commit intoThorstenBr:masterfrom
dbalsom wants to merge 1 commit intoThorstenBr:masterfrom
Conversation
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.
This PR aims to fix rendering of the 'AN3 trick' used by Prince of Persia and some demos.
By using AN3 without 80 column mode, a one-pixel shift in the graphics output is produced that causes a 90 degree phase shift relative to the color carrier which changes the artifact colors produced on a composite display.
This was used as a quick palette switch effect.
A2DVI was rendering DHGR mode after only checking AN3; we add a check for 80 column mode as well. Then additional logic is used to shift the serializer output by 1 bit in normal hires mode to create the 90 degree phase change.