This document describes how to import code overlays from ROM for use in systems with tight memory constraints.
Software overlays are useful for systems with tight memory constraints where adding external RAM is costly. This document addresses the obstacle of determining overlay locations in the ROM when standard linkers lack this support.
The guide details three main routines: locating overlay information by scanning the boot PROM, parsing collected data to determine section types and sizes, and managing the DMA process to import overlays into internal memory upon execution.
They provide a feasible solution when internal memory is limited and adding external RAM significantly increases cost.
The linker generates an address in the range of 0x600000 to 0x6FFFFF for these overlays.
Three pieces of information are written: the real live address, the section count size, and the section data or code type.