TM> I have another idea, The program probably writes to the screen either
> with a DOS or BIOS routine, it you intercept calls to them then you
> can cut the printing. Unfortunately I don't know how to do this in
> QBasic, and I don't know which interrupts need to be killed, If
> someone knows please write to me, I'll write a C program to do it
> and post it!
All screen output that goes through DOS or the BIOS uses INT 29h the
FAST PUTCHAR service and can be easily trapped by the appropriate ISR.
I once wrote an assembler routine, by this method, which let me confine
the output from a QuickBASIC SHELL command into a user-defined window
instead of it taking up the full width of the screen... you could even
define the colour of the text in the window if you wanted (the library
is PD and available as DOSBOX.ZIP on some sites if anybody needs it).
However this sort of thing is no use at all when the program you shell
to writes directly to video memory and unfortunately a lot of them do.
+------------------------+-----------------------------------------------+
| _/_/_/_/ _/_/_/_/ | Christy Gemmell, Singular Software |
| _/ _/ | 11 Abingdon Road, Leicester LE2 1HA, England. |
| _/_/_/_/ _/_/_/_/ | Phone: +44-0116-254-7681 |
+------------------------+-----------------------------------------------+
* 1st 2.00o #323 * The British celebrate Thanksgiving on the 4th July.