Mail Archives: djgpp/1997/08/09/21:53:17
Hello,
which is the fastest way to access video memory in DJGPP?
I have tried these two ways:
1.
void set_video_mode(int mode)
{
union REGS regs;
regs.x.ax = mode;
int86(0x10, ®s, ®s);
}
2.
void set_video_mode(int mode)
{
__dpmi_regs regs;
regs.x.ax = mode;
__dpmi_int(0x10, ®s);
}
Which of these two is the fastest way to access video memory, or is there a
faster way? Please e-mail me if you have any idea (or comments!).
thanx,
// Jakob
--
========================================
E-mail: jan-erik DOT henriksson AT mailbox DOT swipnet DOT se
- Raw text -