ArticleslgStudy

computer science

Semigraphics

Semigraphics is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Semigraphics rather than just read about it. In short: Text-based semigraphics, pseudographics, or character graphics is a primitive method used in early text mode video hardware to emulate raster graphics without having to implement the logic for such a display mode. There are two different ways to accomplish the emulation of raster graphics.

Semigraphics — main illustration
Semigraphics — illustration

Key takeaways

  • Semigraphics belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Semigraphics to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Semigraphics from memory before moving on to harder problems.

Reference excerpt

Text-based semigraphics, pseudographics, or character graphics is a primitive method used in early text mode video hardware to emulate raster graphics without having to implement the logic for such a display mode. There are two different ways to accomplish the emulation of raster graphics. The first one is to create a low-resolution all points addressable mode using a set of special characters with all binary combinations of a certain subdivision matrix of the text mode character size; this method is referred to as block graphics, or sometimes mosaic graphics. The second one is to use special shapes instead of glyphs (letters and figures) that appear as if drawn in raster graphics mode, sometimes referred to as semi- or pseudo-graphics; an important example of this is box-drawing characters. Semigraphical characters (including some block elements) are still incorporated into the BIOS of any VGA compatible video card, so any PC can display these characters from the moment it is turned on, even when no operating system is yet loaded. Single and double lines are still often drawn with this method when the system uses text mode; for example when running the BIOS setup program. Many of these historical ideas have been adopted into Unicode, in, for example in the Symbols for Legacy Computing, Block Elements, Box Drawing and Geometric Shapes Unicode blocks.

Block graphics For character cells consisting of 8 vertical and 8 horizontal pixels (an 8 × 8 character), 264 ≈ 1019 characters would be needed to represent every possible combination of the 64 pixels. Instead, if the 8 × 8 character is divided into 2 × 2 "pixels" called quadrants, only 16 characters are needed for every combination. This was, for example, used in the Sinclair ZX81). Another example divided an 8 × 12 pixel character vertically in two halves and horizontally in three parts, and then assigning "ink" and "background" values to the elements of the matrix in a binary pattern, corresponding to the binary sequence of the position in the font table of a 2 × 3 block mosaic matrix of so-called squots (square dots) or sextants. Less often used versions use a 1 × 6 "matrix", in which case these six "pixels" are sometimes referred to as sixels. Sometimes the text semigraphical characters are simply incorporated into the systems font-set, sometimes special video hardware is used to directly convert the bit-pattern from video memory into the pixels. In rare cases a character matrix was not dividable vertically by three, for example in an 8 × 8 matrix the mosaic is sometimes divided so that it uses a 3:2:3 scan-line scheme. The Galaksija's graphics mode is an example, although with a 4:5:4 scheme the distortion effect was minimal. The seminal use of this technology was in the TRS-80, where the only way to get discrete pixels on the screen that could be turned on and off individually (all points addressable) was by the use of a 2 × 3 pixel matrix of block graphics. In the case of the TRS-80 these block graphics were not incorporated into a font ROM, as later became the norm, but were generated directly from the logic pattern of six bits from the video RAM using a dedicated circuit made from logic gates. An earlier system using the same pseudo-graphics array of a 2 × 3 matrix was the Video Terminal Interface (VTI) of the Poly-88 by polymorphic systems, an S-100 bus based system predating the TRS-80. If the system also supported color, the color resolution of the resulting pixels was normally equal to the text resolution, often leading to attribute clash as the color of a pixel could not be changed on a per-pixel basis, but only to one "ink" and one "background" color for all pixels within a character position. Sometimes the number of characters in the font, dedicated to block graphics, could be halved if the system also supported an "invert" attribute, as half the characters in a full block graphics font set are the logical inverse of the other half of the font set. Other tricks that were used to decrease the number of needed characters was to use a space for the "all bits are zero" character, and to use character 7F hex for the "all bits are on" character, as character 7F hex (decimal 127) was often defined as an "all pixels on" character (this was because when using papertape punching out all seven holes, created the 7F hex "byte" which was considered to be the "DEL" or "rub-out" character). The assignment in ASCII of the rub-out character (to the code point 127) led designers of VDUs to use "rub-out" for a character square filled with "ink", which was often used to represent the cursor.

Examples of the use of block graphics

Other examples of systems that relied on the use of block graphics are:

… excerpt ends here. Continue reading the full article.

Illustrations

Semigraphics: Image rendered using MDA block graphics
Image rendered using MDA block graphics
Semigraphics: Color image rendered using Teletext semigraphic characters
Color image rendered using Teletext semigraphic characters
Semigraphics: Sample character set display showing block graphics as used in the TRS-80 Color Computer (CoCo), Laser 210 and Dragon 32/64
Sample character set display showing block graphics as used in the TRS-80 Color Computer (CoCo), Laser 210 and Dragon 32/64
Semigraphics: Semigraphical characters  used on the game Kingdom of Kroz
Semigraphical characters used on the game Kingdom of Kroz
Semigraphics: PETSCII Chart as displayed on the C64 in shifted and unshifted modes. (Not shown are control codes, as well as characters in the $C0–$FF range, which are the standard uppercase keycodes returned from the keyboard, and which are mirrored to the range $60–$7F.)
PETSCII Chart as displayed on the C64 in shifted and unshifted modes. (Not shown are control codes, as well as characters in the $C0–$FF range, which are the standard uppercase keycodes returned from the keyboard, and which are mirrored to the range $60–$7F.)

Worked examples

Example 1 — a first encounter with Semigraphics

Start with the simplest possible case. Write down what Semigraphics claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Semigraphics before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Semigraphics ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Semigraphics

In research
Semigraphics appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Semigraphics in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Semigraphics is common in secondary-school and first-year university syllabi. It links to neighbouring topics Character sets, Computer graphic techniques, Computer graphics data structures, so understanding it makes those chapters shorter.
In everyday life
Look for Semigraphics outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Semigraphics” →

How to study Semigraphics in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Semigraphics means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Semigraphics out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Semigraphics in simple terms?

Text-based semigraphics, pseudographics, or character graphics is a primitive method used in early text mode video hardware to emulate raster graphics without having to implement the logic for such a display mode. There are two different ways to accomplish the emulation of raster graphics.

Why does Semigraphics matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Semigraphics?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Semigraphics.

Tags

  • Character sets
  • Computer graphic techniques
  • Computer graphics data structures
  • Graphics file formats
  • Videotex

Keep exploring