EMMA 02

BASIC

  • Home
  • Download
  • Change Log
  • Help
  • Compilation
    • Windows
    • OS X
    • Ubuntu
    • Fedora
    • openSUSE
  • Forums
  • Tape Conversion
  • Machine Code
    • SYSTEM00
    • CDP1801
    • CDP1802
    • CDP1804
    • CDP1805
    • Differences
  • Pseudo Code
    • AMVBAS
    • AM4KBAS
    • CARDTRAN
    • Chip-8, 8X, ETI-660 & Elf
    • FEL-1
    • FPA-1
    • FPL-2
    • FPL-4
    • GPL-2
    • GPL-3
    • GPL-4
    • GPL-A (2K RAM)
    • GPL-A (2K ROM)
    • ST2
    • ST4
    • STK
    • Test-Word
    • Super-chip
  • XML Code
    • Main Elements
    • I/O
    • System
    • A/D Convertor
    • BASIC
    • Batch wav
    • Bootstrap
    • Cassette
    • CD4536B
    • CDP1851
    • CDP1852
    • CDP1854
    • CDP1855
    • CDP1877
    • CDP1878
    • CDP1879
    • Debugger
    • COMX Diagnostic
    • Dip switch
    • Disk
    • EF Buttons
    • Flip Flop
    • Front Panel
    • GUI
    • HEX Modem
    • I/O Group
    • Keyboard
    • Keyfile
    • Locations
    • Memory
    • MM57109
    • Printer
    • RTC
    • Sound
    • Splash
    • USB
    • Video
    • Videodump
    • vt
    • X Modem
  • BASIC
    • General Information
    • COMX BASIC V1.00
    • Floating Point BASIC 2.2
    • Pecom 32 BASIC
    • Pecom 64 BASIC 1.0 & 4.0
    • Quest Super BASIC 1.4
    • Quest Super BASIC 3.0
    • Quest Super BASIC 5.0
    • Quest Super BASIC 6.0
    • RCA BASIC3 V1.1
    • Telmac SBASIC v24.3
    • Error Messages
  • Computer List

 

 

 

 

 

 

 

 

 

 

 

 

SCREEN

Format: SCREEN (X)

Supported by: COMX BASIC V1.00

Similar commands:
Floating Point BASIC 2.2: COLOR
Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0: SCR
Telmac SBASIC v 24.3: BKG

The SCREEN command is in the format, SCREEN (X), where X is a numeric expression (varying from screen 1 to 8 inclusively) which determines the colour of the background. The different screen colours corresponding to different values of X are given in Table 1.

Now, try the command

SCREEN (2)

followed by pressing CR, and note that the screen colour changes from black to green. Replace the "2" by numbers from 1 to 8 inclusive, and compare the screen colour observed with Table 1. Note that SCREEN (1) corresponds to the default screen colour. Note also that if either the input or output characters have the same colour as the screen, the characters would not be visible.

The brightnesses or luminances of different COMX 35 colours are also given in Table 1. In general, the best result is obtained with bright characters against a dark background (e.g. COLOR (12) and SCREEN (1), or COLOR (12) and SCREEN (3)); dark characters against a bright background (e.g. COLOR (5) and SCREEN (2)) may also be used; COLOR (12) and SCREEN (7) is also a pleasing combination.

X

Colour

1

BLACK

(0)

2

GREEN

(59)

3

BLUE

(11)

4

CYAN

(70)

5

RED

(30)

6

YELLOW

(89)

7

MAGENTA

(41)

8

WHITE

(100)

Table 1: Screen colour for SCREEN (X)

Note: The bracketed numbers are the luminances in %.