Hi Brett.

 > I read somewhere a long time ago in some DOS internals book that
 > there was this simple formula to convert seg:offset addresses to a
 > linear address... But a linear address space would be a *lot* of
 > work to implement on the 8086 architecture, wouldn't it?

The formula is simple enough, and applies to the 808x, 8018x, 80286,
80386 and 80486 processors, but only when running in REAL mode, not
when running in PROTECTED mode. It reads as follows:

 Q> LINEAR = (0x10 * SEGMENT) + OFFSET

Whether it will be of any use with ELKS depends to a large extent on
the intended use of the system, and not really on ELKS itself.

Best wishes from Riley.

Reply via email to