<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 29 Oct 1986 08:14:44-EST
From   : prindle@nadc.ARPA
Subject: setting screen colors from CP/M on C-128

There are three ways to set the screen colors from CP/M:

1. Manually, any of the first 8 colors for text can be chosen by typing CTRL-0
thru CTRL-7 on the main keyboard.  Any of the first 8 colors for background can
be chosen by typing CTRL-0 thru CTRL-7 on the auxilliary keypad.  The second
set of 8 colors are not accessible this way.

2. The program "conf" (AKA config) can be used as follows:
   conf char=<character color code>,back=<character color code>
where the color codes include all 0-15 for each.

3. Any CP/M program can change screen or text colors by outputting to the
console the sequence <ESC><ESC><ESC><color-select-byte> where the color select
byte uses the low bits for the color code and higher bits to specify background
or character color.  This, in effect, can be used by a program to display text
in assorted colors on the screen.  The exact interpretation of the color-select-
byte is given in the CP/M section of the guide that comes with the 128.

Hint: try yellow on black or green on black, perennial favorites.  80 columns
on a TV set (unless it's an XBR) is going to be real squinty at best, but more
contrast will definitely help.

Sincerely,
Frank Prindle
Prindle@NADC.arpa
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>