HP 3000 - Classic Memory Segments and 64K Barrier

Classic Memory Segments and 64K Barrier

Code (reentrant) and data reside in separate variable-length segments, which are 32,768 "halfwords" (16-bit words) (or, 65,536 bytes). The operating system, known as MPE (for Multi-Programming Executive), loads code segments from program files and segmented Library (SL) files as needed, up to 256 segments in one process.

There could be as much as 64KB of memory in a code segment, but calling a routine was based on segment number and routine number within a segment, so a program could theoretically have about 32,385 routines. This was compared to most 16 bit computers that had 64KB of address space for everything. The bigger limitation was the data segment and stack segment, which were also 64KB. Shared library routines did not permit cross-process global data since each process had its own data segment. Some procedures worked around this by requiring the caller to pass in an array from their own stack or data segment to hold all state information, similar to modern object oriented languages where methods are applied to objects passed in allocated by the caller.

A process could allocate and use multiple extra data segments (XDS) of up to 64KB each. While the Classic architecture imposed a limit of 65,535 extra data segments system-wide, other limitations would usually restrict that to a somewhat smaller limit.

Systems programming was done in SPL (System Programming Language), an ALGOL-like language, but allowing inline assembler, and other direct access to the instruction set. The standard terminals for the HP 3000 were the HP 2640 series, which supported block mode data entry from forms, as well as character mode. By the 1980s the computer had gained the ability to use both PCs and Macs as system terminals.

Read more about this topic:  HP 3000

Famous quotes containing the words classic, memory, segments and/or barrier:

    On desperate seas long wont to roam,
    The hyacinth hair, thy classic face,
    Thy Naiad airs have brought me home
    To the glory that was Greece,
    And the grandeur that was Rome.
    Edgar Allan Poe (1809–1849)

    ... memory is the only way home.
    Terry Tempest Williams, U.S. author. As quoted in Listen to Their Voices, ch. 10, by Mickey Pearlman (1993)

    It is not, truly speaking, the labour that is divided; but the men: divided into mere segments of men—broken into small fragments and crumbs of life, so that all the little piece of intelligence that is left in a man is not enough to make a pin, or a nail, but exhausts itself in making the point of a pin or the head of a nail.
    John Ruskin (1819–1900)

    Whatever may be our just grievances in the southern states, it is fitting that we acknowledge that, considering their poverty and past relationship to the Negro race, they have done remarkably well for the cause of education among us. That the whole South should commit itself to the principle that the colored people have a right to be educated is an immense acquisition to the cause of popular education.
    —Fannie Barrier Williams (1855–1944)