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:
“There is a distinction to be drawn between true collectors and accumulators. Collectors are discriminating; accumulators act at random. The Collyer brothers, who died among the tons of newspapers and trash with which they filled every cubic foot of their house so that they could scarcely move, were a classic example of accumulators, but there are many of us whose houses are filled with all manner of things that we cant bear to throw away.”
—Russell Lynes (19101991)
“The memory loaded with mere bookwork is not the thing wantedis, in fact, rather worse than uselessin the teacher of scientific subjects. It is absolutely essential that his mind should be full of knowledge and not of mere learning, and that what he knows should have been learned in the laboratory rather than in the library.”
—Thomas Henry Huxley (182595)
“It is not, truly speaking, the labour that is divided; but the men: divided into mere segments of menbroken 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 (18191900)
“... social evils are dangerously contagious. The fixed policy of persecution and injustice against a class of women who are weak and defenseless will be necessarily hurtful to the cause of all women.”
—Fannie Barrier Williams (18551944)