home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol093 / chglib.doc < prev    next >
Encoding:
Text File  |  1984-04-29  |  3.6 KB  |  79 lines

  1.                 DOCUMENTATION FOR CHGLIB
  2.  
  3. Original 2/82 by Tony Ribeiro
  4. Revised  2/83 by Bruce Ratoff for MODEM79x
  5.  
  6.      The  purpose  of  CHGLIB  is  to  make  insertions  and 
  7. deletions  to the dial library of MODEM7 without  having  to  
  8. reassemble the entire file.
  9.  
  10.      The  program uses and changes the COM file and does not 
  11. touch or use the ASM file at all.
  12.  
  13.      NOTE:This  program  will function properly only if  the 
  14. dial library is faithfully constructed as spelled out in the 
  15. MODEM7 documentation.
  16.           
  17.      CHGLIB  operates by loading the present COM version  of 
  18. MODEM7  into  ram,allows  you to make your  changes  to  the 
  19. library,  and then saves the new COM file on disk.  It  does 
  20. not delete your orig MODEM7 COM file. For example...       
  21.  
  22.           CHGLIB MODEM7.COM B:MODEM7A.COM
  23.  
  24.      Note   that   two(2)  arguments  must  be   used   when 
  25. invoking  CHGLIB.  The first is the current file  name,  the 
  26. second is the file name you assign to the new  version.   As 
  27. for  the   second  argument  CHGLIB  will  not   accept  any 
  28. file  name  that  is currently  active on that disk.  If you 
  29. wish   to  keep   the same  file name,  you must delete  the 
  30. old  version   and  then 'REN' the new version  after  using 
  31. CHGLIB.
  32.  
  33.      The  first question the program asks you is if you know 
  34. the  start address of the dial library in the  MODEM7  file.   
  35. If  you  answer 'Y',  then the program prompts you for  that 
  36. address.Enter the address in hex(4 chars are expected).   If  
  37. you  answer 'N',you are asked if you wish the program to  do 
  38. an AUTO SEARCH for the start address.  If you answer 'N'  to 
  39. AUTO  SEARCH  the  prog will terminate and  reboot  to  your 
  40. system.  If   answer   is 'Y' then CHGLIB will do  the  auto  
  41. search  for  the  start  of  the  dial  library.NOTE--CHGLIB 
  42. searches  only the first  2K   bytes  of the MODEM7 file  as 
  43. this  is  where  the library is generally located.      When 
  44. CHGLIB  beleives  that  it  has found the  library  it  will  
  45. display   the   start  address and  the   library   on   the 
  46. console.  It  will then ask you if the library  looks  ok(in 
  47. other  words,has  CHGLIB  found the  correct  start).If  you 
  48. answer no,then the program will continue the search.  If you 
  49. answer  'Y',CHGLIB will keep track of the address and jmp to 
  50. the  command  function.After  the  start  address  has  been 
  51. established  you  will then get a  command  prompt.      The 
  52. COMMANDS are as follows.               
  53.           NOTE:   *  denotes a valid char A-Z
  54.      1)^C      Exit to cpm.
  55.      2)D*      Delete one phone nbr line
  56.      3)I*      Insert one phone nbr line
  57.      4)P       Prints dial library on list device
  58.      5)R       Rereads source file(current changes are lost)
  59.      6)V*      View one line 
  60.      7)V?      View entire library
  61.      8)W       Write new file to disk 
  62.  
  63.     NOTE:User can leave INSERT mode without changes if a  CR   
  64. is  typed  with no characters entered on command  line.  For 
  65. example,if user has started to type in chars and decides not  
  66. to  make  any  changes,just  delete  chars typed in and  hit 
  67. a  CR.If user enters 'I' but has not typed in any chars,then 
  68. just  hit  a  CR.The  program will  return  to  the  command 
  69. mode.Follow the the format shown on the INSERT mode  command 
  70. line.You  must  enter  exactly 30  chars.Align  your   input   
  71. with  the guide chars located above the cursor.  I have been 
  72. using   this   program  for  awhile  and  find   it     very 
  73. satisfactory.It makes changes to the library very fast.
  74.                     TRY IT,YOU WILL LIKE IT                    
  75.  
  76.                     TONY RIBEIRO
  77.                     AVENEL NJ
  78.                     FEB 1982
  79.