Mail Archives: djgpp/1999/08/25/18:05:27
It doesn't seem like much else could be wrong, what color is the pixel you
are trying to place is it black or is the whole palette black by anychance?
You may not be setting the screen mode right, I don't think you can use
Allegro if you are. If this doesn't work I think it may be something else
besides your code...
Try:
char * video_ptr = (char *)0xa0000;
__djgpp_nearptr_enable()
video_ptr += __djgpp_conventional_base();
__dpmi_regs regs;
regs.x.ax = 0x13;
__dpmi_int(0x10; ®s);
video_ptr[0] = 1;
video_ptr[[63999] = 1;
__djgpp_nearptr_disable();
from ((--Dan Gold--))
- Raw text -