home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / cpmug / cpmug081.ark / AUTOLOAD.DOC < prev    next >
Encoding:
Text File  |  1984-04-29  |  2.1 KB  |  57 lines

  1. AUTOLOAD.DOC   by  Willis E. Howard, III
  2.  
  3. The program AUTOLOAD.COM implements the CP/M function
  4. which allows a program to be automatically loaded
  5. and run, following the cold boot.  The mechanics of
  6. this are described by Kelly Smith in Microsystems,
  7. Vol. 3 (1982), #1, page 88.
  8.  
  9. At first, the program will prompt for the disk to
  10. be modified.  Type in the disk designation (e.g. A
  11. or B in caps) corresponding to a valid disk on your
  12. system.  Follow the single letter with a carriage
  13. return.
  14.  
  15. The program then prompts for the command line.  At
  16. this point, type in a single command line followed
  17. by a carriage return, as you would for CP/M.  This
  18. command line ( e.g. STAT *.* ) will be stored on
  19. the system tracks of your designated disk and
  20. executed every time you have a cold boot.
  21.  
  22. This is especially useful if you want to load a
  23. software driver or other special program each time
  24. the system is cold booted.  Note that the command
  25. line can also consist of a submit command which will
  26. allow a wide range of actions to be performed on
  27. cold boot.
  28.  
  29. In general, your CBIOS should contain the commands
  30.  
  31.     XRA    A
  32.     STA    CCP+7
  33.  
  34. in the warm boot section.  CCP is the starting address
  35. of the CCP in your system.  This command will prevent
  36. the autoload command line from being executed on warm 
  37. boot.
  38.  
  39. This program defaults to the start of the CCP on 
  40. track 0 and sector 2.  This default may be changed at
  41. run time by responding to the request for which disk
  42. 'DISK A OR B ?' with an asterisk '*' following the
  43. disk letter , e.g. with A* to select disk A and to
  44. change the default track and sector numbers.  You will
  45. be prompted for input.  This is a dangerous command
  46. since it writes on your disk exactly where you tell
  47. it to, so be sure to get the track and sector numbers
  48. right!  No provision has been made for the begin of
  49. the CCP at any position other than the beginning
  50. of the designated sector.
  51.  
  52. There is only one error message 'ERROR' with an immediate
  53. return to CP/M.  This can come from incorrect numerical
  54. input or a bad disk select, read or write.
  55.  
  56. WEH,III   April,1982
  57.