Mail Archives: djgpp/2001/09/21/03:16:53
> 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 -