home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ComBat Batch File Compiler Version 2.30
- Copyright, (c) 1993 By: Jack R. Vanatta
- All Rights Reserved
-
-
- USER SUPPORT
-
- This program is "user supported."
-
- That does NOT mean public domain. We retain all rights. What it
- does mean is that this is an experiment in marketing. If you are
- uncomfortable with "shrink wrap" agreements, copy protection, and
- a price that more represents advertising costs than development
- costs, then user supported software is the only reasonable altern-
- ative. We signify our trust in the user community by offering our
- product for sale in this manner. We hope you respond in kind.
- ComBat is not copy protected, but ComBat and all of the batch file
- utilities included are copyrighted software. You are encouraged to
- make evaluation copies for your friends. After all, if you can't
- try it, how do you know if you like it? The diskette with all files
- may be copied and shared with others, so long as no charge is made,
- and it is unmodified and copied in its entirety. These files may be
- distributed via modem from bulletin board systems, provided that all
- files are transmitted (archived) together.
-
- If, after evaluation, you find the program useful to you and wish
- to own a copy, see the registration/order form at the end of this
- documentation. Registration costs $29.95.
-
-
-
-
- ComBat is a batch file compiler that will make a .COM file from a
- batch (.BAT) file. With ComBat it is possible to include some .COM
- files directly into your compiled code. That will be explained later
- in this documentation. ComBat requires at least an 80286 processor.
- COMBAT.EXE and INCLUDE.EXE will end with a message that an 80286 is
- required. A ComBat compiled program will work properly on an 8088/8068
- so long as the feature to include a .COM file directly into the
- compiled code is not used. If .COM files are included an 8088/8086
- will hang the first time it tries to run one. To install ComBat copy
- the following files into a directory named COMBAT:
-
- COMBAT.DOC - This documentation file.
- COMBAT.EXE - This is the main part of the batch file compiler.
- COMBAT2.EXE - Called by COMBAT.EXE, not a stand alone program.
- COMBAT.RUN - Binary file used by COMBAT.EXE
- INCLUDE.EXE - Used to create the files neccessary to include a
- .COM file directly into the compiled code.
-
- BAT-UTIL.ZIP - Useful batch file utilities included free of charge.
- Install these helpful utility programs in a directory listed in the
- DOS path.
-
- Using ComBat is really quite simple. Create your batch file using
- your text file editor. Then debug it like you normally would. Compile
- it with the command:
-
- COMBAT [path]filename[.bat]
-
- After the file has been compiled if you type the name the .COM file
- will execute. DOS automatically finds a .COM file and executes it
- before it looks for a .BAT (or .EXE) file.
-
- There are a few minor differences between a Combat .COM file and a
- batch file. Most of them are just due to the differences between a
- compiler and an interpreter.
-
- ECHO is always OFF. An "ECHO OFF" or ECHO ON" command will not do
- anything.
-
- BREAK is also ineffective. <CTRL> - <BREAK> or <CTRL> - C are trapped
- better than they are in a batch file.
-
- EXIT ends the compiled program, without closing the command
- interpreter. When ComBat sees an EXIT command it changes it to a goto
- that is processed internally. Because of this the command "ECHO EXIT"
- will not echo EXIT.
-
- Most TSR programs will not work. They usually crash, however I had a
- little luck with TSR programs that follow strictly the rules set forth
- in "Undocumented DOS" published by Addison-Wesley Publishing Co. Be
- careful.
-
-
-
- As mentioned earlier ComBat has the ability to include a .COM file
- directly into the compiled code. Unless otherwise stated all of the
- utility .COM files on this disk have been tested and will work when
- included. However many .COM files will not.
-
- All TSR programs will fail when included. INCLUDE.EXE has a built in
- TSR detector which will not allow you to include some TSR programs, but
- it can be fooled.
-
- Programs that shell out to run other programs can not be included.
- When DOS starts a program that program is allocated all remaining
- memory. That program must re-allocate memory to free up all of the
- memory it does not need. The re-allocation will release memory needed
- by the ComBat compiled program.
-
- DO.COM, one of utility programs included with ComBat, will work when
- included directly into the ComBat compiled code. It was specially
- written to work around this problem. If you have registered your copy
- of ComBat and ask for information on how to write a program to call
- another program that can be included I will gladly supply it.
-
- The DOS pipe or re-direction can not be used with an included program.
- ComBat will run a line in a batch file that uses the pipe or re-
- direction by passing it along to COMMAND.COM. It will work properly if
- the programs can be located via the DOS path.
-
- Most of the programs I have tried that will work when included were
- written in assembly language. A lot of high level language compilers
- seem to do something that is incompatible with ComBat. I have tried to
- make it possible to include as many programs as possible but there are
- many different ways to write a .COM file and it would impossible to
- write something that would include them all.
-
-
-
-
- In order to include a .COM file directly into the ComBat Compiled code
- you must first run the INCLUDE.EXE program. INCLUDE.EXE creates the
- following two files:
-
- C-B.INC - This file holds the binary images of the .COM files to be
- included, modified slightly to make them compatible with
- ComBat.
-
- C-B.LST - This file is a list of the .COM files to be included, and
- their length. ComBat uses this file to calculate the
- addres where it can find the included code. You can look
- at this file to see what .COM files will be included.
-
- All of the .COM files listed in the C-B files will be included whether
- or not they are used. It is best to the erase the C-B files and
- recreate them when starting a new project.
-
- To use the include feature of ComBat write your batch file, debug it,
- then compile in the normal manner. When everything is working properly
- include the .COM files with the command:
-
- INCLUDE [path]filename[.com]
-
- The C-B files will be created the first time INCLUDE.EXE is run. On all
- subsequent runs INCLUDE.EXE will append the information to the existing
- C-B files. Now use COMBAT.EXE to re-compile the program.
-
- COMBAT.EXE, COMBAT2.EXE and INCLUDE.EXE were written for and compiled
- using Spectra PowerBASIC version 2.10a. COMBAT.RUN was written for and
- assembled using CHASM version 4.14.
-
- CHASM is "the CHeap ASseMbler", an excellent shareware assembler by Dave
- Whitman. If you want to write .COM files to include in your ComBat
- programs this is the assembler to use. This plug was unsolicited.
-
-
- ComBat Batch File Compiler
-
- The ComBat Batch File Compiler creates a .COM file
- From a batch file. This batch file compiler has
- the unique ability to include existing .COM files
- directly into the compiled code.
-
- $29.95 to register or order Combat ___________
-
-
- Simple Menu System
-
- Simple Menu System is an automatic menu program.
- Just install it in your DOS path and it will
- display a menu of all your executable files
- automatically.
-
- $19.95 to register or order Simple Menu System ___________
-
-
- Security System
-
- Security System is program to password protect
- your computer system. It features the ability
- to change passwords easily and includes two
- different security levels.
-
- $19.95 to register or order Security System ___________
-
-
- DO.COM source code
-
- This is the source code for DO.COM. It shows
- how to write a program that can tell if it is
- being included directly into the compiled code
- of a ComBat program or running as a stand alone
- Program.
-
- Free to registered users of ComBat ___________
-
- [ ] Register only
- [ ] Send programs on 5 1/4" Diskette
- [ ] Send programs on 3 1/2" Diskette
-
- Pre Tax Total ___________
-
- Minnesota Residents Add 6.5% Sales Tax ___________
-
- TOTAL ___________
-
- Send Check or Money Order Payable to:
-
- Jack R. Vanatta
- 3408 39th Ave So
- Mpls, MN 55406
-
-