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.
do you just say that or are you 100% sure? the reason being that i am doing that and i dont see how my newly written descriptor is having any effect on my active segment, so im trying to figure out if its because i am not correctly writing to the descriptor or if i have to load the gdt anew...
should i be able to do lgdt once i am in 32-pm? or can i do that only in preparation, i.e. BEFORE switching to pm?
The hidden parts of the segment register are loaded from the gdt when you load the selector into the register (see the Intel manual on mov). You can change the gdt at any time with lgdt (either real mode or protected mode) although the hidden parts of the segment registers will still have their old values.
ive tried to compile bochs under linux w/o success
then i ran bochs under windows, but everytime i specify a floppy image to boot from (one that works perfectly with qemu), i get "couldnt load boot disk error"
bochs hates me
is there anything i can do to read these registers in qemu?
As mentioned in the QEMU Documentation, You can also view the monitor directly inside the SDL display window by using the key combo Ctrl-Alt-2 and then Ctrl-Alt-1 to return.
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
i know that document
i couldnt find anywhere in there that describes how to view the content of cpu registers (especially the hidden ones, as all the others can be printed out at runtime)
the only thing said about debugging is that you can use gdb in your host machine and somehow connect to your vm on qemu
i got it working once or twice but found it pretty complicated and not very useful so i ditched it
nevermind, for some strange reason the bochs god was nice to me yesterday and i was able to compile *yeah