🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by prindle Wed, 29 Oct 1986 13:29
setting screen colors from CP/M on C-128
#5405
Author: prindle
Date: Wed, 29 Oct 1986 13:29
25 lines
1699 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads