///////////////////////////////////////////////////////////// // // // Tasks: plot256_sys (Int x, Int y, Int a, Int b) // // plot256_sys (Int x, Int y, Int c) // // // // Description: Uses a "checkerboard" dither to display // // more than the standard 16 colors // // // // Parameters: x: The x-coordinate at which the pixel // // is to be plotted // // y: The y-coordinate at which the pixel // // is to be plotted // // a: One of the two colors (0-15) to be // // dithered // // b: The other color (0-15) to be dithered // // c: A "color value" (0-255) to be plotted // // // // Universe: Pro-SiMPLE // // // // Author: SiMPLE CodeWorks // // // ///////////////////////////////////////////////////////////// Task plot256_sys (Int x, Int y, Int c) plot256_sys (x, y, c/16, c%16) @ Task plot256_sys (Int x, Int y, Int a, Int b) If ((x+y)%2) put pixel (x, y, a) Else put pixel (x, y, b)