Mail Archives: djgpp/1999/02/20/21:01:37
StefanViljoen,6599 wrote:
>
> > 1- My video car is a S3 Trio 64, and using de S3 or the VESA
> > driver I
> > can't start the 800*600 16 colors mode (even with modetest program).
> > No problem in other modes like 800*600 256 colors.
>
> I have EXACTLY the same card - but I do not use GRX. Rather I use
> Allegro, which supports this card natively up to its 16bit resolution.
> My S3 has 1 meg of ram and works well with Allegro. Why not try
> allegro instead of GRX?
I will try some day, but I'm confortable whith GRX because it's like
BGI. To answer other posts, I wrote 16 colors, no 16 bit colors. When I
start 800*600 16 colors mode I obtain only 640*480 16 colors.
> > 2- I have noticed the 16 colors modes are very slow, however the
> > 256 colors modes are really fast. Are there any reason?
>
> There is a very good reason - 16bit color uses more memory. In the 256
> color mode, you have one byte corresponding to one pixel - thus to
> show 100
> pixels you use exactly 100 bytes. In 16bit color modes you have two
> or more
> bytes corresponding to one pixel. Thus, to show 100 pixels you
> need 200
> bytes. Get the idea? To use 16bit modes you have to write twice
> the number
> of bytes into video RAM - this is why it takes longer.
>
No, i wanted to mean 16 colors, no 16 bit colors. 16 color GRX modes are
slowly than bios. I like this mode because it's more compatible.
Thanks anyway, M.Alvarez
- Raw text -