home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / PASCAL / MISCTI10.ZIP / TI355.ASC < prev    next >
Encoding:
Text File  |  1988-05-02  |  2.8 KB  |  92 lines

  1. PRODUCT : TURBO C     NUMBER : 355
  2. VERSION : 1.0
  3.      OS : PC-DOS
  4.    DATE : June 4, 1987
  5.  
  6.  TITLE  : -G PATCH
  7.  
  8. The  following  patch  solves  a  problem  in  Turbo  C where the
  9. compiler can run out of memory compiling a large switch statement
  10. if the -G option is used.
  11.  
  12. To  apply this  patch, use   the DOS  utility DEBUG.COM.  You may
  13. obtain a  copy of DEBUG.COM from  one of your original  PC-DOS or
  14. MS-DOS diskettes.
  15.  
  16.   NOTE: 1. Do not patch your original Turbo C disk, use a working
  17.         or backup copy of TCC.EXE and TC.EXE for this patch.
  18.  
  19.         2. DEBUG  is not sensitive  to upper and  lower case. All
  20.         addresses  are   listed  in  upper   case  for  ease   of
  21.         readibility.
  22.  
  23.         3.  XXXX,YYYY,ZZZZ  are  hexidecimal  digits  returned by
  24.         DEBUG.  You must  replace these  digits accordingly  when
  25.         typing in your commands.
  26.  
  27.         4. While in DEBUG, the prompt will appear as a dash (-).
  28.  
  29.         5. If  you do not receive  the appropriate response,press
  30.         "q" followed by  <Enter>, to exit from DEBUG.  Check your
  31.         version number and, if correct, try again.
  32.  
  33.         6. TCC.EXE and  TC.EXE will not fit together  onto a 360K
  34.         disk. To  patch both programs  on a floppy  disk, you may
  35.         need  to copy  TCC.EXE and  DEBUG.COM onto  one disk  and
  36.         perform the patch. Save the patched version of TCC.EXE to
  37.         another disk. Repeat the same steps using TC.EXE.
  38.  
  39. At the DOS  prompt, type the following information  exactly as it
  40. appears (Conclude each line by pressing <Enter>).
  41.  
  42.                              Patch for TCC.EXE
  43.  
  44.      Type the following:          You will see:
  45.  
  46.      ren tcc.exe tcc.xex<Enter>   A>
  47.  
  48.      debug tcc.xex<Enter>         -
  49.  
  50.  
  51.      h XXXX 1635<Enter>           YYYY  ZZZZ
  52.                                   -
  53.  
  54.      e YYYY:7E0<Enter>            YYYY:07E0   7C.
  55.  
  56.      72<Enter>                    YYYY:07E0   7C.72
  57.                                   -
  58.  
  59.      w<Enter>                     Writing 2948A bytes
  60.                                   -
  61.  
  62.      q<Enter>                     A>
  63.  
  64.      ren tcc.xex tcc.exe<Enter>   A>
  65.  
  66.  
  67.                              Patch for TC.EXE
  68.  
  69.      Type the following:          You will see:
  70.  
  71.      ren tc.exe tc.xex<Enter>     A>
  72.  
  73.      debug tc.xex<Enter>          -
  74.  
  75.      r<Enter>                     ... CS=XXXX ...
  76.                                   -
  77.  
  78.      h XXXX 1F84<Enter>           YYYY  ZZZZ
  79.                                   -
  80.  
  81.      e YYYY:7E1<Enter>            YYYY:07E1   7C.
  82.  
  83.      72<Enter>                    YYYY:07E1   7C.72
  84.                                   -
  85.  
  86.      w<Enter>                     Writing 38759 bytes
  87.                                   -
  88.  
  89.      q<Enter>                     A>
  90.  
  91.      ren tc.xex tc.exe<Enter>     A>
  92.