HOME

TheInfoList



OR:

Composite artifact colors is a designation commonly used to address several graphic modes of some 1970s and 1980s home computers. With some machines, when connected to an
NTSC The first American standard for analog television broadcast was developed by National Television System Committee (NTSC)National Television System Committee (1951–1953), Report and Reports of Panel No. 11, 11-A, 12–19, with Some supplement ...
TV or monitor over composite video outputs, the video signal encoding allowed for extra colors to be displayed, by manipulating the pixel position on screen, not being limited by each machine's hardware color palette. This mode was used mainly for games, since it limits the display's effective horizontal resolution. It was most common on the IBM PC (with CGA graphics),
TRS-80 Color Computer The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer and sometimes nicknamed the CoCo, is a line of home computers developed and sold by Tandy Corporation. Despite sharing a name with the earlier TRS-80, the Color Com ...
, Apple II and Atari 8-bit computers, and used famously by the '' Ultima'' role-playing video games. Software titles (such as ''
King's Quest ''King's Quest'' is a graphic adventure game series, released between 1980 and 2016 and created by the American software company Sierra Entertainment. It is widely considered a classic series from the golden era of adventure games. Following th ...
'' for the IBM PC) usually provided an option to select between ''"RGB mode"'' and ''"Color Composite mode"''. On
PAL Phase Alternating Line (PAL) is a colour encoding system for analogue television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
displays the effect is also present, but generates more limited colors. Depending on the exact PAL system used results will vary (if PAL-M or PAL-N are used, color artifacts similar to NTSC might be possible). Although related, artifact colors are not the same as horizontal blurring. Blurring is a general effect of using a composite connection, that simply creates new colors due to a mix of adjacent horizontal pixel values. The exact mix will depending of on the saturation and specific colors of the original pixels. Nevertheless, this effect can be exploited by using
dither Dither is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images. Dither is routinely used in processing of both digital audio and video data, and is often ...
patterns, generating new intermediate palette colors on machines with a sufficiently high resolution display, like the
ZX Spectrum The ZX Spectrum () is an 8-bit home computer that was developed by Sinclair Research. It was released in the United Kingdom on 23 April 1982, and became Britain's best-selling microcomputer. Referred to during development as the ''ZX81 Colou ...
,
Mega Drive/Genesis The Sega Genesis, known as the outside North America, is a 16-bit Fourth generation of video game consoles, fourth generation home video game console developed and sold by Sega. It was Sega's third console and the successor to the Master Syst ...
, NES/Famicon or Amiga.


Technical details

