mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[PR #340] [MERGED] [NSpire Simulator] Fix framebuffer in nspire port #370
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#370
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/UpsilonNumworks/Upsilon/pull/340
Author: @Luminoso-256
Created: 9/15/2023
Status: ✅ Merged
Merged: 9/15/2023
Merged by: @Yaya-Cout
Base:
upsilon-dev← Head:fix-nspire-port📝 Commits (2)
be464ccFix the nspire port (ergo: framebuffer functions, shift/ctrl don't corrupt things due to weird draw calls)6c8c87ecleanup the k_csdk changes📊 Changes
6 files changed (+16 additions, -54 deletions)
View changed files
📝
ion/src/simulator/nspire/display.cpp(+4 -19)📝
ion/src/simulator/nspire/k_csdk.c(+2 -1)📝
ion/src/simulator/nspire/keyboard.cpp(+3 -0)📝
ion/src/simulator/nspire/main.cpp(+1 -30)📝
ion/src/simulator/nspire/main.h(+0 -2)📝
ion/src/simulator/nspire/power.cpp(+6 -2)📄 Description
Resolves the issue brought up in UpsilonNumworks/Upsilon#339 (and therefore closes #339 )
The issue ultimately boils down to incorrectly handling the fact that some calculators use a different framebuffer implementation under the hood that is not compatible with the assumptions that were being made.
Also makes the framebuffer copy more efficient - direct passing of the buffer via
lcd_blitinstead of the loop-through-and-draw-1x1-rectangles algorithm being used before.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.