Re: Background Intensity

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

re: 1.5 supports intense backgrounds.

I think I'm missing the point of your message.

The reason I wrote the code was because 1.4 did not support intense/blinking
background colors. For example:

    text_color( GREEN )
    bk_color( BRIGHT_WHITE )
    puts( 1, "This should be green on bright white" )

did *not* work. Instead, it displays green on /normal/ white. It seems that
puts() did not write background attributes higher than 15 to the screen.

However, if I /poked/ the attributes to the screen, it *did* work, only the
background color was /blinking/, not intense. The BIOS call is used to tell
the machine to show the attribute as intense, not blinking. To make my life
easier, I put together the routine put_colors(), which poked the data to the
screen (or to a buffer, if the write was deferred).

If I try the code snippet above in 1.5, it still does not work, even with
something like:

    bk_color( BRIGHT_WHITE + 8 )

or other permutations.

The puts() (for that matter, *none* of Euphoria display routines) will write
a background color greater than 15 to the screen.

Am I missing something?

Thanks!

 -- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu