How to convert a real mode address to a protected mode address in JNode ?
Submitted by Fabien D on Sat, 12/21/2013 - 11:47.
I have a 32 bits far pointer and I don't know if it's a real mode or protected mode far pointer.
To help me find which kind of pointer it is, I would like to know how to convert a real mode address to a protected mode address.
I know the Address and the GDT classes but I don't know how to get a GDT instance from java code.
Is there any function in JNode for such conversion ? If there is none, how can I do that in JNode ?
Thanks.
Fabien.
- Login to post comments
With a documentation on protected mode ...
... I have a found a way to print the GDT (Global Descriptor Table in JNode.
Now, I should be able to see what kind of 32 bits pointer I have and convert it if needed.
Fabien
my blog : en français, in english or both