Category : C Source Code
Archive   : C-ALL.ZIP
Filename : TI355.ASC

 
Output of file : TI355.ASC contained in archive : C-ALL.ZIP







PRODUCT : TURBO C NUMBER : 355
VERSION : 1.0
OS : PC-DOS
DATE : June 4, 1987 PAGE : 1/2

TITLE : -G PATCH




The following patch solves a problem in Turbo C where the
compiler can run out of memory compiling a large switch statement
if the -G option is used.

To apply this patch, use the DOS utility DEBUG.COM. You may
obtain a copy of DEBUG.COM from one of your original PC-DOS or
MS-DOS diskettes.

NOTE:
1. Do not patch your original Turbo C disk, use a working or
backup copy of TCC.EXE and TC.EXE for this patch.

2. DEBUG is not sensitive to upper and lower case. All
addresses are listed in upper case for ease of readibility.

3. XXXX,YYYY,ZZZZ are hexidecimal digits returned by DEBUG. You
must replace these digits accordingly when typing in your
commands.

4. While in DEBUG, the prompt will appear as a dash (-).

5. If you do not receive the appropriate response,press "q"
followed by , to exit from DEBUG. Check your version
number and, if correct, try again.

6. TCC.EXE and TC.EXE will not fit together onto a 360K disk.
To patch both programs on a floppy disk, you may need to
copy TCC.EXE and DEBUG.COM onto one disk and perform the
patch. Save the patched version of TCC.EXE to another disk.
Repeat the same steps using TC.EXE.

At the DOS prompt, type the following information exactly as
itappears (Conclude each line by pressing ).

Patch for TCC.EXE

Type the following: You will see:

ren tcc.exe tcc.xex A>

debug tcc.xex -

r ... CS=XXXX ...














PRODUCT : TURBO C NUMBER : 355
VERSION : 1.0
OS : PC-DOS
DATE : June 4, 1987 PAGE : 1/2
TITLE : -G PATCH




-

h XXXX 1635 YYYY ZZZZ
-

e YYYY:7E0 YYYY:07E0 7C.

72 YYYY:07E0 7C.72
-

w Writing 2948A bytes
-

q A>

ren tcc.xex tcc.exe A>


Patch for TC.EXE

Type the following: You will see:

ren tc.exe tc.xex A>

debug tc.xex -

r ... CS=XXXX ...
-

h XXXX 1F84 YYYY ZZZZ
-

e YYYY:7E1 YYYY:07E1 7C.

72 YYYY:07E1 7C.72
-

w Writing 38759 bytes
-

q A>

ren tc.xex tc.exe A>








  3 Responses to “Category : C Source Code
Archive   : C-ALL.ZIP
Filename : TI355.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/