Mano wrote:Well, I was looking for an easy way to change the video mode. On wiki there's a list of possible ways of doing it, and it's in order of dificulty. Because I'm using GRUB, interrupts won't do. So I decided to search how to patch Grub, and I've found a pre-built patched GRUB on this topic.
I downloaded the stage2_eltorito, replaced it, and changed my menu.lst file. All I did was actually to add a line after the kernel command:
Where XXX is the hex value related to the mode you want. To find out which value to put, I just pressed C to enter grub's command line, and typed the command:Code: Select all
vbeset XXX
It worked for me at least. Anyway, I don't think this is really useful. I still think it's better to study and try to code my own vga driver.Code: Select all
vbeprobe
Right. So now it says "Blackcomb ... lala" and "0x118: Direct colour, 1024x768x24". So I assume I did everything correctly? But when I get into my OS, it's still the console screen.