Hi,
What text mode does GRUB 0.97 use once it has loaded an OS image?
Thanks.
What text mode does GRUB 0.97 use?
What text mode does GRUB 0.97 use?
H Technology Solutions - Business Operating System Specialists
Re: What text mode does GRUB 0.97 use?
If you mean what "resolution" then I guess it would be whatever is default? AFAIK GRUB doesn't explicitely set a mode. 80x25 is what I always assume.
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
- gravaera
- Member
- Posts: 737
- Joined: Tue Jun 02, 2009 4:35 pm
- Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Re: What text mode does GRUB 0.97 use?
Hello,
Actually, it should be fully possible to write a VGA text mode driver that is independent of the current resolution (cols x rows).
You may read the number of rows x cols for the current text mode from the BIOS Data Area, and store them into a variable in your console class. In vga_text_init() or construction, or however you do it, you read the values.
http://pagesperso-orange.fr/pierrelib/h ... _Area.html
--Good luck
gravaera
Actually, it should be fully possible to write a VGA text mode driver that is independent of the current resolution (cols x rows).
You may read the number of rows x cols for the current text mode from the BIOS Data Area, and store them into a variable in your console class. In vga_text_init() or construction, or however you do it, you read the values.
http://pagesperso-orange.fr/pierrelib/h ... _Area.html
--Good luck
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Re: What text mode does GRUB 0.97 use?
Thanks for your replies.
Yes Creature your suspicion is correct; GRUB 0.97 hands over control to a kernel image with an 80x25 text mode set.
Yes Creature your suspicion is correct; GRUB 0.97 hands over control to a kernel image with an 80x25 text mode set.
H Technology Solutions - Business Operating System Specialists