Mail Archives: djgpp/2000/05/06/20:46:52
If you boot off a boot disk, you cannot be sure that it is there. Because it
isn't in most bootdisks.
Eli Zaretskii wrote:
>
> > From: Robin Johnson <robbat2 AT home DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Sat, 06 May 2000 06:40:53 GMT
> >
> > i need my code to be able to work without having to call mem.exe
> > unfortenetly. because i can't be guarenteed that it will be on
> > every system.
>
> MEM is a standard program on any DOS/Windows system. There's no need
> to assume that it might be absent, exactly like you have no reason to
> assume that COMMAND.COM will be absent.
>
> If you want to write your own program that reports programs loaded
> into memory, you can do that too. You will need to trace the DOS
> memory chain; the excellent book "Undocumented DOS", 2nd edition by
> Andrew Schullman includes a chapter on how to do that.
--
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail : robbat2 AT orbis-terrarum DOT net
ICQ# : 30269588 or 41961639
Home Page : http://www.orbis-terrarum.net
Time Zone : Pacific Daylight (GMT - 8)
- Raw text -