Tiger basic

from Wikipedia, the free encyclopedia

Tiger-BASIC is a BASIC dialect for programming by BASIC-Tiger - microcontrollers .

Emergence

The Tiger-BASIC development began in the mid-1990s as a programming language for the BASIC-Tiger microcontrollers and has been continuously developed since then.

The aim is to drastically reduce development time by using ready-made modules, functions and devices.

The Tiger-BASIC multitasking system is used for the simple administration of many processes running at the same time, without going the detour via loops or jump labels.

Ability to multitask

Up to 32 BASIC tasks and 64 system tasks can run simultaneously on a BASIC-Tiger microcontroller. Through dynamic prioritization, the CPU performance can be finely dosed across the tasks. If the power requirement of a task changes, it can be assigned additional CPU power by itself or from another point.

I / O functions

I / O functions can basically be addressed in 3 different ways in Tiger-BASIC.

With BASIC instructions such as B. IN, OUT, DIR, elementary I / O operations are carried out, e.g. B. Control of individual pins or ports.

Special functions are available in the function library for more complex I / O tasks, e.g. B. I²C-Bus or SPI.

Device drivers are available for I / O channels with extensive functions, complex handling and buffering.

The function libraries and device drivers are used to simplify programming and, if necessary, to save hardware components.

Subroutines

Subroutines can handle up to 16 input and output parameters and use local and global variables.

Tiger-BASIC subroutines are completely re-entrant and can therefore be used by several tasks simultaneously and recursively.

Development environment

The development environment BASIC-Tiger for Windows contains editor, compiler and source-level debugger as well as numerous example applications:

  • Editor with syntax highlighting and other special help
  • Compiler with syntax check
  • Downloader for transferring compiled programs into the BASIC-Tiger
  • Source-level debugger with variable display, breakpoint, single stepping

Web links

Application reports