UTILS\CCA.DOC  ·  DOC  ·  3 KB  ·  1990-08-09  ·  from PCPlus_Issue-49_Oct-1990_FluxEngine-360Kb
CCA
v 1.0
by Jack Myrcha

Colours and Character Attributes

This program is a Terminate Stay Resident Utility which allows you to see 
any attribute available in hexadecimal, decimal, binary or visual form. 
The program gives you the ability to play with those mystery blink and
intensity attributes simply allowing you to change them on the screen and see
the results on the same screen. 

	To load program type CCA at the command prompt. To activate it simply
press Left and Right shifts together. You should see similar to the box below
pop up menu on the screen :
  
               ╔═══════════════════════════════════════════╗
               ║ CCA V1.0 1990, Copyright (c) by J.Myrcha  ║
               ╟─────────────┬────────┬─────────┬──────────╢
               ║  Attribute  │ Hex 00 │ Dec 000 │ Char     ║
               ╟─────────────┴────────┴─────────┴──────────╢
               ║      B    R   G   B    I    R   G   B     ║
               ║      0    0   0   0    0    0   0   0     ║
               ╠═══════════════════════════════════════════╣
               ║ F2 - Hex  F3 - Dec  F4 - Char             ║
               ║ Space - Change bit  || - Change Character ║
               ╚═════════════════ ESC Quit ════════════════╝

The cursor should be flashing under the 0 which is under the B on the
right side of the box. Those 8 zeros correspond to eight bits in a byte. 
Press Space Bar to change bit value to either 0 or 1. The letters above 
the bit values refer to bits which are responsible for the colour which is
displayed on the screen. From left to right they are : 

B(-link) R(-ed) G(-reen) B(-lue) I(-intensity)  R(-ed) G(-reen) B(-lue)

The most left bit (B) is responsible for the character blinking. Changing its 
value to 1 will cause the text to blink on the screen. The next three bits
( R G B ) corespond to Red Green Blue and are responsible for the background
of the displayed text. On the monochrome monitor changing all three values to 1 
will display the text highlighted. The bit marked as 'I' is an intensity bit
which controls the brightness of the displayed character. The last three bits
control the foreground of the displayed text. Appropriately R stands for Red,
G for Green and B for Blue colour. Note that on monochrome monitor Blue will
be displayed as underlined. You can make it bright white underline changing
intensity bit to 1. 

	Program displays also byte values in hexadecimal and decimal forms.
At the same time program takes the byte value and displays its ASCII character
representation. CCA allows you also to change byte value by specifing its
value in one of three ways : hexadecimal (press F2), decimal (press F3) or
character (press F4). To return from any of those to binary form press ENTER
or Escape key.Once in binary edit form ESC key takes you back to your previous 
task . Press Left and Right shift again to return to CCA.

If you have any comments on the program please write to :

Jack Myrcha
SA Software
28 Denbigh Rd
London W13 8NH