Skip to content

implement MEM command #7

Description

@stsp

While mem is usually a stand-alone program,
it would be cool to have it built-in.
We can't implement the entire DOS suite, so
my idea is to put the essential commands into
command.com itself.
Also note that MEM is a bit special: in 16bit
command.com the internal commands are
executed w/o freeing extra memory, while the
external ones need a lot of free mem, so
command.com frees its mem before calling
an external cmd. MEM however needs to
always be executed with as much free mem
as possible, or it would be useless. But in
comcom32 there is no need to free any DOS
mem before executing anything. So the need
to have MEM as an external cmd doesn't apply
here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions