OS graphics help
Posted: Mon Aug 27, 2018 1:22 pm
I am writing a simple OS in C and would like the function early on in development to display graphics.
I am fairly new to OS development but understand quite a bit.
I currently have a text mode OS with a kernel being booted by GRUB2.
The resolution is very low at the moment and not suitable for my needs.
How do I make it display at 1280x720 (probably from GRUB)?
And how do I set each pixel on the screen?
I have read other forum posts and been unable to get anything to work, so help would be appreciated.
My grub.cfg has the bare minimum of just a menuentry and the multiboot command linking to my kernel.
And before people comment saying not to make a GUI first and do other things like a network stack, or program loading, my OS is being designed for a specific purpose, no as a general use OS.
I am fairly new to OS development but understand quite a bit.
I currently have a text mode OS with a kernel being booted by GRUB2.
The resolution is very low at the moment and not suitable for my needs.
How do I make it display at 1280x720 (probably from GRUB)?
And how do I set each pixel on the screen?
I have read other forum posts and been unable to get anything to work, so help would be appreciated.
My grub.cfg has the bare minimum of just a menuentry and the multiboot command linking to my kernel.
And before people comment saying not to make a GUI first and do other things like a network stack, or program loading, my OS is being designed for a specific purpose, no as a general use OS.