beautypg.com

Motorola DSP96002 User Manual

Page 603

background image

B-84

DSP96002 USER’S MANUAL

MOTOROLA

OUTPUT

Address register r5 should point to a display list data area when the polyline generator is called. Afterwards,

the display list will be in the following format:

Polygon1: X1,Y1

X2,Y2

X3,Y3

Xn,Yn

Delimiter -1.0

Polygon2: X1,Y1

X2,Y2

Delimiter -1.0

PolygonM: X1,Y1

Xn,Yn

-2.0

All coordinates are in IEEE single-precision floating-point format to speed up the DSP96002 floating-point

incremental line drawing algorithm.

ADDRESS REGISTER USAGE

Four address registers are used:

r0 input list

r1 temporary coordinates

r4 transformation matrix, scale and offset for 2D transformation

r5 output list

r6 miscellaneous scratchpad memory