Compact FLASH III Digital Audio System
Copyright©1992-2007 by ACS, Sarasota, Florida
19
ALL RIGHTS RESERVED
Basic Mode
In Basic Mode, the operation of the CFSound-III is controlled by the interpreted execution of a user
written program that is written in the ACS Basic language. BASIC is the acronym for Beginners All-
purpose Symbolic Instruction Code
a easy to learn programming language developed by Kemeny &
Kurtz at Dartmouth in 1964. Programs consist of numbered lines with one or more English keywords
describing the operations that the user wants to have performed.
The BASIC interpreter built-in to the CFSound-III implements most of the language elements for
working with integers, strings and files as well as providing access to the CFSound-III hardware features
such as contacts, timers, clock and playing sounds. The language elements are outlined in the separate ACS
Basic User s Manual.
Programs may be developed two different ways:
1.
Interactively using a terminal emulator such as Windows HyperTerminal connected to the
CFSound s serial port. Language elements are keyed-in, developing and debugging programs
that may be saved on the CF card.
2.
Offline using a text editor such as Windows Notepad. The files are then saved onto the CF
card for debugging when inserted into the CFSound.
Once a program has been developed and tested, it is placed onto the CF card named CFSOUND.BAS
along with any other required files. The CFSound will then load and execute this file upon power-up, reset
or CF card insertion, effectively customizing the unit.