Find VBE mode - The grub way

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Muazzam
Member
Member
Posts: 543
Joined: Mon Jun 16, 2014 5:59 am
Location: Shahpur, Layyah, Pakistan

Find VBE mode - The grub way

Post by Muazzam »

.
Last edited by Muazzam on Fri Aug 15, 2014 10:13 pm, edited 2 times in total.
freecrac
Member
Member
Posts: 69
Joined: Thu Sep 20, 2012 5:11 am
Location: germany hamburg

Re: Find VBE mode - The grub way

Post by freecrac »

Hello and welcome.
In the past i get the modelist and the modespecific information from the bios and i get the EDID from the monitor, but i never used GRUB. So i want to know, if it is also possible to choose a refreschrate controlled mode with GRUB, if we found a vbe3 bios for to use a resolution of 1024x768 with 100hz refreshrate together with a 19" CRT-monitor with 96 khz capacity for example?

Dirk
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Find VBE mode - The grub way

Post by thepowersgang »

@muazzam - Welcome to the community.

I appreciate what you're doing by informing people of this feture (it should probably go on the wiki), but you should know that all this function does is enumerate the modes provided by VBE by calling the relevant BIOS calls (same as an OS would do when selecting a video mode).

The mode numbers listed by this command will usually differ between machines, and shouldn't be hard-coded into a kernel. (They are, howerver, suitable for passing to the linux afaik).
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Post Reply