Johnson Lam schreef:

perhaps "SYS CONFIG file" can show the kernel version if "file" is a FreeDOS kernel.


I remember no version information when SYS. I didn't try "SYS CONFIG".

Is it necessary to show version during SYS? My opinion is "a bit more
information" harmless.

might be a possible option. SYS CONFIG does not have this yet I think. something like: "Copying C:\DOWNLOAD\KERNEL.SYS [Kernel 2033-fat32] to A:\KERNEL32.SYS"

I don't know a way to check how much memory-space kernel and freecom take up.
MEM/MMSDOS (or MEM/MSYSTEM) and MEM/MCOMMAND

so for kernel it should query
MSDOS module
SYSTEM module
whichever is non-0 should report back.

for shell, try either
COMMAND module, and %comspec%-without-directory-and-without-extension.
don't know how to avoid a duplicate then..

or do you want to obtain the amount of free RAM without taking drivers into acount?
free RAM = TotalMEM minus KERNEL-MEMORY minus PRIMARY-SHELL-memory

Bernd







-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to