Updating the BasicX Environment

Started by tombhandley March 23, 2005

We really need an update to BasicX. Is there anyone from NetMedia
here?

For one thing, the editor... You can't even use CTRL-S to Save a
Project. Also the lack of UnDo. There are many more issues with the
Editor.

One major concern of mine is the Task Stack. The Compiler should
should indicate what a Task requires without us having to resort to
Mike Perks excellent utility. This 'rule of the thumb' estimate on
how much memory we should reserve for the Stack is at best,
ridiculous...

There are many other things I wish they would implement. Like
software SPI instead of the hardware version using the extra pins
which are shared with the program EEPROM. Another is I2C routines.
I've posted examples of the above on my web site but it should have
been built into the language. There are other things that could be
added by example of the Stamps' PBasic v2.1.

Don,t get me wrong. I this BasicX and the core chip are superior to
the Stamp, I'm just concerned about NetMedia's support since most of
the stuff on their web site is over three years old...

- Tom



Re: Updating the BasicX Environment
This message may be of interest to you:
http://groups.yahoo.com/group/basicx/message/16705

I am not sure if NetMedia's invitation is still open, but its worth asking.

Thad

p.s. Thanks again to Mike and Don for their contribution of bxDism.

tombhandley <> wrote:

We really need an update to BasicX. Is there anyone from NetMedia here?

---------------------------------


Tom,

Some comments on your append.

>
> We really need an update to BasicX. Is there anyone from NetMedia
> here?
>
> For one thing, the editor... You can't even use CTRL-S to Save a
> Project. Also the lack of UnDo. There are many more issues with the
> Editor.

Yes a better IDE is definitely needed. My favorite idea would be to
write an Eclipse plugin for BasicX programs as so much is already done
for you.

>
> One major concern of mine is the Task Stack. The Compiler should
> should indicate what a Task requires without us having to resort to
> Mike Perks excellent utility. This 'rule of the thumb' estimate on
> how much memory we should reserve for the Stack is at best,
> ridiculous...

Actually this is a very hard problem that can only best be resolved by
both static analysis and runtime simulation. Another "enhancement" is to
provide a runtime check for task stack overflow and print some kind of
message or send an interrupt back to the host PC. Once this is done,
there could be a whole set of host interrupts for different things.

Thank you for the kind words about bxDism. I would say that it is more
than a rule of thumb - the task stack calculation provided by bxDism is
based on hard calculations of what I call the "stack effect" against
each individual instruction in the BXB file. But it is static analysis
not a dynamic analysis.

>
> There are many other things I wish they would implement. Like
> software SPI instead of the hardware version using the extra pins
> which are shared with the program EEPROM. Another is I2C routines.
> I've posted examples of the above on my web site but it should have
> been built into the language. There are other things that could be
> added by example of the Stamps' PBasic v2.1.

At the time I think NetMedia did a great job of squeezing so much
functionality into the 8K flash. What was leftover became "external
functions" that get added to the BXB file. But now Atmel chips are
available with bigger flash memories, I agree that there is a whole set
of new function that could be added in another 8K and still have room
left over.

>
> Don,t get me wrong. I this BasicX and the core chip are superior to
> the Stamp, I'm just concerned about NetMedia's support since most of
> the stuff on their web site is over three years old...


Yep BasicX rocks compared to OOPic, Stamp and the other high-level
programming chips. Marketing and market acceptance however could be
better. As it is I sometimes feel like BasicX is the Betamax of the
industry. I too share your concern. Chris is not very active on this
board and as fas as I can tell the BX-24p that was due in February has
still not made it out the door.

>
> - Tom
>





Mike, thanks for the feedback. As far as the Task Stack, I need to
study it a little more. I still have not finished going over your on-
line docs which have been a great help. My comments about it related
to the 'add 20% and tweak it' part...

- Tom

--- In , Mike Perks <basicx@a...> wrote:
[See Above Reply]