11.07.2015 Views

Tandy's Little Wonder (1993)(Farna Systems).pdf - TRS-80 Color ...

Tandy's Little Wonder (1993)(Farna Systems).pdf - TRS-80 Color ...

Tandy's Little Wonder (1993)(Farna Systems).pdf - TRS-80 Color ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Other DECB Programming Languages...Other programming languages were written to operate inconjunction with DECB over the years. These include "C",FORTH, PASCAL, and LOGO. Only the first two arecurrently available.A new company (Infinitum Technologies) recently releaseda new "C" compiler for the CoCo, called simply"CoCo-C", which is very similar to the OS-9 "C" compilerthesame reference material is usable with minor differences.The best book to get for reference is "The C ProgrammingLanguage" by Kernighan and Ritchie. The currentedition is based on ANSI "C", but the differences betweenthe original "C" language and ANSI are minimal. The mainadvantage of the "C" language is that it can be transportedbetween different computers and operating systems (usually)with minimal changes.CF83 FORTH is available from BDS Software. The followingdescription was written by M. David Johnson.BASIC has 157 commands in a CoCo 2 and 185 commandsin a CoCo 3 This is quite a lot and when you combinecommands to make a program, the number of things you canaccomplish with your CoCo becomes very large indeed. Butthere ARE limits. Because there are only so many commands,there are some things that you just can’t do in BASIC.And because BASIC has to interpret every command as it isencountered, BASIC tends to be rather slow. Commandscan’t be easily changed or new commands easily added,unless you are intimately knowledgeable concerning everyinternal idiosyncrasy of the CoCo, and an adept assemblylanguage and machine language programmer to boot. It takeshours of development and debugging time also.The basic "C" commands are the same for all compilers. Thecompiler is different for each computer/operating system."Source code" (the actual list of commands, similar to aBASIC program listing) is written with an editor or wordprocessor then saved in ASCII format and compiled on thedesired computer. The differences come in because somecomputers have added commands that take advantage ofdifferences in the hardware and operating systems. Oneexample is the graphics resolution on a CoCo and on an IBMcompatible with VGA monitor. Any high resolution graphicson the IBM would have to be changed to the lower resolutionof the CoCo before the program could be compiled with aCoCo "C" compiler. Some operation systems have moremath capabilities than the CoCo also. These differences canbe overcome, but only with more programming. Text basedprograms usually compile with a minimum of changes.Many OS-9 commands have been ported over from UNIXcomputers through "C". "C" wasn’t as popular with CoCoBASIC (it was available for the CoCo early on, but only as asubset of the full "C" language) as it has been for the OS-9crowd, but renewed popularity of "C" across all computersshould change that. It will also mean converting a programfrom one computer to another won’t require as much workas it has in the past, as a program written on a CoCo in "C"should easily transport to a more powerful machine.The package from Infinitum is more than just a compiler, itcontains all one needs to start programming in "C" except atext book! Included in the software package is a text editorfor creating/editing source code (any word processor mayalso be used), the compiler, an assembler for creatingassembly language files, library/linker to create standalonebinary files, and a command coordinator to integratethe above into a user friendly enviroment.page 44<strong>Tandy's</strong> <strong>Little</strong> <strong>Wonder</strong>So, you can choose slow, easy BASIC, or fast, difficultAssembly Language. But, what if you want fast and easyboth? CF83 FORTH is not a perfect solution, but it comesclose. CF83 FORTH is almost as fast as Assembly Languageand almost as easy to use as BASIC (once you get past theinitial learning phase which is admittedly not trivial).The first FORTH was written by Charles Moore in 1971 tobe a data acquisition system for the National Radio AstronomyObservatory at Kitt Peak in Arizona. FORTH hassince grown into a major control language for the entireastronomical community.But FORTH is no longer limited to astronomy. FORTH isalso currently used in image processing, robotics,servomotion controls, electrophoretic separation of biologicalmaterials on the space shuttle, and many small-scaleimbedded systems. These systems all require very compactcode in small packages, and that is just what FORTH wasdesigned for. But FORTH also does well in truly hugesystems. A FORTH system currently controls almost all theoperations of the main airport in Saudi Arabia. The game,"STARFLIGHT", for the PC is written entirely in FORTH.Another FORTH system is Amtelco’s massive EVE (ElectronicVideo Exchange) which has become the predominant,largest, and most sophisticated messaging system for thetelephone answering service (TAS) industry. EVE has captured70 percent of the TAS market and consists of about100,000 lines of source code. Despite its "large" size, EVEcomfortably runs on a single 10 MHz 6<strong>80</strong>00 Motorolamicroprocessor. Olaf Meding of Amtelco says, "FORTH ismuch more than a computer language. FORTH is a completeprogramming environment, and even more it is a philosophy.The concept of simplicity is what makes FORTH so effectiveand powerful."

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!