Mail Archives: djgpp/1997/04/12/12:28:18
Ok, so I'm a newbie to the newgroup (I found it today) so I don't know what
the main topics are. I've visited www.delorie.com (and used the links) but
I'm having trouble with a _tiny_ problem, maybe I'm just blind :).
If I can't use MK_FP, FP_SEG or FP_OFF, how do I do the following:
union REGS r;
struct SREGS s;
s.es=FP_SEG(VESA_mode_info_ptr);
r.x.di=FP_OFF(VESA_mode_info_ptr);
to change the data degment reference and get the VESA mode information put
in my VESA_mode_info structs?
This is bugging me because my libs work fine in Borland C but it's tricky
(if not difficult) to port them to DJGPP.
Thanx in advance.
+----------------------------------------+
| David Orme \/\ |
| Phreadd AT powerup DOT com DOT au /\/ |
+----------------------------------------+
| "Striving for Excellence" |
+----------------------------------------+
- Raw text -