www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/13/02:18:11

From: "Pawel Piszczalkowski" <ppiszc AT polbox DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: problem with int86x
Date: 11 Jun 1997 16:30:39 GMT
Organization: Technical Univeristy of Wroclaw
Lines: 30
Message-ID: <01bc7683$97974d80$a71a119c@EIDS.ds.pwr.wroc.pl>
NNTP-Posting-Host: eids.t15.ds.pwr.wroc.pl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp



I have to load new RGB palette(in VESA mode). In real mode it is like this:

{
  unsigned char rgb[256];
  union REGS in_regs,out_regs;
  struct SREGS segregs;

   in_regs.x.ax =0x1012; 
   in_regs.x.bx = 0;
   in_regs.x.cx = count;
   segregs.es = FP_SEG(rgb);
   in_regs.x.dx = FP_OFF(rgb);
   int86x(0x10,&in_regs,&out_regs,&segregs);
}

How use the int86x (not int86) and how set the segregs.es and the
in_regs.x.dx , in protected mode ? 

Thanks in Advance


    Pawel Piszczalkowski
    ppiszc AT cyber DOT ict DOT pwr DOT wroc DOT pl
    ppiszc AT polbox DOT com


 

- Raw text -


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