Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

St7701 cached #35

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

St7701 cached #35

wants to merge 10 commits into from

Conversation

AndrewCapon
Copy link

@AndrewCapon AndrewCapon commented Jan 5, 2025

This adds a new subclass ST7701Cached that uses a small cache in pico ram to drive the underlying ST7701 class.

This allows freeing up lots of lovely pico ram but with some disadvantages:

Due to the reduced memory use the normal Update where the display is updated behind the current scanline is no longer used, so if you run with a single back buffer then you will see some flicker. You can run with two back buffers then you do have the speed of the psram to deal with when keeping them in sync.

Some example code using it: https://github.com/AndrewCapon/presto-cached-examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant