For Programmers: Free Programming Magazines  


Home > Archive > C > May 2007 > Re: OT: Segmented memory architectures (was Re: ptr1 == ptr2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: OT: Segmented memory architectures (was Re: ptr1 == ptr2
Kenneth Brody

2007-05-30, 6:57 pm

Flash Gordon wrote:
>
> Kenneth Brody wrote, On 29/05/07 17:31:
>
> Ah, but could you use such pointers without using the non-standard
> far/huge keywords? Say with an option on the compiler?


I believe so. You told the compiler the memory model you wanted to
use (there were at least "small", "medium", "compact" and "large")
which determined the type of data and code pointers. (The "medium"
and "compact" models had one type as 16 bits and the other as 32.
I don't recall which was which.) There may have been a flag to set
"huge" as the default.

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap@gmail.com>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com