home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / KAYPRO / AUTOBOOT.ARK / AUTOBOOT.WS < prev   
Text File  |  1988-03-13  |  7KB  |  125 lines

  1. AUTOMATION!  LET YOUR OLD CP/M KAYPRO DO IT FOR YOU.
  2. by Dave Green, KUAFC, September 1987
  3.  
  4. (Tips on auto-start at bootup)
  5.  
  6. The  dedicated word processor I use at work starts automatically.  
  7. Well,  almost automatically.   I turn on the switch, pop in an 8" 
  8. disk,  wait  a few seconds,  and the machine presents me  with  a 
  9. blank  page,  ready  and waiting for the words to  start  flowing 
  10. (sometimes it gets just a trickle,  though).  But until recently, 
  11. my  old  Kaypro II had no idea what I wanted when I went  through 
  12. the same procedure.   I would turn on the switch,  pop in a disk, 
  13. wait  a few seconds and find an A> waiting in the corner  of  the 
  14. screen.   Then  if I wanted to use Wordstar,  I'd tell it to load 
  15. Xtrakey (to redefine my keypad for Wordstar), then load Wordstar, 
  16. log Wordstar onto the B: drive to find my text files, and finally 
  17. tell it which file I wanted to work on.          
  18.  
  19. It's a simple procedure,  but it's always the same.   Why not let 
  20. the machine do it for me and speed up the whole process?
  21.  
  22. There's  a  simple  way to set up a system so  your  CP/M  Kaypro 
  23. starts  up  automatically.   The secret is to use a  function  of 
  24. CP/M's  "Copy"  program  to  mark a file on  each  disk  to  load 
  25. automatically when you cold boot the system.   If you've upgraded 
  26. to  Advent's TurboRom system,  you can configure that  system  to 
  27. always look for a particular file name with a cold boot.
  28.  
  29. With either system,  you can make that startup file a submit file 
  30. which executes all of the steps you normally go through to  start 
  31. computing.   SUBMIT.COM is a public domain program which executes 
  32. a series of commands you put together in a "submit file".  EX.COM 
  33. is  a  similar  program which works better in  some  applications 
  34. because it keeps the submit file in memory.  (SUBMIT.COM writes a 
  35. temporary file to disk,  so you have to leave room on the  disk.)  
  36. But I've had better luck with SUPERSUB.COM.   It,  too,  writes a 
  37. temporary file to disk, but I'm using it because EX.COM upset the 
  38. apple  cart with Wordstar--my left arrow cursor control  required 
  39. two keystrokes to move the cursor one space.  SUBMIT.COM wouldn't 
  40. complete  the entire set of commands,  so save yourself some time 
  41. and trouble and use SUPERSUB.COM.
  42.  
  43. SUBMIT.COM, EX.COM (EX15.COM), and SUPERSUB.COM are all available 
  44. in the KUAFC library.
  45.  
  46. In  order to automate my system,  I've written a submit file  for 
  47. each disk of software I use.   Here's the file I use for Wordstar 
  48. named WSTART.SUB:
  49.  
  50.     B:                Logs the B: drive for text files                   
  51.     SD                SD.COM displays directory of disk in B:            
  52.                           and space available                            
  53.     A:XTRA A:WS;WS    Runs Xtrakey redefinition program and              
  54. or  WS                loads Wordstar.  If you don't use
  55.                           Xtrakey or another key definition
  56.                           program, use the second line instead.          
  57.     ERA *.BAK         Erases all backup files on B: drive                
  58.                           after exiting from Wordstar.  Leave            
  59.                           out this step if you want to save              
  60.                           backup files.                                  
  61.     A:                Logs the A: drive                                  
  62.     ERA *.BAK         Erases all backup files on A: drive.               
  63.                           Leave this out if you want to save any         
  64.                           backup files that end up on A:.                
  65.  
  66. The  command to run this procedure is SUPERSUB WSTART.   And that 
  67. brings  up  another  problem.    Try  to  tell  the  computer  to 
  68. automatically run SUPERSUB WSTART when you do a cold boot and you 
  69. won't  get any farther than before.   The trick is  another  free 
  70. public  domain program you can get from the KUAFC library  called 
  71. SYNONYM.COM.  Synonym lets you give the command SUPERSUB WSTART a 
  72. new one-word command file name.  I've used START.COM, but you can 
  73. call  it  AUTOEXEC.COM if you want to pretend you're running  MS-
  74. DOS.   With  my TurboRom system I put a file on every disk  named 
  75. START.COM.   I've already configured the TurboRom system to  look 
  76. for  START.COM every time I do a cold boot.   To make cold  boots 
  77. easier,  I moved the reset button to the front panel of my Kaypro 
  78. II.  Now when I switch from Wordstar to another software package, 
  79. I simply insert the new disk,  punch reset,  and the Kaypro looks 
  80. for a file called START.COM to tell it what to do.
  81.  
  82. ----------------------------------------------------------------------------
  83. Here's a step-by-step review of the process:
  84.     
  85.     1.     Write  a submit file (xxxxx.SUB) listing all  commands 
  86.     you want your Kaypro to automatically perform.   Use the non-
  87.     document  mode  in WordStar or any text editor to create  the 
  88.     file.  Don't leave any blank lines in the middle of the file, 
  89.     but  end  the  file with a blank line with  just  a  carriage 
  90.     return.   The sample file above includes explanatory notes in 
  91.     the right column.  Don't include that column in your file.
  92.  
  93.     2.     Run  SYNONYM.COM to rename SUPERSUB xxxxxx.SUB with  a 
  94.     one-word command such as START.COM.   The form of the command 
  95.     to run SYNONYM is "SYNONYM newname.COM SUPERSUB xxxxxx" where 
  96.     newname  is the name you pick for your startup  command  file 
  97.     (START.COM  or  AUTOEXEC.COM) and xxxxxx is the name of  your 
  98.     submit file.
  99.  
  100.     3.     Configure your system to look for newname.COM when you 
  101.     cold  boot  (either  power  up  or  push  reset).    With   a 
  102.     conventional  CP/M  operating system,  copy each  disk  using 
  103.     CP/M's COPY.COM utility.   After the system copies the entire 
  104.     disk  it  will show you a list of files on that disk and  ask 
  105.     you  which  one you want to run automatically when  you  cold 
  106.     boot the system.  Enter START.COM or AUTOEXEC.COM or whatever 
  107.     name you picked when you ran SYNONYM.COM.
  108.  
  109.           If  you  have  a TurboRom  operating  system,  run  the 
  110.     TurboRom  TURBOCFG.COM  program to configure your  system  to 
  111.     look  for START.COM or AUTOEXEC.COM or whatever you  plan  to 
  112.     name your startup procedure.  It's easier if you use the same 
  113.     file  name for all disks.   Number 8 on the TURBOCFG.COM menu 
  114.     is the selection to specify your automatic cold boot command.  
  115.     Don't forget to write the new system image to a file and then 
  116.     write the system tracks on any disk you want to autoload.
  117. ----------------------------------------------------------------------------
  118.  
  119.  
  120.     Automation  is the name of the game in industry  today.   Why 
  121.     not  automate  your Kaypro and let it make  things  a  little 
  122.     easier?
  123.  
  124.                                     -30-
  125.