On 1/2/06, Jim Leonard <trixter at oldskool.org> wrote:
Eric J Korpela wrote:
recall which model Coherent used.
For Coherent 286, memory model was medium (segments were 64K, but you could
allocate as many as you wanted up to whatever was left out of 16MB total
RAM). For 386, it was full 32-bit, so I guess that's the huge model.
I'd call that linear mode. By huge mode I mean "logically adjacent
segments in 16 bit mode" so that pointer math can support objects
larger than a segment. (i.e.
segment=segment0+(offset/seg_size)*seg_incr;
seg_offset=offset%seg_size;
would be done automatically by the compiler. In DOS, seg_size could be
16 and seg_incr 1. In 286 protected mode, seg_size might be 64K and
seg_incr would be 8 if I recall 286 protected mode stuff.)
Virtual memory in 286 mode is one advantage OS/2 might have over any
of the 286 unixes. I'm not sure if Xenix supported it.