2

I just finished writing a small boot loader and kernel that switches into protected mode and sets up a basic physical and virtual memory manager:

Currently, I'm displaying text onto the screen by writing to the video address 0xB8000 in memory. However, I would like to increase the TTY resolution, the way GRUB does (through, I think, the GRUB_GFXMODE flag).

How do I increase the screen resolution in protected mode?

I've tried looking into the GRUB source code (regarding the parts that concern VBE and vbeinfo); however, I don't understand how it's actually working. Is there any guide online for how to do this? (My search on OSDev.org didn't yield much, but it's possible I missed it.)

Community
  • 1
  • 1
user541686
  • 205,094
  • 128
  • 528
  • 886
  • 1
    Possible duplicate of [MS-DOS - Is it possible to program 24 bit graphics?](http://stackoverflow.com/questions/19460508/ms-dos-is-it-possible-to-program-24-bit-graphics) – Paul Sweatte Jun 20 '16 at 17:35

0 Answers0