From: wdhwang AT ms4 DOT hinet DOT net () Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP and VGA pointer? Date: 27 May 1998 01:00:14 GMT Organization: DCI HiNet Lines: 26 Message-ID: <6kfoiu$pub@netnews.hinet.net> References: <356b3373 DOT 1308862 AT news DOT carlsbad DOT net> NNTP-Posting-Host: ms4.hinet.net NNTP-Posting-User: wdhwang To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jose Hernandez (hernandez AT carlsbadnm DOT com) wrote: : How can make a pointer to A000:0000 be made in DJGPP? The only : example I've seen that does this uses a macro not included with DJGPP, : MK_FP(). : Thanx for the help. : =-=-=-=-=-=| SIG OF THE DAY |=- : "But in the gross and scope of my opinion : This bodes some strange eruption to our state." : --Shakespeare [Hamlet, Act I, Scene I] : =-=-=-=-=-=| Jose Hernandez |-Sat Apr 18-|=-=-=-=-=-= Because DJGPP is in protected mode, not real mode. So the address "seg:off" may not used. And you can use "seg*16+off", eg, A000:0000 is A0000. And MK_FP(), MK_xx() is not in the DJGPP. -- Sincerely yours Wen-Dwo Hwang ================================== Wen-Dwo Hwang E-mail : wdhwang AT ms4 DOT hinet DOT net wdhwang AT csie DOT nctu DOT edu DOT tw ==================================