Mail Archives: djgpp/1994/08/07/13:48:54
Two real quick questions:
1) How do I get int86x to work without crashing when passing an
address to an interrupt in real-mode. The one I am having trouble with
is video interrupt 10 function 10 subfunction 12 (all hex) which
is used to set a range of DAC registers.
2) How do I get DJGPP not to pad a structure like this:
struct {
SHORT a;
LONG b;
SHORT c;
}
It seems to throw a two byte pad between a and b -- this is kinda
annoying because a lot of graphics files have structures that are
read that are like this with no padding. (i.e. MicroSoft .BMP)
thanks
- Raw text -