Graphics ROM

From Intellivision Wiki

Jump to: navigation, search

The Graphics ROM (GROM) is an 2048 x 8-bit ROM, GI part number RO-3-9503. The CP1610 sees GROM at addresses $3000-$37FF. The Graphics ROM contains the default character set and is used by the STIC to render characters to the screen as directed by the program. The Graphics ROM also includes decoding logic to allow the Graphics RAM to interface to the STIC.

The GROM actually implements three address decoding modes:

The GROM uses the STIC's VBlank Interrupt to switch to the CPU-access memory map. The CPU's BUSAK signal switches the GROM back to the display-generation memory map. The GROM looks at the BAR' and DWS' signals from the STIC to choose between Color Stack and Foreground/Background decoding. If both of these signals pulse positive together, the GROM switches to Foreground/Background mode until the next interrupt.

This article describes how pictures are encoded in graphics memory (both GRAM and GROM).

GROM Picture Catalog

GROM card #0 through #94 correspond directly to ASCII character codes #32 through #126. Thus, you can convert an ASCII code to a GROM card number by simply subtracting 32. The reason for this is that ASCII codes below 32 are "control characters" -- these charactes have no pictures associated with them. Therefore, the GROM starts with the first printable ASCII character.

The following table illustrates the ASCII character set, and how it corresponds to the first portion of the GROM. Note that ASCII code #32 is the "space character".

       -----------    ----------   -------------------------------
         32 - 47        0 - 15       ! " # $ % & ' ( ) * + , - . / 
         48 - 63       16 - 31     0 1 2 3 4 5 6 7 8 9 : ; < = > ? 
         64 - 79       32 - 47     @ A B C D E F G H I J K L M N O 
         80 - 95       48 - 63     P Q R S T U V W X Y Z [ \ ] ^ _ 
         96 - 111      64 - 79     ` a b c d e f g h i j k l m n o 
        112 - 126      80 - 95     p q r s t u v w x y z { | } ~   

The following maps hexadecimal GROM card numbers to both the ASCII characters shown above, as well as the generic graphic elements in the GROM. The diagram omits the portion of GROM that contains EXEC code. For the ASCII portion, it is the same information as the above table, in a slightly different form. The column at the left gives the first hexadecimal digit, and the row across the top gives the second hexadecimal digit. For instance, the letter A would be GROM card #$21. Cards #$D5 and up contain EXEC code.

Grom index.png

Personal tools