Table of Contents

BACKGROUND

[vic20] [c64] [c16] [cplus4] [c128] [m65]

Sets the background color.

Syntax

BACKGROUND <color>
BACKGROUND <color>, <luminance>
  • <color> is the color code. The accepted values are:
    • 0 - 7 for [vic20]
    • 0 - 15 for [c64] [c16] [cplus4] [c128]
    • 0 - 31 for [m65]
  • On the Commodore 16 and Plus/4, both <color> and <luminance> values must be provided

Examples

CONST BLACK = 0
CONST WHITE = 1
BORDER BLACK : BACKGROUND WHITE

See also