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)

    It is not however, adulthood itself, but parenthood that forms the glass shroud of memory. For there is an interesting quirk in the memory of women. At 30, women see their adolescence quite clearly. At 30 a woman’s adolescence remains a facet fitting into her current self.... At 40, however, memories of adolescence are blurred. Women of this age look much more to their earlier childhood for memories of themselves and of their mothers. This links up to her typical parenting phase.
    Terri Apter (20th century)

    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)

    Clearly, some time ago makers and consumers of American junk food passed jointly through some kind of sensibility barrier in the endless quest for new taste sensations. Now they are a little like those desperate junkies who have tried every known drug and are finally reduced to mainlining toilet bowl cleanser in an effort to get still higher.
    Bill Bryson (b. 1951)