OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Jul 20, 2019 7:34 am

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

Joined: Sun Apr 21, 2019 7:39 am
Posts: 17
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?


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: 3393
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

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


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: No registered users and 3 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