Mail Archives: djgpp/1996/08/18/20:32:05
RKS1789 AT ritvax DOT isc DOT rit DOT edu wrote:
>
> Hi, I just downloaded djgpp and am trying to take a program written with borland 4.02 and convert it so it will work with djgpp. The only
real problem appears
> Because djgpp does not have MK_FP declared, and I don't know enough about what it does to convert it, I am at a loss on how to create a far
pointer to video me
> ble going into video modes, or anything else...I thank you for a responce
> Richard Schelin
Please read the DJGPP Frequently Asked Questions List (faq201b.zip),
section 10.2, for an answer to this _very_ frequently asked question. :)
It describes why you cannot, in protected mode, simply access any ol'
memory location without using near or far pointers. (Also note that
'far' pointers under protected mode mean something different than far
pointers in 16-bit compilers like Borland.)
John
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W+>++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -