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

Moveto_x_7F ($F2F2)

This routine forces the scale factor to 0x7F, and then moves the pen to the location pointed to by the X register. The relative y and relative x coordinates are both 2 byte quantities; however, only the most signicant byte of each is of any interest. The values pointed to by the X register have the following format:

X => (rel y hi),(rel y lo), (rel x hi), (rel x lo)

The position moved to is obtained by y=(0,x) & x=(2,x).

 

ENTRY:

DP = $D0

X-reg points to double-sized coordinate pair

 

EXIT:

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