© 1985 ASCII CORP. / NIPPON GAKKI CO.
Page 93 of 108
© 2010-2015 Eugeny Brychkov
Step 4: Check for command completion
CPU should check CE bit of status register S#2 to identify if VDP has completed
execution of the command. When command is being executed, CE bit is set to 1; when
command is complete, CE bit will be reset to 0. After completion of the command, source
dot color code can be read from status register S#7. Note that format of the data in
various graphics mode differs.
MSB
7 6 5 4 3 2 1 0
LSB
S#7
- - - - C3
C2
C1
C0 G4,
G6
- - - - - - C1
C0 G5
C7 C6 C5 C4 C3 C2 C1 C0 G7
4.5. Speeding up the processing of VDP commands
Programmer can use two methods to speed up VDP hardware acceleration commands.
Use of both methods is related to decreasing VDP access to the VRAM and freeing
available VRAM time slots for command execution.
•
Disabling sprites: setting register R#8 bit SPD to 1 disables sprite processing
•
Disabling screen display: setting register R#1 bit BL to 0 will completely disable
screen display freeing significant memory access time for command execution