delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/06/15:17:14

Date: Wed, 6 Apr 94 15:01:18 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: wymanm AT cork DOT cig DOT mot DOT com, \
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: INT86 Question

> it uses are :
> 	_AX = 0x1012
> 	_BX = Starting color index (say 0)
> 	_CX = Number colors	   (say 256)
> 	_ES:_DX points to bufer that holds the r,g,b values for each color.
> 
>   I was reading the info on Int86 and it said that GO32 would know how to
> convert from virtual pointers to segment:offset values.  It said to load
> the extended register (in this case _EDX) with the actual pointer (say from a
> malloc).  It also said that the ES register does not need to be filled in.

But only for those functions that are supported.  This isn't one of
them.  Use _go32_dpmi_simulate_int() instead, and then you can manage
the buffers yourself.


- Raw text -


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