Wee Basic 0.81 New version of nintendo ds basic interpreter
Version 0.81
(Thanks to banana joe and montesquou for their suggestions in the comments for the last version)
- revamped load screen now lists files in the root directory for you to select (no more typing in file names)
- more colours added to lines and plots
black 1
blue 2
green 3
cyan 4
red 5
magenta 6
brown 7
white 8
gray 9
light blue 10
light green 11
light cyan 12
light red 13
light magenta 14
yellow 15
bright white 16
(colour 0 deletes)
- new sprite functions to flip vertically and horizontally:
* hflip <sprite no>,<screen>
* vflip <sprite no>,<screen>
- for/next now has a step parameter (the step parameter is added in square brackets):
for <variable>=<numexpression> to <numexpression> [<numexpression>]
eg for i = 10 to 1 [-2], for j= 10 to 100 [10]
- you can now use ‘;’ with print to keep on the same line (see sample program)
- new math functions added: sqr, pi, asin, acos, atan, sinh, tanh, cosh and abs
eg let x=pi, let s=sqr(5)+pi-tanh(10)+abs(-10)
- fixed: label errors
- fixed: crash when file is loaded that exceeds editor capacity
Download:WeeBasic81
(Change .ppt to .rar and unpack – as always, use at own risk)
17 Comments »
Leave a comment
-
Archives
- November 2009 (4)
- October 2009 (2)
- September 2009 (1)
- August 2009 (2)
- June 2009 (3)
- May 2009 (4)
- April 2009 (1)
- March 2009 (2)
- February 2009 (1)
- November 2008 (1)
- October 2008 (2)
- June 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS


Great!
Sounds very good.
I’m looking forward to test all the new features!
THANX!
Thanks Monte.
Great progress!
Would it be possible to have WeeBASIC load and run programs in its own folder (e.g. WeeBASIC, rather than root?
Also, it would be great to see more programming examples from users.
Thanks for making such a versatile application!
Thanks Jerry. I’ll try and get subdirectories working in a future release.
Great!
I’ve tested the new features.
Well done!
But I have problems with ’syntax tolerance’.
If I try the comand loadspr 1,1,100,100,16,16,”wurst.gif”
it’s a game of try-and-error where the basic needs a space-character at more. So the loadspr hase to typed in as ” loadspr 1 , 1 , 100 , 100 , 16 , 16 , “wurst.gif” “.
Monte, I agree it can be a bit inconsistent.
It was my error!
The command loadspr has be renamed to createspr!
Now – it funx!
Hi freescifi .
I checked the new version by only some simple tests .
The improvments are yery good
And thank you specialy for the colors …….
Another wish would be to have also different Backround colors ….
bye
Banajoe
I’ll see what I can do banana
Just saying Hi, and Thanks, again
I just played a bit with weebasic 0.81. The small sample program works without problem. However, when I load the tictactoe program, it doesn’t load in completely. The last lines loaded are in the sub touch: let sy = sty(). I have tested on a real ds with an acekard 2 and on the desmume emulator. Both show the same behavour. I have also tested with the 0.8 version, and it shows the same behavour. Any ideas what could cause these issue? As there are no sources available, I can’t search for it myself. regards.
Thanks for pointing this out obcd. I’ll look into it.
Hello,
using the scripts of nano lua I have made an emulator testing rom, to develop on pc in wee basic. Can you give me an email address, I will send the .rar to you.
bye,
mario
Hello Mario,
I’d be interested in testing this out if you’d be willing to send it to me. Is it more stable than Wee Windows? Email me at walrusbutler@gmail.com
Hello freescifistories,
Awesome work with Wee Basic! Are there going to be any more releases of Wee Windows? I love being able to test programs on the PC before moving them to the DS itself, and updated versions of the interpreter would help a great deal.
CCJ, it’s definitely coming soon. I’ve been very poor on time at the moment.
thank for this great app, I just learned how to program in BASIC
P.S It will be great if you continue this great app