Vectrex System - Hardware and Periphery Vextrex Games - Modules and Cartridges Vectrex History The last Vectrex news... The museum´s shop Vectrex Links - Info and Collectors pages

Rot_VL_M_dft ($F62B)

Rot_VL_Mode ($F61F)

This routine rotates a vector list having the following format:

mode, rel y, rel x,
mode, rel y, rel x,
. . .
. . .
mode, rel y, rel x,
0x01

The A register contains the rotation value, and the X contains a pointer to the vector list. The U register contains a pointer to a buffer into which the transformed points are to be saved.

 

ENTRY:

DP = $C8

A-reg = rotation angle value (Rot_VL_Mode only)

X-reg points to original vector list

U-reg points to rotated vector list

 

EXIT:

X-reg points to next byte after list

U-reg points to next byte after rotated list

D-reg trashed

 

Source


 


Vectrex Last Minute RSS

Related Links and sources

Please note

The Museums Staff can not answer any programming related questions. If you have extra info about this page, if you noticed errors, please help to maintain this site. Please send us the information you have.

 

 

Back to Programming Docs Index
 
 

vectrexmuseum.com