Mail Archives: djgpp/1994/04/06/15:17:14
> 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 -