OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 12:06 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Emulation problem ?
PostPosted: Fri Jun 23, 2017 7:41 pm 
Offline

Joined: Tue Apr 18, 2017 6:02 pm
Posts: 13
if i try to emulate my os in vmware workstation i get weird missing text:

Image

only the text from the 512 byte bootloader is displayed

but if i try to emulate the same thing on virtual box then it works:

Image

i then noticed that the vmware one does not work at all (it tripple faults if i try to continue )
but virtualBox will work and display my test program

Image

did anyone come across this problem ?

btw im using vesa video modes


Top
 Profile  
 
 Post subject: Re: Emulation problem ?
PostPosted: Fri Jun 23, 2017 8:45 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
We can't just guess what your problem is if you give so little detail. However, in my personal experience, VMware has no issues with VESA or the BIOS in general.

What does your 512 byte boot sector do? How are you printing the text after the boot sector? Are you using the BIOS for that, too? If not, my first guess would be you don't correctly set the attributes, and you're just lucky that VirtualBox does it for you.

As for crashing when trying to set a VESA mode, nobody can guess what your problem is without more detail.

_________________
You know your OS is advanced when you stop using the Intel programming guide as a reference.


Top
 Profile  
 
 Post subject: Re: Emulation problem ?
PostPosted: Mon Jun 26, 2017 12:41 pm 
Offline

Joined: Tue Apr 18, 2017 6:02 pm
Posts: 13
so i looked into my code and where i put my page table into memory and i found out that it is in the bios area and writing there is bad but virtualbox doesnt seem to care.

thanks for the reply anyways


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