Previous: Chainer and MarkJump
Up: Adaptations to pre-existing p-System units
Next: PCVideo and graphics support
Previous Page: MarkJump
Next Page: PCVideo and graphics support
DlgGlbls 3.3 is an extremely simple unit whose only purpose it to supply a global environment of the bare essentials that must be shared between the menu program, Ports, and successive calls to the dialogue activities. (If the operating system supplied such long-term storage in memory, it's doubtful this unit would ever be needed).
The menu program needs to use DlgGlbls components as follows:
Ports and the menu program alone should manipulate dgNextModName; the modules should never know about it, and rely only on ChainTo in Ports. This is even more true of dgTargetMark[1].