🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.cbm
Article #2403

setting screen colors from CP/M on C-128

#2403
From: prindle
Date: Wed, 29 Oct 1986 13:25
26 lines
1681 bytes
From: prindle@NADC

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>

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
Technical Details
Message-ID: <257@rutgers.RUTGERS.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!daemon

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!daemon
From: prindle@nadc
Newsgroups: net.micro.cbm
Subject: setting screen colors from CP/M on C-128
Message-ID: <257@rutgers.RUTGERS.EDU>
Date: Wed, 29-Oct-86 08:25:24 EST
Article-I.D.: rutgers.257
Posted: Wed Oct 29 08:25:24 1986
Date-Received: Wed, 29-Oct-86 21:52:53 EST
Sender: daemon@rutgers.RUTGERS.EDU
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 26