-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refactor vga driver #688
Refactor vga driver #688
Conversation
Setting a custom font in text mode will copy the font to a static variable in the VGA driver to be able to restore it when going back from graphics to text mode later instead of having to set it again manually. |
We can now write to the VGA buffer at The last commit is breaking the device number given to the VGA font device from #653 necessitating to run |
vga
commandblank
command to blank screen/dev/vga/buffer
to write the VGA buffer/dev/vga/mode
device file to change mode/dev/vga/palette
device file to read or write the color paletteThe
vga
command was obsolete and is now removed. Theblank
command was added as a basic screensaver and to have two different commands using the VGA driver in 320x200 mode to see how to organize the driver.