PMode Address -> Segment:Offset Address 
Author Message
 PMode Address -> Segment:Offset Address

How do I convert a protected mode address like 000A0000 to a real mode
address like A000:000



Sat, 13 Nov 1999 03:00:00 GMT  
 PMode Address -> Segment:Offset Address



Quote:
>How do I convert a protected mode address like 000A0000 to a real mode
>address like A000:000

There is no concept of "protected mode" and "real mode" in C. If your
platform has these concepts it is up to your platform to define how to
convert between them. It may not be possible for a user program and it
it is the approach may vary from system to system. You need to ask in a
newsgroup relating to your specific platform/compiler.

--
-----------------------------------------


-----------------------------------------



Sat, 13 Nov 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. 32 Bit Flat Address to 16 Bit Segmented Address

2. address vs offset

3. Mapfile in VC 6.0 , Address Offset For DLLs

4. scanf() w/ 2D-array address offsets: HELP!

5. Does anyone knows about segment addresses?

6. how to get stack, data segment and heap address

7. how to get the address of segments in c

8. Segmented addressing in C

9. Questionn on some segment address for DOS

10. Question on some segment address for DOS

11. Q: Address and size of readonly data Segment

12. How to get MAC address from IP Address

 

 
Powered by phpBB® Forum Software