EXPERT HELP NEEDED! 
Author Message
 EXPERT HELP NEEDED!


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.



Sat, 06 Dec 1997 03:00:00 GMT  
 EXPERT HELP NEEDED!

Quote:

> 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.

If a program calls BIOS routines directly, Int 29h is not involved. In
addition, it's possible (but not very likely) that the user has installed
a CON device driver that doesn't support Int 29h, in which case DOS won't
call Int 29h at all.

---
Glen Blankenship



Sat, 06 Dec 1997 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Expert help needed - OLE field for CSV text files

2. .Net expert help needed

3. EXPERT HELP NEEDED!

4. VB Expert HELP needed: Tricky function naming problem

5. Urgent expert help needed. Listview sorting using callback

6. expert help needed for plug-in problem

7. Expert Help Needed (VB3.0)

8. ImgEdit.ocx (Expert Help Needed) Please!!!

9. ImgEdit.ocx (Expert Help Needed) Please!!!

10. Urgent expert help needed. Listview sorting using callback

11. Expert help needed

12. Expert help needed - OLE field for CSV text files

 

 
Powered by phpBB® Forum Software