OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:24 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Setting the VBE video modes using GRUB 2
PostPosted: Mon Jul 08, 2019 1:06 am 
Offline
Member
Member

Joined: Sun Apr 21, 2019 7:39 am
Posts: 76
I'm coding a simple toy OS in Assembly and C.

I'm trying to get a VBE video mode set by GRUB 2, but I simply don't know how. The OS is running in 32-bit protected mode, but I'm interested in having a hi-res video mode. The kernel is running above 1 MB sadly, so I can't just switch to real mode and back without copying code into the <1MB mark (which I can't figure out how). I haven't implemented userland yet, so vm86 won't work.

How do I set a VBE video mode using GRUB 2?

_________________
Hey! I'm developing two operating systems:

NanoShell --- A 32-bit operating system whose GUI takes inspiration from Windows 9x and early UNIX desktop managers.
Boron --- A portable SMP operating system taking inspiration from the design of the Windows NT kernel.


Top
 Profile  
 
 Post subject: Re: Setting the VBE video modes using GRUB 2
PostPosted: Mon Jul 08, 2019 1:10 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
You could do worse than use Google, which would give you this link (amongst many):

https://wiki.archlinux.org/index.php/GR ... resolution


Top
 Profile  
 
 Post subject: Re: Setting the VBE video modes using GRUB 2
PostPosted: Mon Jul 08, 2019 1:18 am 
Offline
Member
Member

Joined: Sun Apr 21, 2019 7:39 am
Posts: 76
Thanks, I will try this later today

_________________
Hey! I'm developing two operating systems:

NanoShell --- A 32-bit operating system whose GUI takes inspiration from Windows 9x and early UNIX desktop managers.
Boron --- A portable SMP operating system taking inspiration from the design of the Windows NT kernel.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 78 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group