www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/07/13:48:54

From: pochanay AT cae DOT wisc DOT edu
Subject: How do I ...?
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Sun, 7 Aug 94 10:54:21 CDT
Mailer: Elm [revision: 70.85]

    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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019