Compiler option for FLAT address compilation of pointers

Newbie Member
21Nov2007,10:48   #1
tumstech's Avatar
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 baseffset.
Ambitious contributor
21Nov2007,13:45   #2
Salem's Avatar
http://www.daniweb.com/forums/thread97728.html