| | Here I enjoy using trap17, 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.com thanks |
|
|
Er, upgrade your compiler?
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). |
|
![]() 32-bit Pointers - FAR pointers |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|