COLOR OPERATING MODES VIC incorporates two modes of color operation. HI-RES (high resolution) mode and Multicolor mode. Basically, the operating mode affects how the Character Cell information will be translated into dots on the TV screen. The operating mode is determined by the MSB of the color pointer associated with each character location in the Video Matrix. If the MSB of a character’s color pointer is zero, then that character will be displayed in HI-RES mode. Alter- nately, if the MSB is one, the character will be displayed in Multicolor mode. With HI-RES mode selected, there is a one-to-one correspondence between Character Cell bits and the dots displayed on-screen. That is, all one bits of a character will be displayed in one color, and all zero bits in another color. The foreground color of the character is specified by the remaining 3 bits of the character’s color pointer, while the character's back- ground color is specified by Register F (CR,). With Multicolor mode selected, each TWO bits of a character cell correspond to ONE dot on-screen and the color of that dot is determined by the two-bit code. Unlike HI-RES mode, in which only two colors can be displayed in a single character, Multicolor mode allows four colors per character; however, since two bits of cell data now correspond to a single dot on-screen, the horizontal resolution is half that of the HI-RES mode. That is, each 8x8 Character Cell in memory maps onto an 8x4 character on-screen (8 lines of 4 dots each). Note that the amount of memory required for these 8x4 Multicolor characters is the same as that for 8x8 HI-RES characters, the data is simply mapped differently on-screen. In Multicolor mode, the two bits which make up a dot select one of four colors for that dot. The four codes created by these two bits tell VIC where to find the color information for the dot. The color of the dot can be either the Background color (in CR,), the Exterior Border color in (CR,), the Auxiliary color (in CR,) or the Foreground color (bits 0 thru 2 of the character’s color pointer). The Multicolor mode color select codes are: 00—Background color (CR,) 01—Exterior Border color (CR,) 10— Foreground color (Color RAM) 11—Auxiliary color (CR,) Note that the two-bit code is NOT itself a color code, rather it is a pointer to four different color codes, allowing greater color flexibility, as each code pointed to has either 3 or 4-bit resolution. EXAMPLE: Given: CR, =1F Character Background color is WHITE (1), Exterior Border color is YELLOW (7}, Invert is not selected (R = 1). CR, = 6X Auxiliary color is BLUE (6). and a character definition of: bit 76543210 HEX byte 0 00011011 1B 1 00011011 1B 2 00011011 1B 3 00011011 1B 4 00011011 1B 5 00011011 1B 6 00011011 1B 7 00011011 1B