<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
TurboForth Resources
A number of libraries have been developed to augment the functionality of the base TurboForth system. They are already included on the utility disk, which can be downloaded from the downloads page.
Technical information and source code on each of the libraries are presented on the following pages.
- TMS9900 Forth based Assembler - a fully featured assembler, fully integrated into the Forth development environment.
- 32-bit library - a suite of words to facilitate 32-bit math, pictured-numeric-output, and more.
- Floating-point - a suite of words to facilitate floating-point math.
- Local Variables - adds local variable support to the language - now faster, smaller, and produces smaller compiled code!
- Editing Words - a method of re-definining words in the dictionary.
- DEFER/IS - code to support definition of deferred words, including immediate words.
- Enchanced CASE - a better way of specifiying default cases in CASE lists.
- Editor Assembler Option #3 Machine Code Loader - a small program to allow the loading of EA#3 object code.
- String Stack Library - a very feature-rich string library offering a large number of string manipulation functions.
- Application Support - supports private dictionaries of words, similar to standard Forth Vocabularies, with the additional flexibility of being able to expose words to the 'global' dictionary. This allows the internal implementation details of applications and libraries to be hidden, exposing only their public interfaces.
- SAMS programming library - makes it very simple indeed to use the AMS/SAMS memory expansion with TurboForth.
- POSTPONE - adds ANS94 ability to postpone (compile) immediate and non-immediate words with these. Numbers can also be compiled.
- Enhanced DATA - a more versatile system to compile lists of integers. Much better than TurboForth's built in DATA.
- Sprite to Background Collision - a really cool (and tiny) library that adds sprite to background character collision detection to TurboForth.
- Enhanced SOUND words - some new sound words (links to the SOUND tutorials page).
- CATCH and THROW - enhanced error and exception handling in Forth.
- Fast looping intrinsics - faster looping words.
- Fast Variables - Faster variable reads and writes.
- Arrays - add array support to TurboForth, full in depth article breaking the code right down.
TurboForth Technical Data
In addition, the following TurboForth related information is available.
- Memory map - a complete breakdown of the RAM reserved for TurboForth's use. Hack yourself out!
- Speech addresses - a handy list of Speech Rom Addresses for use with the Texas Instruments Solid State Speech Synthesizer.
- Source Code - browse the source code online (now moved to github).
- Colour Table - a useful list of colours and their values, and character set codes for 32 column mode.
- Dictionary Format - A short note on how the dictionary is arranged in TurboForth.
- Sound Data Table - a list of musical note values for the sound chip.
Fun Stuff
- For fun, and to demonstrate some of the capabilities of TurboForth, I put a quick (
surprisingly infuriatingly addictive) game together called Dark Star.
- Hunt The Wumpus - converted from ANS Forth code posted by James Bowman.
- Sprite starfield. A nice 3D effect using hardware sprites and movement vectors.
- BrainFuck compiler. A cool optimizing compiler for BrainFuck programs. Compiles into Forth code, optimising as it goes!
- John Conway's Game Of Life.
Links
- There's a really, really great crowd over on the TI-99/4A development forum at Atariage. They can answer any TI-99/4A related question, including Forth related questions. This author hangs out there daily!
<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>