Prints a single pixel to the screen.
x, y are the X and Y coordinates of where to place the pixel on the screen. X can go from 0 to 255, Y can go from 0 to 191.
red, green, blue are the colors used in the pixel. They go from 0-31.
Prints a line to the screen.
x1, y1 are the coordinates where the line starts.
x2, y2 are the coordinates where the line ends.
red, green, blue are the colors used in the line. They go from 0-31.
Clears the background of all pixels.
Returns the color of a pixel on a 16-bit background.
x, y are the coordinates of the pixel you want the color of. The screen dimensions from 0 are 255 by 191 pixels.