Quartus Forth Manual

Table of Contents - Quartus Forth Home Page - How to Register

Startup and Termination Sequences

When Quartus Forth starts, the following actions occur:

  1. If launch code is non-zero, exit immediately.
  2. Allocate Forth data stack.
  3. Initialize data stack pointer.
  4. Initialize Forth return stack pointer.
  5. Establish dataspace.
  6. Initialize dataspace index pointer (HERE).
  7. Display MainForm & establish Quartus Forth menu.
  8. Display 'creating workspace...' message.
  9. (Re-)create workspace database.
  10. Create image of Quartus kernel in workspace.
  11. Initialize codespace index pointer (CSHERE).
  12. Transfer execution into workspace kernel image.
  13. Initialize Forth dictionary with kernel words.
  14. Display welcome message.
  15. Reset system states (search-order, etc.)
  16. Open and interpret startup.quartus memo, if present.
  17. Call QUIT, which starts the interactive session.

On program termination (via (bye) or received appStopEvent):

  1. Terminate normally.  Palm OS closes any open databases and frees dynamic RAM.

Table of Contents - Quartus Forth Home Page
© 1998, 1999 Neal Bridges. All rights reserved.