Page 1 of 1

Missing Feature Checklist

Posted: Tue 11 Nov, 2008 2:43 pm
by benryves
There are a number of features currently missing in BBC BASIC that I'm working on. The list here is to give people a rough idea of what is planned!

This list will grow and shrink as features are implemented and new ones are suggested.

Graphics Operations
  • Horizontal line fill to non-background.
  • Horizontal line fill to background right.
  • Horizontal line fill to foreground.
  • Horizontal line fill to non-foreground right.
  • Draw a circular arc.
  • Plot and fill a segment.
  • Plot and fill a sector.
  • Move a rectangular block.
  • Copy a rectangular block.
  • Swap a rectangular block.
OS ("Star") Commands
  • *KEY (redefine a function or special key)
  • *RENAME (rename a file)
  • *SPOOL (copy console output to a file)
Extensions
  • Ability to load assembly binary (compiled) libraries.
  • Some way of getting addresses of variables in RAM by name (eg address of graphics buffer or text foreground colour variable) rather than rely on hard-coding constants into programs.
Bugs
  • USB freezes/crashes on TI-84+ series.

Re: Missing Feature Checklist

Posted: Thu 10 Sep, 2009 11:33 pm
by James
(Not sure what category)
- Ability to change keyboard back to normal TI-OS (perhaps your "key" command would do this).
--- Would also be nice to have things like ALPHA and 2nd changed back to normal. And Delete. Basically, have everything changed to normal key layout.
--- [2nd] Entry (put last command entered back into typing space).

Reason: It can be kind of annoying to have to remember two keyboard for the calc.

Re: Missing Feature Checklist

Posted: Thu 10 Sep, 2009 11:41 pm
by benryves
I deliberately avoided that input mode for a number of reasons, the most obvious one being how you could type a $ or & in the "TI-OS" mode.

Re: Missing Feature Checklist

Posted: Tue 17 Nov, 2009 12:43 am
by builderboy
Sooo is there any way to set an array to a determined list? Like DIM AX(5) = {1,2,3,4,5}?

Re: Missing Feature Checklist

Posted: Tue 17 Nov, 2009 11:51 am
by benryves
Not as such, no. The incomplete MAT statement will let you set a constant value (but won't work in other versions of BBC BASIC).

Instead of assigning elements individually (AX(0)=0:AX(1)=1:...) you can use DATA and READ:

Code: Select all

10 DIM AX(4):FORI%=0TO4:READAX(I%):NEXT
20 DATA 1,2,3,4,5
Alternatively, if there's enough data (eg level data), consider using an external data file and reading it using the file I/O routines.

I've run out of ROM space for BBC BASIC (down to around 20 bytes!) so have had to put new features on hold. :(