Emulation problem ?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
SeeSoftware
Posts: 13
Joined: Tue Apr 18, 2017 6:02 pm

Emulation problem ?

Post by SeeSoftware »

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
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: Emulation problem ?

Post by BrightLight »

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.
SeeSoftware
Posts: 13
Joined: Tue Apr 18, 2017 6:02 pm

Re: Emulation problem ?

Post by SeeSoftware »

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
Post Reply