delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/21/03:16:53

Date: Fri, 21 Sep 2001 10:11:06 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <3405-Fri21Sep2001101105+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
In-reply-to: <3baa5ec3.2355965@news.menta.net>
Subject: Re: interrupt handlers and VGA programming [OT]
References: <3baa5ec3 DOT 2355965 AT news DOT menta DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: (Moon)
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 20 Sep 2001 21:25:46 GMT
> 
> I am writing a software in C under DOS that handles several hardware
> interrupts. Since functions that make DOS calls like "printf" cannot
> be used inside the interrupt handler, this is very difficult to debug.

You can use ScreenPutChar or ScreenPutString instead, the don't use
any interrupts.

> I have found out on the internet that some people use the command
> pokeb to display a number or a letter on the screen to make easier to
> understand what's going on with the code.
> 
> Unfortunately I haven't found the right parameters to use with pokeb.

The above functions already fogure that out for you, so just use
them.  Be sure to read their docs first, though.

- Raw text -


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