Slimelite BBS

Re: Memory problems

Back to EMULATE

From Jules Cardarelli · 1996-04-07 22:32 · #73641 in EMULATE

In reply to Memory problems by Mike Bilow

On 05 Apr 96  09:55:01, Mike Bilow was mumbling to Chris Chandler about Memory p

MB> Chris Chandler wrote in a message to Mike Bilow:
MB> 
MB>  MB> If you want to force an object into its own data segment when
MB>  MB> using either compact or large model on the Borland compiler, then
MB>  MB> declare and define the data object with the "_far" keyword.  If
MB> 
MB>  CC>         Would using the "huge" keyword not do the same thing? 
MB> 
MB> No.  A "far" object is in its own data segment, but only in one data segmen
MB> A "huge" object is effectively in a chain of segments, each one only a sing
MB> paragraph long.  The only use for huge objects is when a single object will
MB> larger than a segment.
MB>  
MB> -- Mike
MB> 
MB> 
MB> --- 
MB>  * Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)

Mike.   I just hafta say,  Man. you've been practicing your C.

=)

--- GEcho 1.00
 * Origin: |15The Dark And Myster|07ious Realm O|08f Darkness (1:2424/1004)