Free Science Fiction Stories

Free stories from the depths of my imagination

Wee Basic 0.81 New version of nintendo ds basic interpreter

Wee81

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)

September 4, 2009 - Posted by freescifistories | Nintendo DS | | 17 Comments

17 Comments »

  1. Great!
    Sounds very good.
    I’m looking forward to test all the new features!

    THANX!

    Comment by montesquou | September 4, 2009 | Reply

  2. Thanks Monte.

    Comment by freescifistories | September 4, 2009 | Reply

  3. 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!

    Comment by Jerry | September 9, 2009 | Reply

    • Thanks Jerry. I’ll try and get subdirectories working in a future release.

      Comment by freescifistories | September 9, 2009 | Reply

  4. 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” “.

    Comment by montesquou | September 10, 2009 | Reply

    • Monte, I agree it can be a bit inconsistent.

      Comment by freescifistories | September 10, 2009 | Reply

      • It was my error!
        The command loadspr has be renamed to createspr!
        Now – it funx! ;)

        Comment by montesquou | September 21, 2009

  5. 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

    Comment by bananajoe | September 16, 2009 | Reply

    • I’ll see what I can do banana

      Comment by freescifistories | September 16, 2009 | Reply

  6. Just saying Hi, and Thanks, again :-)

    Comment by KnightFire | October 6, 2009 | Reply

  7. 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.

    Comment by obcd | October 7, 2009 | Reply

    • Thanks for pointing this out obcd. I’ll look into it.

      Comment by freescifistories | October 7, 2009 | Reply

  8. 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

    Comment by tide75 | October 12, 2009 | Reply

    • 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

      Comment by CCJ | November 30, 2009 | Reply

  9. 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.

    Comment by CCJ | November 30, 2009 | Reply

    • CCJ, it’s definitely coming soon. I’ve been very poor on time at the moment.

      Comment by freescifistories | December 1, 2009 | Reply

  10. 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

    Comment by momo | December 3, 2009 | Reply


Leave a comment