Holon 11 Memory Banking
The 64K memory space of a 68HC11 processor can be extended with a banking system. Holon 11 develops code for one coherent 64K memory space. How can I use Holon 11 for banking?
Treat each bank as a separate project.
- Include the common part of the program in all banks. The common part consists at least of the Forth kernel words and the bank-switch mechanism. Put the common part in one or more modules and import the modules in every bank project.
- Select a bank and develop the bank program in the corresponding Holon project.
- Holon's tasking mechanism is handy for switching execution among the banks. Let a bank be a task, and insert bank switch code in the task scheduler Pause. Store the bank number with the task pointers.