IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

32-bit Pointers

, FAR pointers


acumentech
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 30
Joined: 17-October 05
From: India
Member No.: 13,042



Post #1 post 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
Go to the top of the page
+Quote Post
dexter
no avatar
Advanced Member
*******
Group: Members
Posts: 142
Joined: 24-December 04
From: Queensland, Australia
Member No.: 2,902



Post #2 post Oct 25 2005, 07:41 AM
Er, upgrade your compiler?
Go to the top of the page
+Quote Post
kvkv
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 40
Joined: 29-January 06
Member No.: 17,841



Post #3 post 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).

Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   2 dark 458 27th October 2004 - 04:40 PM
Last post by: dark
No New Posts   11 Red Pheonix 2,035 25th May 2005 - 01:17 AM
Last post by: DanManIt
No New Posts   6 Tseng 428 24th September 2005 - 02:19 AM
Last post by: jae-unit
No New Posts   9 hippiman 515 21st October 2008 - 01:01 PM
Last post by: kuberan_swe


 



RSS Open Discussion Time is now: 8th January 2009 - 01:15 PM