VDP1 accesses and draws the table on VRAM as follows.
Procedure 1. Control drawing and display according to the instructions set in the system register.
Step 2. Fetch the command table of the VRAM start address.
Step 3. The fetched command table is
- (1) Ends drawing when the drawing end command is executed. → Step 9
(2) When the jump format is skip, the command table is ignored. When table reading is complete,
Will not be processed. → Step 8
(3) If other than (1) and (2), go to step 4.
Step 4. For the clipping coordinate setting command and relative coordinate setting command, perform the respective processing. → Step 8
Step 5. If the drawing command is specified, read the Gouraud shading table and the color lookup table.
Extruding.
Step 6. Read character pattern table when drawing texture and write to frame buffer as specified
Included. At this time, color mode processing, color calculation, inversion, scaling, and rotation are processed.
Step 7. When drawing non-texture, write to the frame buffer as specified.
Step 8. Fetch the next command table according to the jump format instructions and process the repeated command table
To do. → Step 3
Step 9. Repeat drawing at the start of the frame. → Step 1