OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 2:32 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Bochs BGA VBE, querying window resolution?
PostPosted: Tue Dec 31, 2019 3:15 pm 
Offline
Member
Member

Joined: Wed Jun 27, 2012 3:57 am
Posts: 37
When you run an OS in VirtualBox and install the 'virtualbox tools', the screen resolution can be changed to exactly fitting the window of virtualbox.
Is something similar possible for BGA on QEMU?
I have tried querying the width,height,bpp values before going into a video mode, but it returns 0.
It would be great to be able to resize your QEMU window and have your OS know this and adapt its video mode to it.

Some searching didn't give me an answer and although I have not thoroughly studied the BGA code, I don't see anything specific for it in the vga.h file.

So, is it possible? And how?


Top
 Profile  
 
 Post subject: Re: Bochs BGA VBE, querying window resolution?
PostPosted: Wed Jan 01, 2020 1:05 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
No. Bochs/BGA does not have this feature.

QEMU has a qxl option which can be combined with SPICE to get this functionality, but it's complicated and not well documented.

If you want to support the VirtualBox functionality, we have an article for it.

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Bochs BGA VBE, querying window resolution?
PostPosted: Wed Jan 01, 2020 3:00 am 
Offline
Member
Member

Joined: Wed Jun 27, 2012 3:57 am
Posts: 37
I seem to have missed that one, thanks.


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 117 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