EmbeddedRelated.com
Forums

Butterfly BASIC for the MSP430

Started by Paul Curtis August 24, 2004
All,

I've just uploaded Butterfly BASIC for the MSP430 to our website--it
wasn't doing anybody eny good languishing on my hard disk.

Butterfly BASIC is a small BASIC interpreter for the MSP430 which stores
its program in FLASH and uses very little RAM.  It's released under the
GPL, and compiles with CrossWorks for MSP430 and runs on a selection of
boards, e.g. the SoftBaugh ES449 and DIr169.

There is some documentation, but not enough as I would like.  As always,
the code is pretty good, the documentation lacking, and I've had no time
to work on it.  I'll answer questions on it, but not of the sort that
would lead me to do another port.  If somebody else wants to take up the
baton, that's fine.

Have fun!

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors 


Beginning Microcontrollers with the MSP430

Geez, eny.  That's what you get typing quickly.  :-( 

> -----Original Message-----
> From: Paul Curtis 
> Sent: 24 August 2004 16:56
> To: 'msp430@'msp...'
> Subject: Butterfly BASIC for the MSP430
> 
> All,
> 
> I've just uploaded Butterfly BASIC for the MSP430 to our 
> website--it wasn't doing anybody eny good languishing on my hard disk.
> 
> Butterfly BASIC is a small BASIC interpreter for the MSP430 
> which stores its program in FLASH and uses very little RAM.  
> It's released under the GPL, and compiles with CrossWorks for 
> MSP430 and runs on a selection of boards, e.g. the SoftBaugh 
> ES449 and DIr169.
> 
> There is some documentation, but not enough as I would like.  
> As always, the code is pretty good, the documentation 
> lacking, and I've had no time to work on it.  I'll answer 
> questions on it, but not of the sort that would lead me to do 
> another port.  If somebody else wants to take up the baton, 
> that's fine.
> 
> Have fun!
> 
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk 
> CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors 
> 

On Tue, 24 Aug 2004 17:55:33 +0100, Paul wrote:

>I've just uploaded Butterfly BASIC for the
MSP430 to our website--it
>wasn't doing anybody eny good languishing on my hard disk.

Where is it located, Paul?

Thanks in advance,
Jon

It's in small print near the right edge of the website, but
here's a 
direct link (took me awhile to find it too):
http://www.rowley.co.uk/msp430/basic.htm

-Adam

Jonathan Kirwan wrote:

>On Tue, 24 Aug 2004 17:55:33 +0100, Paul wrote:
>
>  
>
>>I've just uploaded Butterfly BASIC for the MSP430 to our
website--it
>>wasn't doing anybody eny good languishing on my hard disk.
>>    
>>
>
>Where is it located, Paul?
>
>Thanks in advance,
>Jon
>
>  
>

On Tue, 24 Aug 2004 15:06:58 -0400, Adam wrote:

>It's in small print near the right edge of the
website, but here's a 
>direct link (took me awhile to find it too):
>http://www.rowley.co.uk/msp430/basic.htm

Ah!  I was thinking that by "our website" that Paul meant the yahoo
msp430 one,
where files can be stored there.  Cripes!

Thanks, Adam!

Jon

Hi Jon,

Sorry, thought it was obvious in the right-hand column, but I realised
afterwards I should have put in a URL:

http://www.rowley.co.uk/msp430/basic.htm

Rgds,

-- Paul.

> -----Original Message-----
> From: Jonathan Kirwan [mailto:jkirwan@jkir...]
> Sent: 24 August 2004 19:46
> To: msp430@msp4...
> Subject: Re: [msp430] Butterfly BASIC for the MSP430
> 
> 
> On Tue, 24 Aug 2004 17:55:33 +0100, Paul wrote:
> 
> >I've just uploaded Butterfly BASIC for the MSP430 to our
website--it
> >wasn't doing anybody eny good languishing on my hard disk.
> 
> Where is it located, Paul?
> 
> Thanks in advance,
> Jon
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CFFolB/TM
> --------------------------
> ------~-> 
> 
> .
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 

Hi Jon,

> On Tue, 24 Aug 2004 15:06:58 -0400, Adam wrote:
> 
> >It's in small print near the right edge of the website, but
here's a 
> >direct link (took me awhile to find it too):
> >http://www.rowley.co.uk/msp430/basic.htm
> 
> Ah!  I was thinking that by "our website" that Paul meant the 
> yahoo msp430 one,
> where files can be stored there.  Cripes!
> 
> Thanks, Adam!

I have a different viewpoint of "our", obviously.  :-)

Don't snigger at the code.  The thing I don't like about the code is
the
flash handling for program storage, which is far too opaque.

The interpreter tokenises the basic program and pre-checks it for
mismatched control structures (as far as it can) before running.

If the interpreter is better placed somewhere else, for community
effort, that's fine by me.  I don't think the Y! file area is a good
place to store it, but a link to it or a sourceforge project would be
ok.  I was going to get graphics primitives running on a DIr169
connected to a Nokia 3310 display, but no time, unfortunately.

Implementing a floating-point BASIC isn't that difficult either, but
integer BASIC is enough for my use.

-- Paul.