Return to previous page Return to menu Go to next page

2.2 Table on VRAM

Command table, color lookup table, Gouraud shading table, and character pattern table are defined on VRAM. The table sizes and boundaries are as follows:

Table 2.2 VRAM table
 Table 
 Function 
 Command 
 Size 
 Boundary 
 Command 
Table
 Draw 
Command
 Texture 
Draw Command
 Standard Sprite Drawing Command 
1EH
20H
 Rectangle sprite drawing command 
 Transform sprite drawing command 
 Non-textured 
Draw command
 Polygon draw command 
 Polyline drawing command 
 Line drawing command 
 Coordinate setting 
Command
 Clipping 
Coordinate setting command
 User clipping coordinate setting command 
 System clipping coordinate setting command 
 Relative coordinate setting command 
 End drawing command 
 Color Lookup Table 
 20H 
 20H 
 Gouraud shading table 
 8H 
 8H 
 Character pattern table 
 any * 
 20H 
[Note] * Depends on character size and color mode.

* The size of VRAM is 4Mbit (512KByte), and addresses are assigned to addresses from 000000H to 07FFFFH in bytes. Table data cannot be written beyond address 07FFFFH. Make sure that each table fits within the VRAM size.


Return to previous page Return to menu Go to next page