[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
RANDEXT
Subfunction 3: solid picture
Syntax:
RANDEXT
3, flatcolor
Fills the entire 320x200 picture with a single color. The color flatcolor is given as a palette index. See section Standard Palette.
This subfunction is very commonly used in testing the display. For example, the following testlist generates two pictures: one all red, the other all green, and flashes between them. If Cogsys is running on a system which can properly synchronize picture display to the CRT raster, the result should be a steady, flickering yellow image, without any "pops" of green or red. Running this testlist on Windows 95 or Windows 98 in a DOS "box" vs MS-DOS mode will neatly illustrate the difference.
%X[randext.cxr] %M2 %I[1,3,10] %I[1,3,12] %K[1,2,1] |
Here are the two pictures created:
![]() |
![]() |