Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Shape table
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Apple II graphics feature}} {{multiple issues| {{essay like|date=July 2018}} {{refimprove|date=April 2015}} }} '''Shape tables''' are a feature of the [[Apple II]] ROMs which allows for manipulation of small images encoded as a series of vectors. An image (or ''shape'') can be drawn in the high-resolution graphics mode—with scaling and rotation—via software routines in the ROM. Shape tables are supported via [[Applesoft BASIC]] and from [[machine code]] in the "Programmer's Aid" package that was bundled with the original [[Integer BASIC]] ROMs for that computer. Applesoft's high-resolution graphics routines were not optimized for speed,<ref name="simoni198308">{{cite news | url=https://archive.org/stream/byte-magazine-1983-08/1983_08_BYTE_08-08_The_C_Language#page/n291/mode/2up | title=A New Shape Subroutine for the Apple | work=BYTE | date=August 1983 | accessdate=9 February 2015 | author=Simoni, Richard T. Jr. | pages=292}}</ref> 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 in ''Font Mechanic'' as Applesoft shape tables. ==Technical details== The [[Tuple|vector]]s 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 <code>[[PEEK and POKE|POKE]]</code> 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 [[Exclusive or|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 easily 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]] created a shape table editing program, which eliminated the "number crunching", called ''[[Apple Mechanic]]'', and a related program, ''[[Font Mechanic]]''. == See also == * [[Sprite (computer graphics)|Sprite]] ==References== {{reflist}} == External links == * [http://www.atariarchives.org/cgp/Ch03_Sec05.php Atariarchives.org example], detailed instructions on assembling shape tables by hand [[Category:Computer graphics]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite news
(
edit
)
Template:Multiple issues
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)