In the
NTSC The first American standard for analog television broadcast was developed by National Television System Committee (NTSC)National Television System Committee (1951–1953), Report and Reports of Panel No. 11, 11-A, 12–19, with Some supplement ...
color system as used in broadcasting, the color subcarrier frequency is exactly 227.5 times the line frequency, i.e., each line contains 227.5 color subcarrier cycles. This causes the apparent phase of the subcarrier to be reversed every line, which results in solid colors being displayed as a checkerboard-like pattern when viewed on a monochrome display that does not filter out the color information. Computers such as the Apple II and the CGA video card for the IBM PC, output a signal that is an approximation of the broadcast standard. In both the Apple II and the CGA, each line is elongated to full 228 cycles of the color subcarrier. This is within the tolerances of most displays, so the image is displayed clearly, but the pattern generated by solid colors becomes straight vertical stripes instead. Each horizontal position within any line has constant phase relationship to the color subcarrier under this system, so lighting up a pixel at each specific horizontal index always has the same effect on the color information as interpreted by the display. It is also typical for these types of display adapters to have pixel clocks that are a multiple of the NTSC subcarrier frequency. Both the Apple II and the CGA use the pixel clock of 14.318 MHz, four times the color subcarrier. For a broadcast-quality signal, that would mean 910 pixel cycles per each line (as opposed to 858 as later standardized by the ITU-R Recommendation BT.601), with about 750 of them occupying the visible portion of the screen. With the stretched lines of these early computers, each line was actually 912 pixel cycles long, and only a portion of the visible area was used - 560 pixels in case of Apple II (although not individually addressable without an 80 column expansion card), 640 in case of CGA. Each pixel could have one of the 4 predefined phase relationships to the color burst, so a "fake" subcarrier that will be interpreted as color by the display, can be constructed by outputting specific pixel patterns. In case of adapters that also have native color capabilities, such as the CGA, this technique can be further expanded by forming patterns out of the built-in colors - this way, the "real" subcarrier generated by the hardware will interfere with the "fake" one residing within the pixel patterns, causing the display to interpret the result as new, unique colors. In the
PAL Phase Alternating Line (PAL) is a colour encoding system for analogue television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
system, the phase of the subcarrier is interpreted differently from line to line, and the phase of the color burst is strictly required to change on alternate lines. This makes the tricks described above infeasible.
SECAM SECAM, also written SÉCAM (, ''Séquentiel de couleur à mémoire'', French for ''color sequential with memory''), is an analog color television system that was used in France, some parts of Europe and Africa, and Russia. It was one of th ...
uses
frequency modulation Frequency modulation (FM) is the encoding of information in a carrier wave by varying the instantaneous frequency of the wave. The technology is used in telecommunications, radio broadcasting, signal processing, and computing. In analog fre ...
, so generating artifact colors would require timing far more precise than synchronizing the pixel clock to the subcarrier frequency of either
NTSC The first American standard for analog television broadcast was developed by National Television System Committee (NTSC)National Television System Committee (1951–1953), Report and Reports of Panel No. 11, 11-A, 12–19, with Some supplement ...
or
PAL Phase Alternating Line (PAL) is a colour encoding system for analogue television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
. For these reasons, artifact colors were generally only used with the NTSC color system. They are theoretically possible in any of them, due to the fact that in every analog television system, color information resides within the same bandwidth as luminance information. Artifact colors should not the confused with the more common horizontal blurring effect. Horizontal blurring is an effect of using a composite video connection, where new colors are created by averaging individual pixel values. This is mainly due to the limited
bandwidth Bandwidth commonly refers to: * Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range * Bandwidth (computing), the rate of data transfer, bit rate or thr ...
of luminance and specially
chrominance Chrominance (''chroma'' or ''C'' for short) is the signal used in video systems to convey the color information of the picture (see YUV color model), separately from the accompanying luma signal (or Y' for short). Chrominance is usually represente ...
on analog systems. Contrary to artifact colors that are arbitrary, these new colors are completely dependent on the original values of adjacent pixels. Horizontal blurring is more pronounced at higher display resolutions and when saturated colors are used (specially blue and red). This effect was exploited by game artists on some machines (specially those capable of generating higher resolution graphics but having a limited color palette) through the use of
dithering Dither is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images. Dither is routinely used in processing of both digital audio and video data, and is often ...
patterns.


Machines


PC compatibles with CGA graphic cards

When using IBM's Color Graphics Adapter (CGA) with a
NTSC The first American standard for analog television broadcast was developed by National Television System Committee (NTSC)National Television System Committee (1951–1953), Report and Reports of Panel No. 11, 11-A, 12–19, with Some supplement ...
TV as a
composite monitor A composite monitor or composite video monitor is any analog signal, analog video display that receives input in the form of an analog composite video signal to a defined specification. A composite video signal encodes all information on a single ...
, the separation between luminance and chrominance is imperfect, yielding cross-color artifacts. This is especially a problem with 80-column text. It is for this reason that each of the text and graphics modes described above exists twice: Once as the normal "color" version and once as a "monochrome" version. The "monochrome" version of each mode turns off the NTSC color decoding in the viewing monitor completely, resulting in a black-and-white picture, but also no color bleeding, hence, a sharper picture. On RGBI monitors, the two versions of each mode are identical, with the exception of the 320×200 graphics mode, where the "monochrome" version produces the third palette. However, programmers learned that this flaw could be turned into an asset, as distinct patterns of high-resolution dots would turn into consistent areas of solid colors, thus allowing the display of completely new colors. Since these new colors are the result of cross-color artifacting, they are often called "artifact colors". Both the standard 320×200 four-color and the 640×200 color-on-black graphics modes could be used with this technique. Early efforts resulted on a usable resolution of 160×200 with 16 colors. Actual colors depend on the base palette and resolution used, as shown on the gallery below: Image:CGA_CompVsRGB_320p0.png, 320×200 palette 0 Image:CGA_CompVsRGB_320p1.png, 320×200 palette 1 Image:CGA CompVsRGB 640.png, 640×200 CGA CompVsRGB Text.png, CGA 80-column text on RGB (left) vs. composite monitor (right) Later
demonstrations Demonstration may refer to: * Demonstration (acting), part of the Brechtian approach to acting * Demonstration (military), an attack or show of force on a front where a decision is not sought * Demonstration (political), a political rally or prote ...
by enthusiasts have increased the maximum number of colors the CGA can display at the same time to 1024. This technique involves a text mode tweak which quadruples the number of text rows. Certain ASCII characters such as U and ‼ are then used to produce the necessary patterns, which result in non-dithered images with an effective resolution of 80×100 on a composite monitor. A blog entry by the creators of the demo "8088 MPH" explaining this technique.


Software support

Many of the more high-profile game titles offers graphics optimized for composite color monitors. ''
Ultima II Ultima may refer to: Places * Ultima, Victoria, a town in Australia * Pangaea Ultima, a supercontinent to occur in the future * ''Ultima'', the larger lobe of the trans-Neptunian object 486958 Arrokoth, nicknamed ''Ultima Thule'' Companies and ...
'', the first game in the game series to be ported to IBM PC, uses CGA composite graphics. '' King's Quest I'' was also innovative in its use of 16-color graphics. Other titles include '' Microsoft Decathlon'', '' King's Quest II'' and '' King's Quest III''.


TRS-80 Color Computer

The
TRS-80 Color Computer The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer and sometimes nicknamed the CoCo, is a line of home computers developed and sold by Tandy Corporation. Despite sharing a name with the earlier TRS-80, the Color Com ...
(also known as Coco) two color 256×192 graphic mode allows the display of four colors by exploring NTSC artifacts. It is not possible to reliably display 256 dots across the screen due to the limitations of the NTSC signal and the phase relationship between the graphics chip clock and colorburst frequency. Using the first color set, alternating columns of green and black pixels are not distinct and appear as a muddy green color. However, switching to a white and black color set, instead of a muddy gray as expected, the result is either orange or blue. Reversing the order of the alternating dots will give the opposite color. In effect, the 256x192 two color mode becomes a 128×192 four color mode with black, orange, blue, and white available. Most CoCo games used this mode as it generates more useful colors than the ones provided by the native four color modes. The graphics chip internally can power up on either the rising or falling edge of the clock, so the bit patterns that represent orange and blue are not predictable. Most CoCo games start with a title screen and asks the user to press the reset button until the colors are correct. Readers of ''
The Rainbow ''The Rainbow'' is a novel by British author D. H. Lawrence, first published by Methuen & Co. in 1915. It follows three generations of the Brangwen family living in Nottinghamshire, focusing particularly on the individual's struggle to growth ...
'' or ''Hot CoCo'' magazine learned that they can use some POKE commands to switch the Motorola 6847 graphics chip into one of the artifact modes, while Extended Color Basic continues to operate as though it were still displaying one of the 128x192 four-color modes. Thus, the entire set of Extended Color Basic graphics commands can be used with the artifact colors. Some users developed a set of 16 artifact colors using a 4×2 pixel matrix. Use of POKE commands also make these colors available to the graphics commands, although the colors have to be drawn one horizontal line at a time. Some interesting artworks were produced from these effects, especially since the ''CoCo Max'' art package provides them in its palette of colors. The resulting 16 color palette is (approximate colors for illustration purposes only): The CoCo 3 fixes the clock-edge problem so it is always the same; the user holds the F1 key during reset to alternate the color set. On this computer games can be patched to use a new 128×192 four color mode provided by the GIME chip, with hardware colors mapped to the required values.


Apple II

Color graphics on the Apple II series uses a quirk of the NTSC television signal standard, which made color display relatively easy and inexpensive to implement. The Apple II display provides two pixels per NTSC subcarrier cycle. When the
color burst Colorburst is an analog video, composite video signal generated by a video-signal generator used to keep the chrominance subcarrier synchronized in a color television signal. By synchronizing an oscillator with the colorburst at the back porc ...
reference signal is on and the computer attached to a color display, it can display green by showing one alternating pattern of pixels, magenta with an opposite pattern of alternating pixels, and white by placing two pixels next to each other. Later, blue and orange became available by tweaking the offset of the pixels by half a pixel-width in relation to the color-burst signal. The high-resolution display offers more colors simply by compressing more, narrower pixels into each subcarrier cycle. The coarse, low-resolution graphics display mode works differently, as it can output a pattern of dots per pixel to offer more color options. These patterns are stored in the character generator ROM and replaces the text character bit patterns when the computer is switched to low-res graphics mode. The text mode and low-res graphics mode uses the same memory region and the same circuitry is used for both. An example of full usage of artifact colors on the Apple II is the '' Dazzle Draw'' paint program. If seen in monochrome the image is composed of black and white vertical dither patterns, but when seen on NTSC colors appear.


Atari 8-bit

''Graphics 8'' mode on early Atari 8-bit computers that used the Color Television Interface Adaptor (CTIA) chip displayed black or white images at a resolution of 320×192. Programmers quickly discovered that the odd or even patterns of adjacent black and white pixels in this mode would generate one of two additional colors (blue/brown or olive/pink) and software such as On-Line Systems' '' The Wizard and the Princess'' used this side-effect to display up to four colors at maximum resolution. This technique and its technical underpinnings were documented in ''Appendix D'' of De Re Atari. Games such as
Lode Runner ''Lode Runner'' is a 2D puzzle-platform game, developed by Doug Smith and published by Broderbund in 1983. Its gameplay mechanics are similar to ''Space Panic'' from 1980. The player controls a character who must collect all the gold pieces in a ...
, Flight Simulator II, and the Ultima series took advantage of this effect do display extra colors. When Atari began shipping computers with the improved Graphic Television Interface Adaptor (GTIA), users found that such programs displayed incorrect colors and required an updated version of the software. In fact, artifact colors were inconsistent across the entire Atari 8-bit product line complicating playfield design but only affected a handful of titles that used this graphics mode. These color differences can be simulated within Altirra-based emulators. All models with RF or composite output connected to televisions exhibited this effect while those such as the original
Atari 800 The Atari 8-bit family is a series of 8-bit home computers introduced by Atari, Inc. in 1979 as the Atari 400 and Atari 800. The series was successively upgraded to Atari 1200XL , Atari 600XL, Atari 800XL, Atari 65XE, Atari 130XE, Atari 800XE ...
or later XE series with built-in chroma/luma support additionally displayed images without artifacts when connected to a computer monitor with chroma/luma inputs such as the Commodore 1701 . For some undocumented reason known only to Atari, they did not enable the chroma pin on the monitor jack of the 800XL although several modifications have been published to incorporate this support.


Other machines

Many first generation MSX computer games use horizontal blurring and dither to generate a palette of 125 simultaneous colors. Companies like
Konami , is a Japanese multinational video game and entertainment company headquartered in Chūō, Tokyo, it also produces and distributes trading cards, anime, tokusatsu, pachinko machines, slot machines, and arcade cabinets. Konami has casino ...
,
Hal Laboratory formerly shortened as HALKEN (derived from its native name), is a Japanese video game developer founded on 21 February 1980. While independent, it has been closely tied with Nintendo throughout its history, and is often referred to as a seco ...
or Ponyca used this technique regularly.
Sony , commonly stylized as SONY, is a Japanese multinational conglomerate corporation headquartered in Minato, Tokyo, Japan. As a major technology company, it operates as one of the world's largest manufacturers of consumer and professiona ...
's ''Graphic Master Lab'' paint program allowed these 125 colors to be used in user-created drawings. Home computers like the Atari ST also have graphics prepared with dithering techniques to take advantage of composite TV connections. The
Mega Drive/Genesis The Sega Genesis, known as the outside North America, is a 16-bit Fourth generation of video game consoles, fourth generation home video game console developed and sold by Sega. It was Sega's third console and the successor to the Master Syst ...
takes advantage of composite video horizontal blurring of vertical dither patterns to simulate transparency effects on many games. William Kier (the artist on ''
Eternal Champions ''Eternal Champions'' is a 1993 fighting game developed and published by Sega for the Sega Genesis. It was one of the few fighting games of its time developed from the ground up as a home console title, rather than being released in arcades fi ...
'') stated performing manual dither for the graphics on that game, and that it's likely most games dithered in the same fashion. This effect was used so widely used that it can be simulated on modern hardware clones like the
Mega Sg The Mega Sg is a home video game console manufactured by Analogue, released in 2019. It runs games developed for the Sega Genesis, Master System, Game Gear and SG-1000, systems released by Sega in the 1980s and early 1990s during the fourth gen ...
. The Commodore Amiga, when connected over composite video, suffered from noticeable horizonal blurring, specially affecting colored pixels and smoothing out dithered transitions. This technique was used on most titles. Pixel artist Henk Nieborg mentions using dithering on the 1992 Amiga game '' Lionheart'' in order to create additional colors. The technique was also used frequently by British software house
The Bitmap Brothers The Bitmap Brothers are a British video game developer founded in 1987. The company entered the video game industry in 1988 with the scrolling shooter ''Xenon''. They quickly followed with '' Speedball''. Prior to becoming the publisher of th ...
. The special
Hold-And-Modify Hold-And-Modify, usually abbreviated as HAM, is a display mode of the Commodore Amiga computer. It uses a highly unusual technique to express the color of pixels, allowing many more colors to appear on screen than would otherwise be possible ...
is particularly suited for displaying "high color" TV-like images, taking full advantage of horizontal blurring.


PAL system

Using a composite connection with the
PAL Phase Alternating Line (PAL) is a colour encoding system for analogue television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
TV system also generates new colors, but their number is limited and the results unreliable.


Apple II

The Apple II can be modified to output a 50 Hz signal for use in PAL and SECAM regions. However, when connected directly to a display, it results in a black and white picture. ''"Eurocolor"'' expansion cards were available that essentially decode NTSC artifacts and re-encode them as PAL or SECAM.


Atari 8-bit

Atari 8-bit machines are capable of generating artifact colors (red, yellow, violet and green) on monochrome modes taking advantage of PAL artifacts. A pinball table called ''Das Uboat'', for Atari 800XL ''
Pinball Construction Set ''Pinball Construction Set'' is a video game by Bill Budge written for the Apple II. It was originally published in 1982 through Budge's own company, BudgeCo, then was released by Electronic Arts in 1983 along with ports to the Atari 8-bit fami ...
,'' displays artifact colors when viewed on a PAL TV. Another example is ''Runaround II''.


Commodore 64

On
PAL Phase Alternating Line (PAL) is a colour encoding system for analogue television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
versions of the Commodore 64, the delay line in the monitor or TV which averages the color
hue In color theory, hue is one of the main properties (called color appearance parameters) of a color, defined technically in the CIECAM02 model as "the degree to which a stimulus can be described as similar to or different from stimuli that ...
, but not the brightness, of consecutive screen lines can be used to create seven nonstandard colors by alternating screen lines showing two colors of identical brightness. This is used in the game ''
Mayhem in Monsterland ''Mayhem in Monsterland'' is a 1993 platform game for the Commodore 64. Its titular hero, "Mayhem", is a yellow triceratops blessed with the gift of speed. His goal is to return his world from sad to happy, ridding the world of monsters along t ...
'', released in 1993 by
Apex Computer Productions Apex Computer Productions was the brothers John Rowlands (programmer), John and Steve Rowlands, United Kingdom, British based game designers and programmers on the Commodore 64 in the late 1980s and early 1990s. They programmed in pure assembly la ...
, and in ''Parallaxian''.


TRS-80 Color Computer

TRS-80 Color Computer The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer and sometimes nicknamed the CoCo, is a line of home computers developed and sold by Tandy Corporation. Despite sharing a name with the earlier TRS-80, the Color Com ...
users in
PAL Phase Alternating Line (PAL) is a colour encoding system for analogue television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
countries only see green and purple stripes instead of solid red and blue colors.


ZX Spectrum

The ZX Spectrum resolution is high enough to allow the generation of artifact colors, but the effect was not explored during its commercial lifetime. The 2013 homebrew game ''Chromatrons Attack'' demonstrates the effect.


References

{{Reflist Computer graphic artifacts Computer graphic techniques Computer display standards Composite video formats