www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/31/19:18:20

Date: Tue, 31 Jan 1995 15:46:11 +0100
From: gbm AT ii DOT pw DOT edu DOT pl (Grzegorz B. Mazur)
To: djgpp AT sun DOT soe DOT clarkson DOT edu, havemann AT uran DOT informatik DOT uni-bonn DOT de
Subject: Re: True Color Graphics Possible?

First, to set 16M colors you cannot use the direct value of 16M - in
go32 variable use the decomal equivalent of 0x8018, and in GrSetMode
use the same value (defined as symbol in grx header, probably something
like COLORS_16M...).
Then I am not quite sure that grx handles 24 bit pixels, but surely
you can write them directly to video buffer in linear space (at least 
as long as you don't use DPMI nor v2.0) at 0xe0000000.

Gregory

- Raw text -


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