Peter Dassow <
z8...@arcor.de> wrote:
> On 28.05.2012 16:10, Bill Leary wrote:
>> "Peter Dassow" wrote in message
>> news:4fc20e27$0$6581$9b4e...@newsspool3.arcor-online.net...
>>> ((..omitted..))
>>> Did you have smoked something extraordinary ?
>>> CP/M-86 works only with 64KB chunks, code and data can be separated.
(snip)
> AFAIK CP/M-86 does NOT use x86 protected mode (which would support
> addressing linear memory access), instead, just "real mode" like DOS
> (without any "extended" or "xms" memory driver).
> So I am very sure about this, CP/M-86 does only support small, medium or
> compact memory models (read more about this in any compiler manual).
> Large an Huge were NEVER supported by CP/M-86 compilers.
> If programs are bigger than 64KB, this is no rocket science.
> You could store more than 64KB in a file, but you will read just 64KB
> chunks in memory at once.
That means that the program has to do all the work, without any
help from the OS. Not so different from the DOS extenders using
protected mode in real mode DOS.
Not so different from DOS COM files, (which I believe descended
from CP/M and such). Again, the system didn't provide any help
for accessing more memory, but programs could still do it.
> Think about "bank switching" in CP/M 3.0 ... not the same, but similar.
Well, EMS is pretty much bank switching, which was used for some
time for DOS programs needing more memory. Usually only for data,
and not programs, but I believe you could also execute in EMS.
-- glen