Mail Archives: djgpp/1996/08/17/18:37:13
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 when I try to do something like: char far *vid_mem=(char *)MK_FP( 0xA000, 0);
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 memory. A friend of mine who uses linix uses a function called, ioctl ( I think or something like that) but when I tried to use that I found that I did not have the file ioctl.h, if this is somewhere to be found I would appreaciate anyone who could tell me. Or if you have another way to create a far pointer to memory. After this point I have no trouble going into video modes, or anything else...I thank you for a responce
Richard Schelin
- Raw text -