[comp.sys.dec.micro] Experimental fix for TC++

imp@dancer.Solbourne.COM (Warner Losh) (06/04/90)

I have hacked together a TSR that will let any program that wants to
take over INT 18 that goes through DOS to do it run on the Rainbow
unmodified.  Turbo C and Turbo C++ do this in the command line
versions of their programs.

I am looking for a few people to test it out.  I have done all the
preliminary tests that I can do, so I need a few people to sanity
check it for me.  If you want to be a beta tester, please drop me a
line.  You'll get credit for it in the documentation that comes in the
initial release.  If all goes well, it should hit the streets for
"most people" in about a month.

The TSR is small (about 200 bytes) and won't interfere with other
TSR's or Rainbow programs that use INT 18h to communicate with the
screen, etc.  It calls the right interrupt routine based on where the
INT 18 happened.  I'm not sure if this trick is really sleezy, or
kinda clever.  I do know that it seems to be working so far for me.

Warner Losh		imp@Solbourne.COM	(303)678-4748

GTHEALL@PENNDRLS.UPENN.EDU (George A. Theall) (06/04/90)

>I have hacked together a TSR that will let any program that wants to
>take over INT 18 that goes through DOS to do it run on the Rainbow
>unmodified.  Turbo C and Turbo C++ do this in the command line
>versions of their programs.

     This is an ingenious solution, Warner. Congratulations!
Looks like there's no longer a need to patch any version of
Borland's C compilers.

      Can this TSR be unloaded from memory? I suspect the TSR
itself would steal a lot of CPU resources if it were always in
memory. But if it could be unloaded, then simple adjustments to
a makefile would let you load the TSR, call TCC.EXE, then unload
it from memory.

George

---
BITNET: GTHEALL@PennDRLS               Dept. of Economics
Internet: GTHEALL@PennDRLS.UPenn.Edu   University of Pennsylvania
AT+TNet: +1 215 898 3419               Philadelphia, PA   19104-3987