From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough) Newsgroups: comp.os.msdos.djgpp Subject: Re: far pointers Date: Sun, 21 Sep 1997 08:00:18 GMT Organization: The University of Texas at Austin, Austin, Texas Lines: 15 Message-ID: <3424d3b1.11482374@newshost.cc.utexas.edu> References: <1 DOT 5 DOT 4 DOT 16 DOT 19970921094535 DOT 392f7f90 AT giasbga DOT vsnl DOT net DOT in> NNTP-Posting-Host: resnet-47-68.dorm.utexas.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >And one other thing. My friend uses a Watcom compiler and guess how he uses >video mem. > >char *p=(char *)0xA0000; *(p+something)=color. > >thats it. No farptr functions or anything. how does watcom manage this. I >thought maybe watcom was always in nearptr mode, but if so, wont the base >address need to e recalculated or something? I think that Watcom makes the memory under the 1MB mark totally accesible to the program. I'm not sure of the method that is used but it must not wreak havoc with pointers if everybody uses it. Lonnie McCullough lonniem AT cs DOT utexas DOT edu