Motorola 6847

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Mitsubishi clone M5C6847
Motorola 6847 Pinout[1]

The MC6847 is a video display generator (VDG) first introduced by Motorola and used in the TRS-80 Color Computer,[2] Dragon 32/64,[3] Laser 200,[4] TRS-80 MC-10,[5] NEC PC-6000 series,[6] Acorn Atom,[7] and the APF Imagination Machine,[8] among others. It is a relatively simple display generator compared to other display chips of the time. It is capable of displaying alphanumeric text, semigraphics[9] and raster graphics contained within a roughly square display matrix 256 pixels wide by 192 lines high.

The ROM includes a 5 x 7 pixel font, compatible with 6-bit ASCII. Effects such as inverse video or colored text (green on dark green; orange on dark orange) are possible.[10]

It is capable of displaying nine colors:[11] black, green, yellow, blue, red, buff (almost-but-not-quite white), cyan, magenta, and orange (two extra colors, dark green and dark orange, are only possible as backgrounds for alphanumeric text modes). According to the MC6847 datasheet, the colors are formed by the combination of three signals: with 6 possible levels, (or with 3 possible levels) and (or with 3 possible levels), based on the YPbPr colorspace, and then converted for output into a NTSC analog signal.[10]

The low display resolution is a necessity of using television sets as display monitors. Making the display wider risked cutting off characters due to overscan. Compressing more dots into the display window would easily exceed the resolution of the television and be useless.[12][13]

Signal levels and color palette[edit]

The chip outputs a NTSC-compatible progressive scan signal composed of one field of 262 lines 60 times per second.

According to the MC6847 datasheet,[14] colors are formed by the combination of three signals: luminance, chroma and chroma, according to the YPbPr color space. These signals can drive a TV directly, or be used with a NTSC modulator (Motorola MC1372) for RF output.

may assume one of these voltages: "Black" = 0.72V; "White Low" = 0.65V; "White Medium" = 0.54V; "White High" = 0.42V.

(or ) and (or ) may be: "Output Low" = 1.0V; "R" = 1.5V; "Input High" = 2.0V.

The following table shows the signal values used:[14][15]

Color
Green 0.54 1.0 1.0
Yellow 0.42 1.0 1.5
Blue 0.72 2.0 1.5
Red 0.72 1.5 2.0
Buff 0.42 1.5 1.5
Cyan 0.54 1.5 1.5
Magenta 0.54 2.0 2.0
Orange 0.54 1.0 2.0
Black 0.72 1.5 1.5
Dark Green 0.72 1.0 1.0
Dark Orange 0.72 1.0 2.0

Notes:

1) The colors shown are adjusted for maximum brightness and only approximate (different color spaces are used on TV - BT601 and web pages - sRGB).[15]

2) At least on the Color Computer 1 and 2, the alternate palette of text modes (actually the text portion of semigraphic modes) was dark pink (or dark red) on light pink, of shades not listed here (and no dark orange), whereas the Color Computer 3, with a different chip, made it dark orange on orange.

The first eight colors of this table were numbered 0 to 7 in the upper bits of the character set (when bit 7 was set, bits 4-6 represented the color number), but ColorBASIC's numbering was 1 higher than that in text mode, as it used 0 for black.

Video modes[edit]

Possible MC6847 video display modes:[1]

Video Mode Resolution Colors Bytes
Mode 1: Alpha Modes Internal Alphanumerics 32 x 16 (8x12 pixel characters) 2 (GDG or ODO) 512
Internal Alphanumerics Inverted
External Alphanumerics
External Alphanumerics Inverted
Semigraphics 4 (SG4) 64 × 32 8 (BGYBRWCMO) 512
Semigraphics 6 (SG6) 64 × 48 8 (BGYBRWCMO)
Mode 2: Graphics Modes Color Graphics One (CG1) 64 × 64 4 (GYBR or WCMO) 1024
Resolution Graphics One (RG1) 128 × 64 2 (GW or BW)
Color Graphics Two (CG2) 4 (GYBR or WCMO) 2048
Resolution Graphics Two (RG2) 128 × 96 2 (GW or BW) 1536
Color Graphics Three (CG3) 4 (GYBR or WCMO) 3072
Resolution Graphics Three (RG3) 128 × 192 2 (GW or BW)
Color Graphics Six (CG6) 4 (GYBR or WCMO) 6144
Resolution Graphics Six (RG6) 256 × 192 2 (GW or BW)

Character Generator[edit]

The built-in character generator ROM offers 64 ASCII characters with 5x7 pixels. Characters can be green or orange, on dark green or orange background, with a possible "invert" attribute (dark character on a bright background).[1]

MC6847 Character Generator Alphanumeric Characters
0 1 2 3 4 5 6 7 8 9 A B C D E F
0x @ A B C D E F G H I J K L M N O
1x P Q R S T U V W X Y Z [ \ ] ^ _
2x ! " # $ % & ' ( ) * + , - . /
3x 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4x @ A B C D E F G H I J K L M N O
5x P Q R S T U V W X Y Z [ \ ] ^ _
6x ! " # $ % & ' ( ) * + , - . /
7x 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

An updated version of the chip (MC6847T1) was capable of generating lowercase characters.[16]

See also[edit]

References[edit]

  1. ^ a b c "MC6847/MC6847Y Video Display Generator, Motorola, 1984" (PDF).
  2. ^ "Color Computer Technical Reference Manual - III THEORY OF OPERATION".
  3. ^ "Dragon 32".
  4. ^ "old-computers.com: VIDEO TECHNOLOGY > LASER 200 / 210".
  5. ^ "old-computers.com: - TANDY RADIO SHACK > MC 10".
  6. ^ "old-computers.com: NEC > PC 6001".
  7. ^ "Yet another computer museum - The Acorn Atom".
  8. ^ "Home computer & video game museum: APF Imagination Machine".
  9. ^ "Semi-graphics-6 display mode". February 14, 2021. Archived from the original on 14 February 2021.
  10. ^ a b "Datasheet Archive MC6847 datasheet download". www.datasheetarchive.com.
  11. ^ "Motorola VDG Colours". hcvgm.org.
  12. ^ Benchoff, Brian (29 January 2016). "VGA In Memoriam". Hackaday.
  13. ^ Posey, Bruce Charles (1982). Graphics Using the Motorola 6847 Integrated Circuit. W.S.U. Printing Service.
  14. ^ a b "MC6847* datasheet & applicatoin notes - Datasheet Archive". www.datasheetarchive.com.
  15. ^ a b "Motorola 6847 emulator code, including palette as sRGB values - Chips: A toolbox of 8-bit chip-emulators". GitHub.
  16. ^ "MC6847T1 Datasheet" (PDF). Motorola. 1985.