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.
PR: Add Dynamic Colour Support and Screen Drawing Enhancements
closes #22
Summary:
This PR introduces dynamic colour handling for the 16-colour palette, adds a
display_character
function for flexibility, and updates the screen drawing logic to ensure compatibility with various colour modes. Additionally, the changes enhance the screen buffer visualisation and streamline character and line drawing.Changes Made:
colour_index
values and RGB colours from palettes.parse_colour_mode
to initialise the appropriate palette based on the mode.example_setup_data
to set up a 16-colour mode.colour_index
for unsupported modes.