Page 1 of 1
Video mode from bootloader?
Posted: Wed Dec 30, 2009 2:05 am
by TheGuy
Blah blah blah, I want to change the graphics mode (I don't care about VBE yet) so that I'm working with pixels. Now I want some help. How should I proceed with doing so? I am loading using grub - but i'm not afraid to write my own boot loader (I have read up -
123). Is there a way to tell grub to load me in real mode? Must I return to real mode (
1)?
Re: Video mode from bootloader?
Posted: Wed Dec 30, 2009 2:48 am
by dak91
You can switch graphic mode with a patched grub (
http://www.smksoftware.co.za/products/vbe-grub/).
I don't know if grub can keep real mode, but I found this ->
http://www.sudleyplace.com/pmtorm.html about switching from protected to real mode
Re: Video mode from bootloader?
Posted: Wed Dec 30, 2009 3:03 am
by Combuster
Vanilla Grub can't put you in graphics mode, you need a patched version to have it set a VBE mode for you. Patched or not, neither can load a
kernel into real mode.
You can however set a graphics mode without using the bios - using the VGA standard. It won't give you high resolutions, but in protected mode it is the easiest way to go. Either way, there are two entries in the
FAQ related to your question. I suggest you start from there.