home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / MISC / THELPPAT.ZIP / THELP.PAT < prev   
Encoding:
Text File  |  1990-07-27  |  8.4 KB  |  189 lines

  1.         ═══════ Turbo Help 2.0 Patch ═══════════════════════════════════
  2.  
  3.  
  4.  
  5.  
  6.                            █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  7.                            █  TurboHelp 2.0 Patch  █▓▒░
  8.                            █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▓▒░
  9.                               ░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░
  10.  
  11.  
  12.                       «  Developed by Christopher Antos  »
  13.  
  14.  
  15.                      █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  16.                      █  A patch to allow multiple copies  █▓▒░
  17.                      █    of THelp to reside in memory    █▓▒░
  18.                      █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▓▒░
  19.                         ░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░
  20.  
  21.  
  22.  
  23.  
  24.         ─────── Patch Explanation ──────────────────────────────────────
  25.  
  26.  
  27.         Here's the scoop:  Borland made a boo-boo.  You can only load
  28.         one copy of THelp in memory, and you CAN'T CHANGE HELP FILES.
  29.         This, quite frankly, sucks, if you use more than one language or
  30.         more than one help file (very probable, now that they have a
  31.         help file for TASM).  I made a very simple patch to my copy of
  32.         THelp, so that I have two copies of the same version of THelp,
  33.         BUT THEY DO NOT ACKNOWLEDGE THEMSELVES TO EACH OTHER. In other
  34.         words, each is a distinct version, and both may be loaded at the
  35.         same time (with different hotkeys, of course). However, if you
  36.         try to load one of them a second time, it will recognize this
  37.         and scold you appropriately.  The patch consists merely of
  38.         changing an 8-byte ID string in the THELP.COM file.
  39.  
  40.         All you need is a copy of THELP.COM (v2.0) and DEBUG.COM, which
  41.         should have come with your copy of DOS.  Simply follow the
  42.         instructions below, and you will have yourself one THelp for
  43.         Turbo Assembler, one THelp for Turbo C++, and the standard
  44.         THelp.  I recommend naming them THELPASM.COM (for Turbo
  45.         Assembler), THELPCPP.COM (for Turbo C++), and THELP.COM (the
  46.         original version).  Each one distinguishes itself from the
  47.         others.  For example, if you load THELPASM and then try to load
  48.         THELPCPP, everything will go fine and THELPCPP will install
  49.         itself. However, if you then try to load another copy of
  50.         THELPCPP, you won't be able to, because it will know that it is
  51.         already installed.
  52.  
  53.  
  54.  
  55.  
  56.         ─────── Step by Step Patch Instructions ────────────────────────
  57.  
  58.  
  59.         (1)     Make sure you are at the DOS prompt, and that the
  60.                 orignal THELP.COM program is in the current directory.
  61.                 Also make sure that DEBUG.COM is on the DOS PATH, or
  62.                 that it is in the current directory.
  63.  
  64.  
  65.         (2)     Make two extra copies of your original THELP.COM file,
  66.                 and name them THELPASM.COM and THELPCPP.COM:
  67.  
  68.                         COPY THELP.COM THELPASM.COM
  69.                         COPY THELP.COM THELPCPP.COM
  70.  
  71.                 You will now have a total of three copies.  When you are
  72.                 finished installing this patch, you will have, in
  73.                 essense, three different versions of THelp.
  74.  
  75.  
  76.         (3)     Now, configure the two new THelp programs:
  77.  
  78.                         THELPASM /Fc:\asm\tasm.tah /K0C57 /W
  79.  
  80.                 This uses the help file C:\ASM\TASM.TAH (you should
  81.                 enter the pathname for your Turbo Assembler help file,
  82.                 here), the hotkey combination Ctrl-Alt-F11.  (See the
  83.                 THelp documentation for information on selecting a
  84.                 hotkey).
  85.  
  86.                         THELPCPP /Fc:\c\tchelp.tch /K0C58 /W
  87.  
  88.                 This uses the help file C:\C\TCHELP.TCH (you should
  89.                 enter the pathname for your Turbo C++ help file, here),
  90.                 the hotkey combination Ctrl-Alt-F12.  (See the THelp
  91.                 documentation for information on selecting a hotkey).
  92.  
  93.  
  94.         (4)     Now that we have the THelp programs configured and ready
  95.                 to use, we will make them able to differentiate between
  96.                 each other, by changing their 8-byte ID strings.
  97.  
  98.                 Once you are in DEBUG, the prompt will become a minus
  99.                 sign.  Type the rest of the commands (below) at this
  100.                 prompt (but don't type the comments, which begin with a
  101.                 semicolon).
  102.  
  103.                         DEBUG
  104.  
  105.                         L THELPASM.COM          ; load THELPASM.COM
  106.                         E 1F01 "THelpAsm"       ; set new ID string
  107.                         W                       ; save THELPASM.COM
  108.                         L THELPCPP.COM          ; load THELPCPP.COM
  109.                         E 1F01 "THelpC++"       ; set new ID string
  110.                         W                       ; save THELPCPP.COM
  111.                         Q                       ; quit to DOS
  112.  
  113.  
  114.         (5)     All done.  Go grab a Sprite or a Pepsi.  Then enjoy the
  115.                 full benefits of the Turbo Help facilities.
  116.  
  117.  
  118.  
  119.  
  120.         ─────── Sit Back and Relax ─────────────────────────────────────
  121.  
  122.  
  123.         Now that you can have both help files resident at once, life
  124.         becomes a little simpler, though it still has some ruffles...
  125.  
  126.  
  127.  
  128.  
  129.         ─────── Complaints ─────────────────────────────────────────────
  130.  
  131.  
  132.         I'm really surprised by the new THelp 2.0 program.  It leaves
  133.         something to be desired, but in a couple ways it is better than
  134.         the old one.
  135.  
  136.         The new THelp does not make use of EMS at all, which I find
  137.         puzzling, if not distressing.  Judging from the fact that the
  138.         executable file size is 9912 bytes and the resident size is 25k,
  139.         I would have to assume that it is using conventional memory as a
  140.         buffer for the help file.  WHY??  The old THelp was quite
  141.         capable of using EMS, so I consider this a major step backward.
  142.  
  143.         The new THelp also is incapable of switching help files once it
  144.         is installed.  Again, the old THelp was able to.  Another step
  145.         backward, though not a very big one.  Seen in another light,
  146.         this was an advantage, because I was forced to patch THelp to
  147.         allow two help files in memory SIMULTANEOUSLY, which is
  148.         certainly a convenient advantage.  However, my reprimand to
  149.         Borland, International still stands, because they did not
  150.         distribute THelp with this intention.
  151.  
  152.         I do like the new paged format, as opposed to the old "file
  153.         card" format (it was often annoying to have to hit PgUp/PgDn
  154.         with the file card format), but I do not like how the cursor
  155.         keys work now.  I find having to use the Tab key extremely
  156.         cumbersome.  A convenient, simple solution to this problem would
  157.         be to make the cursor keys select keywords if ScrollLock is off,
  158.         or move the cursor and scroll the window if ScrollLock is on.
  159.  
  160.         I like a lot of the new features in the Turbo C++ Professional
  161.         package, but I am greatly disappointed by a lot of little
  162.         careless oversights and numerous oddities.  For example, the
  163.         installation programs for the debugger and profiler don't
  164.         install all the colors, or even do a good job of letting you
  165.         pick the colors.  Also, Borland completely overlooked that those
  166.         of us with EGA/VGA can have 16 background colors, and limited us
  167.         to 8.  The debugger has a number of settings that can only be
  168.         set from within the debugger--and cannot be saved!  Worst of
  169.         all, the debugger is S...L...O...W...!  I am left thinking that
  170.         either the program is sloppily written, or it was written in a
  171.         high-level language (quite inappropriate for a debugger).  I am
  172.         also suprised that we can't configure the mouse pointer.  Also,
  173.         the scroll bars don't work quite right in the debugger or
  174.         profiler, although they work fine in the IDE.
  175.  
  176.         Most of the complaints I have are color-related (the
  177.         installation programs look like they were tossed together at the
  178.         last minute--they just don't install everything!), but the major
  179.         complaint I have is an important one.  On my 16MHz PS/2 Model
  180.         70, Turbo Debugger traces execution maddeningly slowly.
  181.  
  182.  
  183.  
  184.  
  185.                                         Christopher Antos
  186.  
  187.  
  188.         ═══════ End of File ════════════════════════════════════════════
  189.