if i try to emulate my os in vmware workstation i get weird missing text:
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:
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
did anyone come across this problem ?
btw im using vesa video modes
Emulation problem ?
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Emulation problem ?
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.
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.
-
- Posts: 13
- Joined: Tue Apr 18, 2017 6:02 pm
Re: Emulation problem ?
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
thanks for the reply anyways