Mail Archives: djgpp/1997/10/22/23:47:39
I have this program where I am trying to use vesa. Now say that I want to get the vesa
info, what I have been doing is this:
struct VesaInfoBlock {
//the regular vesa info stuff
};
VesaInfoBlock vesainfo;
Later on, I try to get the vesa information like this:
union REGS regs;
struct SREGS sregs;
regs.w.ax = 0x4F02;
regs.w.di = (unsigned short)&vesainfo;
int386x(0x10, ®s, ®s, &sregs);
According to what I read out of the faq this should work, except that I keep getting
SIGSEV errors. Please help me and please hurry.
- Raw text -