Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Compiler option for FLAT address compilation of pointers (http://www.go4expert.com/forums/compiler-option-flat-address-t7428/)

tumstech 21Nov2007 10:48

Compiler option for FLAT address compilation of pointers
 
Hi friends, i have a doubt, in most of the 16 bit compiler like MSVC1.5,

all the far pointers are 32 bit address but they are converted to 20 bit

address when accessing data and writing data, how do i tell my compiler

to use the 32 bit address as a flat address and not as (base:segment). i

have a program in which i would like to hardcode the address greater than

1MB, after enabling A20, and ask the compiler to use all the pointers

that i hardcode the address above 1MB to access directly with out

considering it as base:offset.

Salem 21Nov2007 13:45

Re: Compiler option for FLAT address compilation of pointers
 
http://www.daniweb.com/forums/thread97728.html


All times are GMT +5.5. The time now is 15:44.