Shape table

Shape table

Shape tables were a powerful yet little-used feature of Applesoft BASIC allowing for simple graphic manipulation on Apple II series computers, using the "hi-res" graphics mode.

The vectors of a two-dimensional graphic, each encoding a direction from the previous pixel along with a flag indicating whether the new pixel should be illuminated or not, were encoded up to three in a byte. These were stored in a table via the Monitor or the POKE command. From there, the graphic could be referenced by number (a table could contain up to 255 shapes), and built-in Applesoft routines permitted scaling, rotating, and drawing or erasing the shape. An XOR mode was also available to allow the shape to be visible on any color background; this had the advantage, also, of allowing the shape to be erased by redrawing it.

Apple did not provide any utilities for creating shape tables; they had to be created by hand, usually by plotting on graph paper, then calculating the hexadecimal values and entering them into the computer. Beagle Bros did create a shape table editing program which eliminated the "number crunching" called Apple Mechanic.

Applesoft's high-resolution graphics routines were not optimized for speed, so shape tables were not typically used for performance-critical software such as games, which were typically written in assembly language and used pre-shifted bitmap shapes. Shape tables were used primarily for static shapes and sometimes for fancy text (Beagle Bros offered a number of fonts as Applesoft shape tables).

See also

* Sprite

External links

* [http://www.atariarchives.org/cgp/Ch03_Sec05.php Atariarchives.org example] , detailed instructions on assembling shape tables by hand


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Table tennis styles — Table tennis is unique among racket sports in that it supports a large variety of different styles of players. As players levels increase, the diversity of styles decreases slightly, because technically weak styles are quickly eliminated. But… …   Wikipedia

  • Table (furniture) — A chic table in an Iranian palace A wooden dining table and cha …   Wikipedia

  • shape — shape1 W2S2 [ʃeıp] n ▬▬▬▬▬▬▬ 1¦(round/square etc)¦ 2¦(health/condition)¦ 3 knock/lick/get somebody/something into shape 4¦(character of something)¦ 5 take shape 6 in the shape of something 7 not in any shape or form 8¦(thing not seen clearly)¦… …   Dictionary of contemporary English

  • shape — 1 /SeIp/ noun 1 OUTER FORM a) (C, U) the outer form of something, that you see or feel: What shape is the table round or oval? | You can recognize a tree by the shape of its leaves. | round/square etc in shape: The eyeball is almost spherical in… …   Longman dictionary of contemporary English

  • Table tennis — Ping Pong redirects here. For other uses, see Ping Pong (disambiguation). Table tennis Table tennis at the highest level Highest governing body ITTF Nickname(s) Ping pong …   Wikipedia

  • table tennis — a game resembling tennis, played on a table with small paddles and a hollow celluloid or plastic ball. See illus. under racket2. [1900 05] * * * or (trademark) Ping Pong Game similar to lawn tennis that is played on a tabletop with wooden paddles …   Universalium

  • shape — 1. noun 1) the shape of the dining table Syn: form, appearance, configuration, formation, structure; figure, build, physique, body; contours, lines, outline, silhouette, profile 2) a spirit in the shape of a fox …   Thesaurus of popular words

  • Table Bluff Light — Infobox Lighthouse caption = U.S. Coast Guard Archive location = Table Bluff, California coordinates = coord|40|41|45.02|N|124|16|26.16|W |display=inline yearbuilt = 1892 yearlit = 1892 automated = 1953 yeardeactivated = 1961 foundation =… …   Wikipedia

  • Table Mountains National Park — Infobox protected area name = Table Mountains National Park native name = Park Narodowy Gór Stołowych iucn category = II caption = View from Szczeliniec Wielki mountain location = Lower Silesian Voivodeship, Poland area = 63.39 km² established =… …   Wikipedia

  • shape — 1. noun 1) the shape of the dining table Syn: form, appearance, configuration, structure, contours, lines, outline, silhouette, profile 2) a spirit in the shape of a fox Syn: guise …   Synonyms and antonyms dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”