Shop OBEX P1 Docs P2 Docs Learn Events
First tentative experiments with Spin — Parallax Forums

First tentative experiments with Spin

Dr_AculaDr_Acula Posts: 5,484
edited 2009-06-22 03:54 in Propeller 1
To paraphrase Newton, If I have achieved more, it is by standing on the shoulders of giants.

The giants in question include many on this forum, but in particular, Jeff Ledger for the terminal code, Vince Briel for the PockeTerm and Cluso for inspiring me to fire up the propeller.

I wanted to play some games! The N8VEM has a number of text based games, including Space Invaders, Tetris and Pacman. These use some arcane escape codes to move the cursor around, and while the PockeTerm has vt100 codes, it needed some extra ones for the Teleterm and Wyse monitors. I have trapped these in a vb.net monitor, so I have some idea what they are. So - time to translate vb.net into spin. And work within the parameters of the PockeTerm, which uses a different (and probably better) way to build up an escape sequence series.

I had to add some new variables and there was quite a bit of experimenting to prevent it failing to work on existing code. So lots of running Wordstar just to check the vt100 codes were all still valid.

This is a fun game. It is fast too, and I had to drop in a slower crystal on the N8VEM just to get all those pesky monsters!

I'm going to send Vince the code. It works perfectly for Pacman, but Space Invaders and Tetris I think are putting one character too many on the edge of the screen.

And yes, I'm now hooked on the propeller! So - onward with now getting these games working on the Triblade...
1280 x 960 - 324K

Comments

Sign In or Register to comment.