8BitBackground is a background in indexed mode or paletted mode. You can create a palette with 256 colours (8 bits) and draw in the background with these colours.
When you draw in 8BitBackground you need to create a palette before plot.
-- init background
BGBot8Bit = Screen.Load8BitBG()
Screen.Initialize( SCREEN_BOTTOM, BGBot8Bit )
-- create a palette colour for index "i=1" with "red = 16", "green = 0" and "blue = 0"
BGBot8Bit:SetPaletteColor( 1, 16, 0, 0 )
From now index "i = 1" in the palette will be a dark red.
With:
-- you draw a pixel in x,y position of screen using colour "i" in the palette.
-- BGBot8Bit:Plot( x, y, i )
-- in the example, you draw a dark red pixel at 10,20 position
BGBot8Bit:Plot( 10, 20, 1 )
Zhen