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

add TextBuffer #452

Open
bingmatv opened this issue Aug 13, 2024 · 1 comment
Open

add TextBuffer #452

bingmatv opened this issue Aug 13, 2024 · 1 comment

Comments

@bingmatv
Copy link

There's FrameBuffer but no TextBuffer.

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 13, 2024

If you boot using BIOS, you can use VGA text mode to directly feed text to the GPU. Bowever in the case of UEFI, GOP (the UEFI replacement for the VGA and VESA device interfaces) only supports setting up framebuffers. Because of this the kernel has to turn text into pixels itself. For consistency the bootloader crate only provides a framebuffer interface, even on BIOS where it could technically provide a text mode interface.

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

No branches or pull requests

2 participants