home *** CD-ROM | disk | FTP | other *** search
- TPACFG TP&Asm Compiler Configuration Utility Version 2.21
- Copyright (c) 1989 Richard W. Prescott
-
-
- Configuration program for use with
- TP&Asm Integrated Compile-Time Assembler Version 2.2x
-
-
- 1. Overview
-
- I had assumed when I designed TP&Asm that all copies of Turbo Pascal
- with a specific version number would be identical to mine. It now
- appears that there are at least three different revisions of TURBO.EXE
- version 5.5. If your copy of TP55 is different from the one which I
- used in developing TP&Asm Version 2.2, then TP&Asm will not recognize
- it as a valid Turbo Pascal compiler.
-
- The utility TPACFG.EXE will permit you to reconfigure your TP&Asm
- program file (TPA.EXE or TPA(E).EXE) to accommodate minor variations
- in your copy of TURBO.EXE and/or TPC.EXE. It is designed to work with
- any Version 5.5 compiler, and has been tested and used to successfully
- reconfigure TP&Asm for the three variations of TURBO.EXE of which I am
- currently aware.
-
- TP&Asm Version 2.21 will notify you if it is run with no parameters and
- it does not recognize your copy of TURBO.EXE, or if is run with the "c"
- shorthand syntax and it does not recognize your copy of TPC.EXE. In
- that case, or if you do NOT see the following message when you run tpa
- or tpa(e):
-
- TP&Asm Copyright (c) 1989 Richard W. Prescott: [Assembler is ACTIVE]
-
- then you must use TPACFG to reconfigure the TP&Asm program file for
- your copy of Turbo Pascal Version 5.5.
-
- Version 5.0 users, if TP&Asm does not recognize your compiler, please
- notify me! I will gladly develop a configuration utility for Turbo 5.0
- if it should be necessary.
-
-
- 2. Usage instructions
-
- The general syntax for using TPACFG is as follows:
-
- TPACFG [Tpa22Path [Tp55Path]]
-
- Both parameters may be omitted. If the second parameter is omitted,
- the default Tp55Path is TURBO.EXE in the current directory. If both
- parameters are omitted the default Tpa22Path is TPA.EXE in the current
- directory.
-
- PLEASE NOTE: Like the TINST utility, this utility will modify the
- specified TP&Asm program file without creating a backup original.
- DO NOT use it on your original distribution disk!
-
- To reconfigure your copy of TPA(E).EXE assuming that TURBO, TPC, and
- TPA(E) are all in the same directory, make that directory current and
- enter the following commands:
-
- TPACFG TPA(E)
- TPACFG TPA(E) TPC
-
- To reconfigure your copy of TPA(E).EXE assuming that TURBO and TPC are
- in one directory (say, C:\TP) and TPA(E) is in a separate directory
- (say, C:\TPA\22), enter the following commands:
-
- TPACFG C:\TPA\22\TPA(E) C:\TP\TURBO
- TPACFG C:\TPA\22\TPA(E) C:\TP\TPC
-
- To reconfigure TPA.EXE, simply use "TPA" in place of "TPA(E)" in the
- above statements.
-
- If you have renamed your TP&Asm, TURBO, or TPC program files, simply
- substitute the new name in place of the original name listed above;
- TPACFG distinguishes these files based on internal characteristics
- rather than by name.
-
-
- 3. TPACFG output
-
- The following series of messages indicates that TPACFG performed a
- successful reconfiguration of your TP&Asm program file:
-
- Loading compiler ...
- Analyzing compiler ...
- Loading TP&Asm ...
- xx TPA location(s) adjusted
- Saving TP&Asm ...
-
- The following series of messages indicates that no reconfiguration
- was required (because TP&Asm was already configured properly for
- your compiler):
-
- Loading compiler ...
- Analyzing compiler ...
- Loading TP&Asm ...
- 0 TPA location(s) adjusted
-
-
- 4. TPACFG error messages
-
- TPACFG will trap usage errors and respond with an appropriate error
- message. Correct the specified condition and reenter the command.
- In case of difficulty, please check the following four conditions:
-
- o Tpa22Path must specify a valid TP&Asm Version 2.2 program file
- which can be found by the command DIR <Tpa22Path>[.EXE]
-
- o Tp55Path must specify a valid Turbo Pascal Version 5.5 compiler
- file which can be found by the command DIR <Tp55Path>[.EXE]
-
- o The TP&Asm program file being reconfigured must not carry the
- "Read-Only", "Hidden", or "System" directory attribute.
-
- o The file TURBO.TPL must be available in the Turbo directory.
-
-
-
- Note:
-
- In the event that the reconfiguration should fail for a valid Version
- 5.5 compiler, you would see a series of messages like the following:
-
- Loading compiler ...
- Analyzing compiler ...
- ═══> Location xx Not Found
- ═══> Location yy Not Found
- ═══> Location zz Not Found
-
- Could not configure for specified compiler
-
-
- If that should happen, please (!) note the location numbers not found
- and notify me via CompUServe [76656,2476] or at the following address:
-
- Rick Prescott
- 21 Mondale Court
- Madison, WI 53705
-
-
-
- TPACFG was compiled and assembled using Turbo Pascal Version 5.5 and
- TP&Asm Version 2.2.
-