Announcement

Collapse
No announcement yet.

Screen 0 palette problems under Windows XP?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Screen 0 palette problems under Windows XP?

    Hello,

    I am running Windows XP and for some odd reason when I attempt
    to use PALETTE to turn the entire screen blue, the program
    decides it is better to have the screen stay as it is. Any ideas? This is for SCREEN mode 0.

    The code is similar to:

    cls
    SCREEN 0
    PALETTE 15,1:?"This is a test."

    Regards,

    Paul

    ------------------
    Few cats act their age, while
    most just cough up furballs.
    Few cats act their age, while
    most just cough up furballs.

  • #2
    Ok, nevermind. It works under fullscreen mode, but for some odd
    reason when I switch the same program to run in a WINDOWed text
    area, the screen defaults to black, even after a PALETTE statement
    to turn the screen blue has been issues.

    Paul


    ------------------
    Few cats act their age, while
    most just cough up furballs.
    Few cats act their age, while
    most just cough up furballs.

    Comment


    • #3
      It's a documented behavior of all versions of Windows.

      In windowed mode, Windows does not try to query the VGA card's palette state to obtain the palette information, since it would be "highly inefficient" (or words to that effect).

      ------------------
      Lance
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Lance
      mailto:[email protected]

      Comment

      Working...
      X