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

Speedup for drawChar() and 'everything' with setAddr() #59

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

bitbank2
Copy link
Contributor

@bitbank2 bitbank2 commented Jun 1, 2020

This PR includes 2 main changes. I simplified and cleaned up the code for drawChar(). Now it's much easier to follow and will be faster on slow CPUs. I also optimized the setAddr() function which is used by everything. It now retains the last x/y info so that it will only use the X or Y (col / page) to avoid extra commands/data being transmitted.

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.

2 participants