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.
Last edited by Combuster on Mon Oct 10, 2011 1:47 am, edited 1 time in total.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
0x3D5 wrote:I am trying to switch to real mode to call the INT 0x10
Switching to real mode requires a lot more than simply changing a bit in CR0. (and your code does not modify CR0). You need to restore the entire real mode environment that the BIOS expects. You need to reverse all the operations that you performed to go from real mode to protected mode.
If a trainstation is where trains stop, what is a workstation ?