Date: Sun, 17 Oct 1999 14:08:25 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Johnny Chan cc: djgpp AT delorie DOT com Subject: RE: Q: Want to know the starting address and size of my program In-Reply-To: <000301bf16a8$6c6a8420$ae3d7a86@phoenix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 14 Oct 1999, Johnny Chan wrote: > Any DJGPP function to disable the interrupt? Try disable(). But please note that in any environment other than plain vanilla DOS this might not disable the interrupts, only stop them from being passed to the calling program (if the environment virtualizes the interrupts). So I still think this is too dangerous for production code that should run on any system. The last thing a user would expect from a SYSINFO-style program is that it crashes or scrogs their hard disk...