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:
- If launch code is non-zero, exit immediately.
- Allocate Forth data stack.
- Initialize data stack pointer.
- Initialize Forth return stack pointer.
- Establish dataspace.
- Initialize dataspace index pointer (HERE).
- Display MainForm & establish Quartus Forth menu.
- Display 'creating workspace...' message.
- (Re-)create workspace database.
- Create image of Quartus kernel in workspace.
- Initialize codespace index pointer (CSHERE).
- Transfer execution into workspace kernel image.
- Initialize Forth dictionary with kernel words.
- Display welcome message.
- Reset system states (search-order, etc.)
- Open and interpret startup.quartus memo, if present.
- Call QUIT, which starts the interactive session.
On program termination (via (bye) or received appStopEvent):
- 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.