delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/22/10:00:08.1

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Joel Saunders" <jbs30000 AT aol DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Two more questions (very easy) about TSR's
Date: Tue, 22 Jan 2002 14:49:55 +0000 (UTC)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 17
Message-ID: <c14e97a56087bafd13814169442a884b.62691@mygate.mailgate.org>
NNTP-Posting-Host: spider-ntc-ta034.proxy.aol.com
X-Trace: news.mailgate.org 1011704759 12563 198.81.16.34 (Tue Jan 22 15:49:55 2002)
X-Complaints-To: abuse AT mailgate DOT org
NNTP-Posting-Date: Tue, 22 Jan 2002 14:49:55 +0000 (UTC)
Injector-Info: news.mailgate.org; posting-host=spider-ntc-ta034.proxy.aol.com; posting-account=62691; posting-date=1011704759
User-Agent: Mailgate Web Server
X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/c14e97a56087bafd13814169442a884b.62691%40mygate.mailgate.org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

1) When giving the number of paragraphs to keep, you're only counting
the routine that real mode DOS interacts with, right?  Or do you want to
enter the size of the whole program / 16 ?
2) What's the best way to count how many paragraphs to keep?  For a test
program, I opened the disassembler window, wrote down the asm commands,
then ran debug (a 32bit version) entered the code then disassembled it
and counted the bytes.  This is very slow.
If I need to enter the size of the whole program then I could probably
just build the program and use the size of the exe / 16.
But If I only need to use the size of the routine enteracting with real
mode DOS, what's a fast way to get it's size ?
Thanks, and this should be the last questions on TSR's I'll need to ask.
If I can get these answered, I think I'll have it all figured out.


-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019