|
|
|
|
![]() ![]() |
![]() ![]() Group: Members
Posts: 30 Joined: 17-October 05 From: India Member No.: 13,042 |
Post
#1
Oct 18 2005, 09:18 PM
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 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 142 Joined: 24-December 04 From: Queensland, Australia Member No.: 2,902 |
|
![]() ![]() ![]() Group: Members
Posts: 40 Joined: 29-January 06 Member No.: 17,841 |
Post
#3
Jan 30 2006, 04:10 AM
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). |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
2 | dark | 458 | 27th October 2004 - 04:40 PM Last post by: dark |
|||
![]() |
11 | Red Pheonix | 2,035 | 25th May 2005 - 01:17 AM Last post by: DanManIt |
|||
![]() |
6 | Tseng | 428 | 24th September 2005 - 02:19 AM Last post by: jae-unit |
|||
![]() |
9 | hippiman | 515 | 21st October 2008 - 01:01 PM Last post by: kuberan_swe |
|||
|
Open Discussion | Time is now: 8th January 2009 - 01:15 PM |