From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Djgpp Graphics Programming - far vs near pointer Date: 19 Feb 1997 18:09:10 GMT Organization: Oxford University Lines: 26 Message-ID: <5effk6$s1o@news.ox.ac.uk> References: <01bc1560$d66f66c0$1a4f3181 AT workstation> NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Louis Antoine (lantoine AT ic DOT sunysb DOT edu) wrote: : I am hoping that someone can answer these questions on accessing the video : memory under djgpp. I have read a lot of intro to graphics programming : material for Djgpp and found that all of them basically state that : accessing the memory with near pointers is faster although it disables : memory protection. : QUESTIONS : (1). Will disabling memory protection affect my operating system which is : running in protected mode? ( Windows 95, OS/2, etc. ) : (2). Is there an alternative method to accessing the video memory with the : speed of the near pointer but without disabling memory protection? : (3). Watcom compiler provides a near pointer to the video memory while in : protected mode. Does it disable memory protection as well? If not, is it : possible to use the same methods used by this compiler under Djgpp to : access the video memory? : Thanks To Anyone Who Responds. -- -- George Foot Merton College, Oxford.