Re: High color mode...

new topic     » goto parent     » topic index » view thread      » older message » newer message

James Begley wrote:
>
> Okay, here's a toughie.  I've seen True Color modes in Euphoria.  Problem
> is, some people have crappy video cards (like mine) that can only go up to
> 64K colors.  So the question would naturally be:  How do you use 32K & 64K
> modes in Euphoria programs?
>                                                         Space Lord


        I think using the Vesa routines in dos would be your best bet
for finding and setting modes.
        At least thats what I tried to do in asic a year or so ago when
I wanted to write some hi-color routines. only problem there was no safe
way to set a buffer in asic for the return.
        Basically you call the cards vesa driver with an interupt giving
it the adress of the buffer area and the mode # you want to know about
and it returns all the info you need to use it (which bits are
red,green,blue, where video memory starts and an how much of the screen
is addressable there (usually only 64k at a time) and so on)
        I beleieve I have the info here, If you need it let me know.

                Kasey

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu