Jump to content
xisto Community
Sign in to follow this  
acumentech

32-bit Pointers FAR pointers

Recommended Posts

Here I enjoy using Xisto, as it help me getting my answers.Can anybody find a some useful materials on FAR,NEAR and HUGE pointers.I wanna access the memory above 640kb in turbo C/C++and mail acumentech@gmail.comthanks

Share this post


Link to post
Share on other sites

I think this is applicable to dos progams. In *nix and windows systems, it doesn't make sense.NEAR pointers are the normal pointers we use which can access upto max of 65,535 bytes using the 16 bit registers.FAR and HUGE ptrs allows us to access memory higher than 65,535 by using two registers (one for offset and other for segment).FAR pts are used in non-normalized mode (like TSR progs) where as HUGE ptrs are normalized (normal progs).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.