Originally posted by james klutho:
Here is a printf subroutine that prints to the active window.
It is slow. Some assembler is required but is beyond me.
I started with some code that was posted by Dave Navarro and I
added to it.
Here is a printf subroutine that prints to the active window.
It is slow. Some assembler is required but is beyond me.
I started with some code that was posted by Dave Navarro and I
added to it.
I bought PBCC but do not use it because of the console window's
poor performance and my lack of control of the console window and
its event loop.
poor performance and my lack of control of the console window and
its event loop.
The fact that there is a market for CONSOLE TOOLS speaks volumes.
PBDLL should have been designed with its PRINT etc. commands in place.
However, if the speed of the PRINT statement in a Win9x console is a problem for you (note that NT does not suffer this problem because it's console sub-system does not have to thunk to 16-bit mode for any operations), then there are at least 4 ways to speed it up dramatically.
The easiest way (which is my favorite) is to initially use PAGE 2,1, then after a bunch of PRINT statements, use PCOPY 2,1 to update the visible screen page from the active screen page.
This is very easy to implement, and can be retrofitted extremely easily to existing code if there is a problem.

I came from a Mac background. There was a basic called Zbasic
(now FutureBasic) which should be the model for this issue.
(now FutureBasic) which should be the model for this issue.

Please forgive my morbid curiousity, but since that combination was so successful for you, why did you abandon it?

------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment: