Article View: net.micro.cpm
Article #5405setting screen colors from CP/M on C-128
From: prindle
Date: Wed, 29 Oct 1986 13:29
Date: Wed, 29 Oct 1986 13:29
25 lines
1699 bytes
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
Technical Details
Message-ID:
<4992@brl-smoke.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!brl-adm!brl-smoke!smoke!prindle@nadc.ARPAShow 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!columbia!rutgers!brl-adm!brl-smoke!smoke!prindle@nadc.ARPA From: prindle@nadc.ARPA Newsgroups: net.micro.cpm Subject: setting screen colors from CP/M on C-128 Message-ID: <4992@brl-smoke.ARPA> Date: Wed, 29-Oct-86 08:29:03 EST Article-I.D.: brl-smok.4992 Posted: Wed Oct 29 08:29:03 1986 Date-Received: Wed, 29-Oct-86 22:12:13 EST Sender: news@brl-smoke.ARPA Lines: 25