;*************************************************************************** ; DEFINE SECTION ;*************************************************************************** INCLUDE "VECTREX.I" ; start of vectrex memory with cartridge name... ORG 0 ;*************************************************************************** ; HEADER SECTION ;*************************************************************************** DB "g GCE 1998", $80 ; 'g' is copyright sign DW music1 ; music from the rom DB $F8, $50, $20, -$55 ; height, width, rel y, rel x ; (from 0,0) DB "VECTOR LIST TEST",$80 ; some game information, ; ending with $80 DB 0 ; end of game header ;*************************************************************************** ; CODE SECTION ;*************************************************************************** ; here the cartridge program starts off main: JSR Wait_Recal ; Vectrex BIOS recalibration LDA #$10 ; scaling factor of $80 to A STA VIA_t1_cnt_lo ; move to time 1 lo, this ; means scaling LDA #0 ; to 0 (y) LDB #0 ; to 0 (x) JSR Moveto_d ; move the vector beam the ; relative position JSR Intensity_5F ; Sets the intensity of the ; vector beam to $5f LDX #turtle_line_list ; load the address of the to be ; drawn vector list to X JSR Draw_VLc ; draw the line now BRA main ; and repeat forever ;*************************************************************************** SPRITE_BLOW_UP EQU 25 turtle_line_list: DB 23 ; number of vectors - 1 DB 2*SPRITE_BLOW_UP, 2*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, 2*SPRITE_BLOW_UP DB 2*SPRITE_BLOW_UP, 1*SPRITE_BLOW_UP DB 2*SPRITE_BLOW_UP, -2*SPRITE_BLOW_UP DB 0*SPRITE_BLOW_UP, 2*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, 1*SPRITE_BLOW_UP DB 1*SPRITE_BLOW_UP, 3*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, 4*SPRITE_BLOW_UP DB 1*SPRITE_BLOW_UP, 0*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, 1*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, 0*SPRITE_BLOW_UP DB -3*SPRITE_BLOW_UP, 2*SPRITE_BLOW_UP DB -3*SPRITE_BLOW_UP, -2*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, 0*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, -1*SPRITE_BLOW_UP DB 1*SPRITE_BLOW_UP, 0*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, -4*SPRITE_BLOW_UP DB 1*SPRITE_BLOW_UP, -3*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, -1*SPRITE_BLOW_UP DB 0*SPRITE_BLOW_UP, -2*SPRITE_BLOW_UP DB 2*SPRITE_BLOW_UP, 2*SPRITE_BLOW_UP DB 2*SPRITE_BLOW_UP, -1*SPRITE_BLOW_UP DB -1*SPRITE_BLOW_UP, -2*SPRITE_BLOW_UP DB 2*SPRITE_BLOW_UP, -2*SPRITE_BLOW_UP ;*************************************************************************** END main ;***************************************************************************