Could somebody give me the ASM code to switch from protected mode to real mode? All the stuff I could find in the internet about doing that makes no sense to me :-/
[glow=green,2,300]Thanks [/glow]
Switching from PMode to Real Mode
Re:Switching from PMode to Real Mode
that is switching back .. (are you sure, you switched from realmode to pmode before?)
mov eax,cr0
or al,0
mov cr0,eax
and ofcourse do some otherstuff (don't know what, I don't have more than 1 mb of gig for nothing ) -- search on the internet
mov eax,cr0
or al,0
mov cr0,eax
and ofcourse do some otherstuff (don't know what, I don't have more than 1 mb of gig for nothing ) -- search on the internet