Features:
- Supports large program sizes (32k executable)
- Integer, float, bit, byte, array variables and string constants
- Debug from the SBC with animation, single step, and trace variables
- Compiled for fast execution (approx. 2,500 lines/second on -062 and 12,000 on -074)
- I/O can be redirected with PIPE (to serial ports, LCD, or a subroutine)
- Floating point and transcendental math on the SBC2000-074
- Event handling (errors, interrupts, timers, and serial ports)
- Portability among SBC2000 engines
- Specialized real time control extensions
- Easy to use Integrated Development Environment
- Embedded Application Development:
Vesta Technology's innovative Vesta Single Tasking Basic (VSTB) is specifically designed for embedded system development. It combines the speedy execution of a compiled language with familiar BASIC constructs, plus some special features for embedded systems design, to create a productive and exciting programming environment.
Vesta Basic helps you write cleaner code faster. VSTB provides extensive, easy to use keywords and structures that are versatile enough for any application and object oriented to allow easy creation of extremely powerful programs.
Vesta Technology gives you the power, flexibility and ease of use that make application development fun again.
- Structured Programming:
Modeled on the latest, third-generation BASICs, Vesta Single Tasking Basic is procedure oriented to promote structured programming, enhance productivity and minimize maintenance. Subroutines and functions are called by name. Fully descriptive variable and procedure names are supported. Global, local, and static variables all promote information containment.
Vesta Basic is optimized to do more with less code. The keywords are powerful, the constructs are terse, and the compiler is intelligent. You'll be amazed at how much you can squeeze into your application.
- Speed:
Vesta Basic source code is compiled into tokens that are executed by the Runtime Engine on the Vesta SBC2000, to give you the speedy execution needed for real-time embedded control. On the SBC2000-074 and MC2000-074 engines, integer calculations execute at about 12,000 lines/second, and at about 2,500 lines/second on the SBC2000-062.
- The Integrated Development Environment:
The Vesta Basic IDE greatly simplifies the usual tasks of the embedded systems programmer by wrapping them in the familiar Windows environment, reducing formerly tedious operations to the click of a mouse button.
A single click of the debug button compiles, links, and downloads your code and invokes the debugger.
The IDE allows you to allocate specific memory limits and compile without debug information for faster execution.
Powerful Animated Debug
Vesta Single Tasking Basic allows you to debug your code as it will run in the actual destination environment. You can download your program to the SBC and step through each line watching the variables as they change.
You can observe and manipulate variables and can even send control characters to the SBC. Errors are reported in real time, giving you power that embedded developers rarely experience.
There is simply no substitute for knowing exactly how your code will execute in the environment for which it is written.
Program Information Window
A program Information window shows you the allocation of variables that you program uses, the EEPROM allocation, program size, and Subroutine and function stack usage.
Tool Bar Buttons
Compile, link, download, reset and start execution with a single mouse click. Stop and step execution with convenient toolbar buttons.
- Interrupt Control:
Vesta Basic provides 2 software timers, ON INT0 and ON ERROR interrupts, and an ON COM interrupt for serial ports. Interrupt handling can also be turned off for procedures that require full control of resources.
- Easy SPI and IIC transfer:
Communication with Vesta's many VAST (Vesta Asynchronous Serial Transfer) peripherals, or any SPI or IIC device, is made easy with specialized commands that allow you to address a multitude of devices with just a few simple routines.
Support of VAST Peripherals (SBC2000-074 only):
Vesta SBC2000 embedded controllers are designed to work with our complete line of VAST (Vesta Asynchronous Serial Transfer).
Each Vesta peripheral is supported by its own external procedures that are added to the language as needed. These procedures have been carefully designed to keep the language straightforward and easy to read, yet still allow the programmer to access all of the potential of the hardware.
AIN_CONFIG selects the A/D peripheral board and mode of use (single ended vs. differential, unipolar vs. bipolar)
AIN(channel) returns the result.
This saves dozens of lines of code, and more importantly, your time.
- Easy I/O Manipulation:
Vesta Single Tasking Basic provides several ways to manipulate I/O.
Pin control in Vesta Basic is so easy it'll make you giggle. Bit variables allow you to reference the current state of any pin as though it were a variable. Likewise, you can set a pin to a value by simply setting the bit variable to that value.
Frequency transition I/O can be sensed or asserted with PULSE_HI, PULSE_LO, TIME_HI, TIME_LO, and COUNT.
Any pin can be configured for asynchronous serial data. Asynchronous serial data transfers are controlled with the TX and TR commands greatly reducing the amount of code required.
Our PIPE command not only allows you to redirect output among serial ports and an LCD, it can also direct output to a subroutine.
LCD commands make it easy to print to the LCD and control it's features.
- Power Management:
Vesta's SBC2000 products are well suited for low power devices such as those powered by battery or solar cells. Vesta Basic's power management commands allow you to adjust power consumption for varying conditions.
- Extensive Code Examples:
The Vesta Basic CD contains many examples sharing techniques for sharing data between tasks, accessing various types of devices, and controlling any of our VAST or Bus peripheral boards.
- Minimum System Requirements:
Vesta Single Tasking Basic requires a PC with a ‘386 or higher microprocessor, Windows 95, one available COM port, 8 megabytes of RAM and 10 megabytes of available hard disk space.
Language Here is a list of Vesta Single Tasking Basic keywords and some built-in procedures.
Interrupt Control
ON TIMERx
ON ERROR
ON INTx
ON COMx
|
Assignment
LET
DATA, READ, RESTORE
INPUT
DIM
|
Declaration
GLOBAL
LOCAL
STATIC
CONSTANT
DECLARE
|
Memory
PEEK
POKE
DPEEK
DPOKE
|
Off-Board Memory
EEPROM_PEEK
EEPROM_POKE
|
LCD Functions
LCD_COMMAND
LCD_DISPLAY
|
Task Control
STOP
REBOOT
|
Power Management
SLEEP
HIBERNATE
|
Control Loops
IF, [ELSE], ENDIF
SELECT, CASE, [ELSE], ENDSELECT
DO WHILE, [EXIT], LOOP
DO, [EXIT], LOOP UNTIL
FOR [STEP], [EXIT], NEXT
EXIT
|
Onboard Peripherals
KEYPAD
BEEP
PWM
COUNT
PRINT
PIPE
RX
TX
TIME_HI
TIME_LO
PULSE_HI
PULSE_LO
AIN
|
Math Operators
MIN
MAX
SIN
COS
ARCTAN
ABS LOG
|
Asynchronous Serial Communication
VAST_CLOCK( )
VAST_OPEN( )
VAST_CLOSE( )
VAST_SPI_XFR( )
VAST_IIC_START( )
VAST_IIC_STOP( )
VAST_IIC_SEND( )
VAST_IIC_READ( )
|
Compilation Control
INCLUDE
REM
|
Array Manipulation
SIZE_OF
ADDR_OF
ROWS_OF
COLS_OF
|
Serial Port Control
COMM
MODE
PTT
KEY_PENDING
INKEY
GET_TIMEOUT
|
Functions and Subroutines
[CALL], SUBROUTINE, [RETURN]
FUNCTION, [RETURN]
VITAL
END
|
|
|