Mail Archives: djgpp/1997/02/03/11:44:02
On Mon, 27 Jan 1997, Andrew Cottrell wrote:
> What package PDCURSES 2.2 or standard CONIO windowing has the faster
> screen updates?
I think PDCurses is slower than raw conio, because it does more testing
and uses the same techniques. But I didn't actually test that, so I
might be wrong.
> Does CONIO have to switch to real (slow) mode to do the screen draw?
> Does PDCURSES update the screen in protected mode?
Both write directly to the video RAM, but sometimes they must call real-mode
BIOS functions, e.g. to see where is the cursor, or what is the current
video mode.
I suggest you profile your program to see which conio functions eat up
most of the cycles, then try to avoid calling those functions as much as
you can (there's more than one way to do those things). If you only need
to write simple strings to the screen, you might consider using
ScreenUpdateLine library functions instead of cputs or outtext from conio.
- Raw text -