Overlay: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
Next top entry on 'Wanted pages' for me
 
m See also: +PDP-11 Unix overlays
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
Overlays perform the same basic function as the later [[virtual memory]] ('jam three gallons into a one-gallon bucket'), but do so explicitly, not automatically and invisibly.
Overlays perform the same basic function as the later [[virtual memory]] ('jam three gallons into a one-gallon bucket'), but do so explicitly, not automatically and invisibly.


==External links==
==See also==


* [https://minnie.tuhs.org/cgi-bin/utree.pl?file=2.9BSD/usr/man/man5/a.out.5 a.out (5)] - this and the next entry describe the supports for overlays in the later PDP-11 [[BSD]]s
* [[PDP-11 Unix overlays]]
* [https://minnie.tuhs.org/cgi-bin/utree.pl?file=2.9BSD/usr/man/man1/ld.1 ld (1)]
* [https://minnie.tuhs.org/cgi-bin/utree.pl?file=2.9BSD/usr/doc/2.9_kernel.ms Changes in the Kernel in 2.9BSD] - describes use of overlays in the [[2.9BSD]] [[kernel]]


[[Category: Software Concepts]]
[[Category: Software Concepts]]

Latest revision as of 09:51, 7 September 2026

Overlays are a programming technique for dealing with reduced availability of main memory - either because of a limited address space (as in the PDP-11, towards the end of its life), or because the machine just did not have much (very common in the early days of computers).

The program to be 'overlaid' was split up into tranches, called 'overlays', of which only one (or a limited number) were directly available to the CPU at a time. When the program needed to transfer (via either a jump, or a subroutine call) to an overlay that was not currently accessible, progress had to stop momentarily while that overlay was made accessible (perhaps by reading it in from secondary storage).

Overlays perform the same basic function as the later virtual memory ('jam three gallons into a one-gallon bucket'), but do so explicitly, not automatically and invisibly.

See also