My FemtoBasic update
Oldbitcollector (Jeff)
Posts: 8,091
Femtobasic captured enough of my attention to add some additional commands to it while I'm in the process of learning SPIN. To me it gives the propeller the feel of an early 80's microcomputer, (only with SD/MMC and VGA) so I thought I'd write a game for it.
.zip contains a new Femtobasic with a few additional commands, the intro-boot for an animated game, as well as a test program for the addition of an Atari joystick.
If someone can figure out the LOCATE command issues, I'd be grateful. [noparse]:)[/noparse]
(PS, Mike, I promise I'll move more toward spin development soon.. <smirk>)
Oldbitcollector
Update: for completeness, I've added the joystick interface I used...
Post Edited (Oldbitcollector) : 3/23/2007 4:27:59 AM GMT
.zip contains a new Femtobasic with a few additional commands, the intro-boot for an animated game, as well as a test program for the addition of an Atari joystick.
If someone can figure out the LOCATE command issues, I'd be grateful. [noparse]:)[/noparse]
(PS, Mike, I promise I'll move more toward spin development soon.. <smirk>)
Oldbitcollector
Update: for completeness, I've added the joystick interface I used...
Post Edited (Oldbitcollector) : 3/23/2007 4:27:59 AM GMT




Comments
The corrected LOCATE would be:
190: 'LOCATE <expr> , <expr> c := expr ' Evaluate 1st expression if spaces <> "," ' Look for comma abort @syn skipspaces ' Skip comma and spaces dsp.out(dsp#MoveXY) dsp.out(c) ' Output MOVEXY, then x, then y dsp.out(expr)Thanks for the fix on LOCATE.. That helps me understand the translation much better.
Jeff
Post Edited (Oldbitcollector) : 3/23/2007 4:35:35 AM GMT
Tried that DISPLAY 2,X,Y without success.. But I'm curious if it is supported in the VGA
routines. (Which is what I'm using) I get some weird characters from it there.
Oldbit