home *** CD-ROM | disk | FTP | other *** search
- AUTOLOAD.DOC by Willis E. Howard, III
-
- The program AUTOLOAD.COM implements the CP/M function
- which allows a program to be automatically loaded
- and run, following the cold boot. The mechanics of
- this are described by Kelly Smith in Microsystems,
- Vol. 3 (1982), #1, page 88.
-
- At first, the program will prompt for the disk to
- be modified. Type in the disk designation (e.g. A
- or B in caps) corresponding to a valid disk on your
- system. Follow the single letter with a carriage
- return.
-
- The program then prompts for the command line. At
- this point, type in a single command line followed
- by a carriage return, as you would for CP/M. This
- command line ( e.g. STAT *.* ) will be stored on
- the system tracks of your designated disk and
- executed every time you have a cold boot.
-
- This is especially useful if you want to load a
- software driver or other special program each time
- the system is cold booted. Note that the command
- line can also consist of a submit command which will
- allow a wide range of actions to be performed on
- cold boot.
-
- In general, your CBIOS should contain the commands
-
- XRA A
- STA CCP+7
-
- in the warm boot section. CCP is the starting address
- of the CCP in your system. This command will prevent
- the autoload command line from being executed on warm
- boot.
-
- This program defaults to the start of the CCP on
- track 0 and sector 2. This default may be changed at
- run time by responding to the request for which disk
- 'DISK A OR B ?' with an asterisk '*' following the
- disk letter , e.g. with A* to select disk A and to
- change the default track and sector numbers. You will
- be prompted for input. This is a dangerous command
- since it writes on your disk exactly where you tell
- it to, so be sure to get the track and sector numbers
- right! No provision has been made for the begin of
- the CCP at any position other than the beginning
- of the designated sector.
-
- There is only one error message 'ERROR' with an immediate
- return to CP/M. This can come from incorrect numerical
- input or a bad disk select, read or write.
-
- WEH,III April,1982
-