Video mode from bootloader?
Video mode from bootloader?
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?
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
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
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Video mode from bootloader?
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.
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.