Message-ID: <3894AA29.A4B212A2@connection.com> Date: Sun, 30 Jan 2000 16:16:27 -0500 From: sam X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: How Do I catch a "printf interrupt" ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.13.30.143 X-Trace: 30 Jan 2000 16:15:21 -0500, 216.13.30.143 Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > On Sat, 29 Jan 2000, sam wrote: > > > For that matter, I don't recommend hooking Int 21h in a DJGPP program > at all. It's tricky (requires real-mode callbacks, since Int 21h > isn't reflected to protected mode, and real-mode callbacks are > non-reentrant) and dangerous (since paging goes through Int 21h). Oh, ja I totally forgot we are in protected mode here.