Mail Archives: djgpp/1996/07/09/22:31:39
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
============================================
- Raw text -