Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement MEM command #7

Open
stsp opened this issue Jan 15, 2019 · 0 comments
Open

implement MEM command #7

stsp opened this issue Jan 15, 2019 · 0 comments

Comments

@stsp
Copy link
Member

stsp commented Jan 15, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant