1. High color mode...

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

new topic     » topic index » view message » categorize

2. Re: High color mode...

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?

Being one of the incredibly small few that are currently and
actively programming euphoria in anything other than 256
color mode(dos) or windows, and as one who did a fair amount
of research looking for other modes to program in, i can
(unfortunately) inform you that i know of no library
presently available that allows those color depths.

Under windows, things you create are (from my understanding)
automatically displayed in the resolution/depth the end
user has their windows display set to.  mr.cuny's win32lib.ew
has some examples included in his zip file, and that library
has rudimentary support for line drawing.  you may wish
to experiment with that library and create some simple
line drawing programs and execute those programs with your
windows display set to different resolutions.  some of
us would be quite interested in your findings.

One caveat i see right off the bat:
suppose you say something like:
[pseudcode] line({from}{to}{r,g,b})
well, how each video mode interprets color is quite different.
in trucolor, its simply a length 3 sequence of 0..255 as the
value for each element, corresponding to the intesity of
red green blue... in 32k and 64k its a little different...
it's manipulated on bit level instead of 3 seperate bytes.
15bit i think is 32k and 16 bit is 64k. for 15 bit you have
5 bits for each color, in a packed double byte type format.
i see this as potentially causing bizarre screen effects
when running the same program in different windows display
resolutions/depths... enjoy! *hands out aspirin*
</ends extremely rough graphic overview>

take care all--Hawke'

new topic     » goto parent     » topic index » view message » categorize

3. Re: High color mode...

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 message » categorize

4. Re: High color mode...

James Begley wrote:

> 64K colors.  So the question would naturally be:  How do you use 32K & 64K
> modes in Euphoria programs?

James,

        It seems I recall seeing a euphoria program that goes
through each mode and reports information about that mode, such
as how many colors and so on.  I believe it was an example program
that came with David Gay's A Beginers Guide To Euphoria. (ABGTE)

        You might want to give that a try?

Later:

+ + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA

new topic     » goto parent     » topic index » view message » categorize

5. Re: High color mode...

Hi Sugar Pie!!!!!!!!!!!!
Thanx soooooooo much for sending me those wonderful e-cards.  If I had more
time, I would send you one, too...believe me!!!!!!  I'm sorry you are having
such a hard time with Yahoo!
Sooooooooo, you got a home-page, yippie!!!!!!  Please tell me the address (URL)
so I can visit it, k????????
Well, I just wanted to write to you and say the things I forgot to say in my
earlier e-mail to you tonight...
Love ya!!!!!!!!
FrankXOXOXOXOXOXOXOXOXOXOXOXOXOMarjorie
TOGETHER, FOREVER, AND EVER AND EVER AND EVER...

Ferlin Scarborough wrote:

> James Begley wrote:
>
> > 64K colors.  So the question would naturally be:  How do you use 32K & 64K
> > modes in Euphoria programs?
>
> James,
>
>         It seems I recall seeing a euphoria program that goes
> through each mode and reports information about that mode, such
> as how many colors and so on.  I believe it was an example program
> that came with David Gay's A Beginers Guide To Euphoria. (ABGTE)
>
>         You might want to give that a try?
>
> Later:
>
> + + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA

new topic     » goto parent     » topic index » view message » categorize

6. Re: High color mode...

Er, ah, ahem.  Perhaps one should not reply to any email when one is so tired.

Frank Atry wrote:

> Hi Sugar Pie!!!!!!!!!!!!
> Thanx soooooooo much for sending me those wonderful e-cards.  If I had more
> time, I would send you one, too...believe me!!!!!!  I'm sorry you are having
> such a hard time with Yahoo!
> Sooooooooo, you got a home-page, yippie!!!!!!  Please tell me the address
> (URL)
> so I can visit it, k????????
> Well, I just wanted to write to you and say the things I forgot to say in my
> earlier e-mail to you tonight...
> Love ya!!!!!!!!
> FrankXOXOXOXOXOXOXOXOXOXOXOXOXOMarjorie
> TOGETHER, FOREVER, AND EVER AND EVER AND EVER...
>
> Ferlin Scarborough wrote:
>
> > James Begley wrote:
> >
> > > 64K colors.  So the question would naturally be:  How do you use 32K & 64K
> > > modes in Euphoria programs?
> >
> > James,
> >
> >         It seems I recall seeing a euphoria program that goes
> > through each mode and reports information about that mode, such
> > as how many colors and so on.  I believe it was an example program
> > that came with David Gay's A Beginers Guide To Euphoria. (ABGTE)
> >
> >         You might want to give that a try?
> >
> > Later:
> >
> > + + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA

new topic     » goto parent     » topic index » view message » categorize

7. Re: High color mode...

apparently, someone misinterpreted this interpreters mailing
list topic, giving a whole new meaning to "euphoria"...
maybe we should change it to "euphoric"???

Frank Atry wrote:
> Hi Sugar Pie!!!!!!!!!!!!
> Thanx soooooooo much for sending me those wonderful e-cards.  If I had more
> time, I would send you one, too...believe me!!!!!!  I'm sorry you are having
> such a hard time with Yahoo!
> Sooooooooo, you got a home-page, yippie!!!!!!  Please tell me the address
> (URL)
> so I can visit it, k????????
> Well, I just wanted to write to you and say the things I forgot to say in my
> earlier e-mail to you tonight...
> Love ya!!!!!!!!
> FrankXOXOXOXOXOXOXOXOXOXOXOXOXOMarjorie
> TOGETHER, FOREVER, AND EVER AND EVER AND EVER...

new topic     » goto parent     » topic index » view message » categorize

8. Re: High color mode...

Must be REALLY tired... he didn't come back... He'll see it this
afternoon... :)

-- "LEVIATHAN"

>apparently, someone misinterpreted this interpreters mailing
>list topic, giving a whole new meaning to "euphoria"...
>maybe we should change it to "euphoric"???
>
>Frank Atry wrote:
>> Hi Sugar Pie!!!!!!!!!!!!
>> Thanx soooooooo much for sending me those wonderful e-cards.  If I
had more
>> time, I would send you one, too...believe me!!!!!!  I'm sorry you are
having
>> such a hard time with Yahoo!
>> Sooooooooo, you got a home-page, yippie!!!!!!  Please tell me the
address (URL)
>> so I can visit it, k????????
>> Well, I just wanted to write to you and say the things I forgot to
say in my
>> earlier e-mail to you tonight...
>> Love ya!!!!!!!!
>> FrankXOXOXOXOXOXOXOXOXOXOXOXOXOMarjorie
>> TOGETHER, FOREVER, AND EVER AND EVER AND EVER...
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

9. Re: High color mode...

Hi Guys!
Just wanted to let you know that I have nooooooooo idea how this email wound up
on
this mailing list, although I am looking in to the matter.  It's possible I was
tired and I mistakenly posted to the list (as opposed to the wonderful person
for
whom it was intended), but at this point, I'm not ruling out foul play...either
wrongful interception by someone of my email during transmission, or a prank by
someone who somehow has gained access to the recipient's email account.
At any rate, it didn't really contain anything I would be ashamed of
(phewwww...LOL).  In fact, I got a laugh from it...and hope you did, too.
Still, sorry about the "off-topic" posting.  Hope I didn't, however
unintentionally, offend you, Rev.! blink
See you all on the list!
Frank Atry
And nooooooo, my *real* name is *not* William Jefferson Clinton!

Frank Atry wrote:

> Hi Sugar Pie!!!!!!!!!!!!
> Thanx soooooooo much for sending me those wonderful e-cards.  If I had more
> time, I would send you one, too...believe me!!!!!!  I'm sorry you are having
> such a hard time with Yahoo!
> Sooooooooo, you got a home-page, yippie!!!!!!  Please tell me the address
> (URL)
> so I can visit it, k????????
> Well, I just wanted to write to you and say the things I forgot to say in my
> earlier e-mail to you tonight...
> Love ya!!!!!!!!
> FrankXOXOXOXOXOXOXOXOXOXOXOXOXOMarjorie
> TOGETHER, FOREVER, AND EVER AND EVER AND EVER...
>
> Ferlin Scarborough wrote:
>
> > James Begley wrote:
> >
> > > 64K colors.  So the question would naturally be:  How do you use 32K & 64K
> > > modes in Euphoria programs?
> >
> > James,
> >
> >         It seems I recall seeing a euphoria program that goes
> > through each mode and reports information about that mode, such
> > as how many colors and so on.  I believe it was an example program
> > that came with David Gay's A Beginers Guide To Euphoria. (ABGTE)
> >
> >         You might want to give that a try?
> >
> > Later:
> >
> > + + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA

new topic     » goto parent     » topic index » view message » categorize

10. Re: High color mode...

--------------69497A525046

James,

Here's a graphics library (named Neil) that supports the modes you
requested... it's been on the backburner for a while.  I added the pixel
routines today so it's slightly more usable.  It should autodetect every
VESA graphics mode your card supports: at 8,15,16,24,32 bit depths.  I'm
planning on writing in modex support and fonts and some sort of command
list feature... feel free to suggest any other things that I should hack
in.

The raytracing program included was also the very first program I
attempted in Euphoria (way back when smile  Its use of shading should
demonstrate hi/true-color nicely.  If only it wasn't so slow... (target
for asm fp optimization?)

Later,
--
                  _____         _____        _____
   ________      /\    \       /\    \      /\    \
  /   \    \    /  \____\     /  \____\    /  \____\
 /  _  \____\  /   / ___/_   /   /____/   /   / ___/_
/  / \  |____|/   / /\____\ /    \    \  /   / /\____\
\  \_/ /    / \   \/ / ___/_\     \    \ \   \/ / ___/_
 \    /____/   \    / /\    \\/\   \    \ \    / /\    \
  \   \    \    \   \/  \____\  \   \    \ \   \/  \____\
   \   \    \    \      /    /   \   \____\ \      /    /
    \   \____\    \    /    /     \  /    /  \    /    /
     \  /    /     \  /    /       \/____/    \  /    /
      \/____/       \/____/xseal at harborside.com\/____/

--------------69497A525046

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu