-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
draft: Add GFX:
device and some basic ioctls.
#112
base: develop
Are you sure you want to change the base?
Conversation
I put the ioctls in the SDK crate. See Neotron-Compute/Neotron-SDK#17. |
f701f70
to
d8b5c72
Compare
I cheated on the bitmap display utility, because I bake the raw bitmap into the binary and just send a pointer to it to the GFX: set_framebuffer ioctl. But, I don't have enough RAM to load the I might need to write a new bitmap parser that doesn't have that issue. |
c6d7e89
to
ec2108f
Compare
Or, I need a mechanism to obtain a byte-slice for a thing that's in ROMFS. |
Requires new neotron-sdk. Running an application now also caches and restores the current video mode (incase the app leaves it in a mess), which is done through the VGACONSOLE object so you can't write text to a framebuffer and ruin it.
Only supports a single colour.
Now it fits on one screen.
ec2108f
to
f7ae07a
Compare
Rebased on develop. Updated the |
Supports drawing a single pixel, and clearing the whole screen.
TODO:
neotron_api
crate (or copy them into the neotron_sdk crate and just live with them being defined twice).ioctl
API.