Xref: news2.mv.net comp.os.msdos.djgpp:5795 From: elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help to get start with Djgpp V.2.0 Date: 9 Jul 1996 18:53:25 GMT Organization: Davis Community Network - Davis, California, USA Lines: 19 Message-ID: <4ru9r5$6je@mark.ucdavis.edu> References: <4r9thf$29u AT clark DOT zippo DOT com> <4rfhf6$3b5 AT news6 DOT erols DOT com> NNTP-Posting-Host: wheel.dcn.davis.ca.us To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp F.G. (arcanix AT pop DOT erols DOT com) wrote: : P.F. wrote: : >I am a novice in Djgpp, I tried to convert my Borland C++ program to it. Most : >of the stuff was converted clean. But in protected mode, there's no such thing : >as MK_FP function(I didn't have it), then how do I build a pointer from : >two short integer? : address = Segment * 16 + offset; : Why do you want to? Are you trying to access video memory or someother hardware adapter with memory? If so, remember that protected mode memory is virtual and does not map directly into physical memory addresses. There are a few extra hoops to jump through to get a pointer to a real address. ============================================ Without my guitar, I am a poet without arms. - Michael Bloomfield ============================================