• September 20, 2018, 12:37:17 PM
  • Welcome, Guest
Advanced search  

News:

Author Topic: Coding the Vectrex  (Read 3839 times)

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Coding the Vectrex
« on: January 30, 2014, 05:11:39 PM »

A while ago, I started playing with the delights of ASM on the Vectrex. Quite fun and a nice little diversion.

Because I doubt I will go any further with the two 'playthings', I decided to upload them and share.

(if anyone wants the source - just shout)
Logged
Coding for the love of it!

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Coding the Vectrex
« Reply #1 on: January 30, 2014, 05:14:03 PM »

Ok, the first one I did was a little ship moving thing.

Use L/R to rotate the ship and press button 1 and 2 for fire and thrust... Yep, thats it.. lol.

(also, I never did work out a nice way to slow the ship down as a percentage of each speed vector)

The vectrex .bin file is under the picture.


Logged
Coding for the love of it!

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Coding the Vectrex
« Reply #2 on: January 30, 2014, 05:16:57 PM »

Then, the 2nd one was actually getting more like a game.

It's a 2d Tempest. The code already handles many aliens, all detection, the line thingies, and such. Though, in the demo, I only present 2 aliens.. lol

L/R to move and button 1 to shoot.

Just to also say, in the source there are some nice routines. For one, the vector score code is handy and used in both demo's. Also, this has a nice adder as well that auto adds to the byte stored score. Anyway.... on with the show.

Logged
Coding for the love of it!

spacefractal

  • RBP Team Member
  • Blue Gene Super Computer
  • *****
  • Offline Offline
  • Posts: 4137
Re: Coding the Vectrex
« Reply #3 on: January 30, 2014, 05:33:32 PM »

which emulator should im uses? its look like a fun little game and nice setup too, and nice to see coding for old machines like this one :-D.
Logged
The Musician for the RetroBytes Portal Projects.

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Coding the Vectrex
« Reply #4 on: January 30, 2014, 05:35:37 PM »

You can use any you like. Personally, I would go for parajve.
Logged
Coding for the love of it!

Crayfis

  • Proterian
  • ZX80
  • *****
  • Offline Offline
  • Posts: 17
Re: Coding the Vectrex
« Reply #5 on: May 14, 2014, 10:50:16 AM »

Some cool pics in this Flickr group:
https://www.flickr.com/groups/18763363@N00/

and a nice demo of the light pen:


EDIT
*dont know why, youtube embed isnt showing for me so here is url:
« Last Edit: May 14, 2014, 11:19:12 AM by Crayfis »
Logged

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Coding the Vectrex
« Reply #6 on: May 14, 2014, 11:12:45 AM »

Love some of the panel artwork on them. Sweet
Logged
Coding for the love of it!