"unreal" mode - possible protection
Posted: Sat Jul 07, 2001 11:00 pm
I'm currently writing a pmode OS, but I've read
a lot about unreal mode recently and it's peaked
my interest.
I'm guessing that once unreal mode has been
initialized, loading another segment register will
cause it to fail... therefore making it rather
unsecure for a real operating system, but
interesting to play around with. Correct?
This would mean using the BIOS is out, correct?
Would it be possible, however, to define a
segment from 0 - 0xfffffff and one from, say,
0x0001000 - 0xffffffff and switch between them?
Or will _any_ changing of the current segment
cause unreal mode to fault?
Thanks,
j.weeks
a lot about unreal mode recently and it's peaked
my interest.
I'm guessing that once unreal mode has been
initialized, loading another segment register will
cause it to fail... therefore making it rather
unsecure for a real operating system, but
interesting to play around with. Correct?
This would mean using the BIOS is out, correct?
Would it be possible, however, to define a
segment from 0 - 0xfffffff and one from, say,
0x0001000 - 0xffffffff and switch between them?
Or will _any_ changing of the current segment
cause unreal mode to fault?
Thanks,
j.weeks