Pset - Yamaha V9938 Programmer's Manual

Msx-video
Table of Contents

Advertisement

4.4.11. PSET

PSET command is used to draw a dot in VRAM of expansion RAM. Programmer can
select logical operation on the existing color of the dot in the specified location. The units
used are dots.
PSET execution order
Step 1: Set necessary coordinates in command registers
MSB
R#36
R#37
R#38
R#39
Step 2: Set color register value
Color of the dot should be coded in color register R#44 (CLR). Format of color data
depends on the graphics mode. It is possible to do logical operation on the existing and
new color of the defined dot through coding the code of logical operation in the CMR.
MSB
R#44
© 1985 ASCII CORP. / NIPPON GAKKI CO.
Video or expansion RAM
(DX, DY)
7
6
5
DX7
DX6
DX5
0
0
0
DY7
DY6
DY5
0
0
0
7
6
5
-
-
-
-
-
-
C7
C6
C5
4
3
2
DX4
DX3
DX2
0
0
0
DY4
DY3
DY2
0
0
0
4
3
2
-
C3
C2
-
-
-
C4
C3
C2
Page 90 of 108
1
0
LSB
DX1
DX0
DX: Target
point X
0
DX8
DY1
DY0
DY: Target
point Y
DY9
DY8
1
0
LSB
C1
C0
G4, G6
C1
C0
G5
C1
C0
G7
© 2010-2015 Eugeny Brychkov

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents