BASIC POKE SCREEN and POKE COLOR Statements - fvdhoef/aquarius-plus GitHub Wiki

POKE SCREEN

TYPE: plusBASIC graphics statement


FORMAT: POKE SCREEN offset , byte

Action: Writes a byte to Screen RAM.

  • offset is the location in Screen RAM.
    • Must be in the range 0 through 1023 in 40 column mode, or 0 through 2047 in 80 column mode.
    • 0 is the upper left character of the screen.
    • 999 (40 column mode) or 1999 (80 column mode) is the lower right character of the screen.
  • byte is the ASCII value of the character to be displayed.
  • Illegal quantity results if either operand is not in the required range.

Example:

POKE SCREEN 499,64

Displays @ in the center of the screen in 40 column mode.


POKE COLOR

TYPE: plusBASIC graphics statement


FORMAT: POKE COLOR offset , byte

Action: Writes a byte to Color RAM.

  • offset is the location in Color RAM.
    • Must be in the range 0 through 1023 in 40 column mode, or 0 through 2047 in 80 column mode.
    • 0 is the upper left character cell of the screen.
    • 999 (40 column mode) or 1999 (80 column mode) is the lower right character cell of the screen.
  • byte is the color value
  • Illegal quantity results if either operand is not in the required range.