v 0.12


Version 0.12

Adds "Import BIN" and "Scale" functionality.

Scale will prompt the user for a scale factor between 0 and 2. A scalefactor of 1 would leave points unchanged.

Import BIN will search through a Vectrex binary ROM file and import any vectorlists it may find. Use Page Up and Page down keys to navigate though the imported vectorlists.

Files

VecDraw_v012.zip 16 MB
11 days ago

Get VecDraw [PC/Vectrex]

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

Chris,  could you provide a simple example of asm code where you call and display the data created by this?   this is what I was using but it is missing the line on off values so my output is slightly jumbled:

o_model_test

                    jsr      MOVEPEN 

                    ldx      #oModel_0          ; vector data 

                    lda      #14                          ; number of vectors in the data

                    ldb      #50                          ; Scaling  

                    jsr      MOVEDRAW 

                    rts      

Hi redej0,


It should be used with the Draw_VL_Mode BIOS function. Some of the others do not support the format that allows moves when drawing.

See : https://www.playvectrex.com/designit/chrissalo/draw_vl_mode.htm

Here's a little code snippet as an example :

;set vector bit pattern for drawing - $FF = complete line

LDA    #$FF

sta    Vec_Pattern

;set beam intensity

JSR     Intensity_7F            

  ;set scale factor for move

LDA    #127

STA    VIA_t1_cnt_lo

;reset beam to 0,0

JSR    Reset0Ref

;set object pos

LDD #0

JSR    Moveto_d

;draw vector list

ldx #oModel_0

JSR Draw_VL_mode

Hope that helps! Also, you should upgrade to v0.13 if you are still using v0.13 as it contains a bug fix.

Thank you! Also, thanks for such an awesome tool!!!