1. Setting The Palette
- Posted by Jeffrey Fielding <JJProg at CYBERBURY.NET> Jul 14, 1997
- 656 views
I am working on a 3d engine in Euphoria using graphics mode 19. I have a book on 3d game programming that I am using, and it tells how to use some BIOS interrupts to set the palette, but I looked them up in a list of interrupts (Ralph Brown's x86/MSDOS Interrupt List), but couldn't find them. I know how to use the palette and all_palette procedures in Euphoria, but they only support intensitys from 0 to 63, and as far as I know, only integer values are actually used so I can't figure out how to use all 256 intensitys. Even though 63 is equivilent to 255, there is nothing that is equivelent to 254. Jeff JJProg at cyberbury.net
2. Re: Setting The Palette
- Posted by Mike.Burrell at GEOCITIES.COM Jul 16, 1997
- 672 views
> I am working on a 3d engine in Euphoria using graphics mode 19. I have a > book on 3d game programming that I am using, and it tells how to use some > BIOS interrupts to set the palette, but I looked them up in a list of > interrupts (Ralph Brown's x86/MSDOS Interrupt List), but couldn't find > them. > I know how to use the palette and all_palette procedures in Euphoria, but > they only support intensitys from 0 to 63, and as far as I know, only > integer values are actually used so I can't figure out how to use all 256 > intensitys. Even though 63 is equivilent to 255, there is nothing that is > equivelent to 254. so far as i know, any screen mode using 256 colours can only use from a set of 262 000 colours (64 red x 64 green x 64 blue)... to use 256 different intensities, you would have to use high colour (65 536 colours) or true colour (16 777 216 colours), neither of which are supported by euphoria au moment... i don't know anything about vesa really, but i know that high colour and true colour modes are supported by vesa... if you know a way to get better vesa modes, make a library for it... it will be much appreciated :) . o O Mike Burrell O o . . o O burrellm at geocities.com O o . . o O mikpos.base.org O o .