home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / f / mdm740kp.lbr / CHGLIB20.DZC / CHGLIB20.DOC
Encoding:
Text File  |  1993-10-26  |  6.3 KB  |  137 lines

  1.                 DOCUMENTATION FOR CHGLIB20
  2.                     Revision 2.0 2/28/84
  3.  
  4. Original 2/82 by Tony Ribeiro
  5. Revised á2/83 by Bruce Ratoff for MODEM79x
  6. Revised á5/83 by Dave Holmes to work with MDM707
  7. Revised á5/83 by Mark Pulver added LIBLEN Equate
  8. Revised á6/83 by Mark Pulver added real case conversion
  9. Revised á7/83 by Dennis Recla for Automatic Space Testing
  10. Revised á8/83 by Mark Pulver áfile cleanup, modifiable search ranges
  11. Revised  2/84 by Robert Moroney  allow 36 entries in number list 
  12. Revised  2/84 by Charlie Polete  allow 26 or 36 entries in list
  13. Revised  2/84 by Dennis Recla... Fully automatic universal version
  14.  
  15.      Thσ purposσ oµ CHGLI┬ i≤ t∩ makσ insertion≤ anΣ deletion≤ t∩ 
  16. thσ dia∞ librar∙ oµ MODEM╖ withou⌠ havinτ t∩ reassemblσ thσ 
  17. entirσ file.
  18.  
  19.      Thσ prograφ use≤ anΣ change≤ thσ CO═ filσ anΣ doe≤ no⌠ toucΦ 
  20. o≥ usσ thσ AS═ filσ a⌠ all.
  21.  
  22.      NOTE║  Thi≤ prograφ wil∞ functioε properl∙ onl∙ iµ thσ dia∞ 
  23. librar∙ i≤ faithfull∙ constructeΣ a≤ spelleΣ ou⌠ iε thσ MODEM╖ 
  24. documentation« I⌠ wil∞ searcΦ fo≥ thσ firs⌠ characte≥ ┴ anΣ theε 
  25. d∩ ß tes⌠ fo≥ spacing≤ oµ 30-40¼ (Seσ belo≈ fo≥ morσ oε this)¼ 
  26. betweeε thσ letter≤ A¼ B¼ anΣ ├ oµ thσ Numbe≥ library« Thesσ 
  27. spacinτ value≤ wil∞ mee⌠ mos⌠ oµ thσ variou≤ MODEM╖ program≤ tha⌠ 
  28. havσ beeε writteε t∩ no≈ anΣ includinτ MDM724.  The newer versions
  29. of MDM7xx since MDM722 have larger number lists which include the
  30. numbers 0 to 9 to add an additional 10 phone numbers available.
  31. This revised version will check to see if it is an OLD version of
  32. Modem7 or one of the newest versions of MDM7xx and only allow the
  33. proper entry of alphabetic characters and or numbers.
  34.  
  35. This program will also replace M7LIB.COM as was found with later
  36. versions of MDM7xx.  It is universal in that it works with both the
  37. earlier versions and the more recent versions of MDM7xx or MODEM7.
  38.  
  39. Note:  When the directory of numbers appears on the screen it may
  40. vary from what appears when you use the CAL or NUM command when in
  41. MDM7xx.  The later versions of MDM7xx added a subroutine to organize
  42. the numbers on the screen in order from A to 9 going in a top to
  43. bottom sequence replacing the original left to right sequence of 
  44. phone numbers.  This utility program was not modified, since it is
  45. only used when it is necessary to modify the phone number listing.
  46.  
  47.      CHGLI┬ operate≤ b∙ loadinτ thσ presen⌠ CO═ versioε oµ MODEM╖ 
  48. int∩ ram,allow≤ yo⌡ t∩ makσ you≥ change≤ t∩ thσ library¼ anΣ theε 
  49. save≤ thσ ne≈ CO═ filσ oε disk« I⌠ doe≤ no⌠ deletσ you≥ oriτ 
  50. MODEM╖ CO═ file« Fo≥ example..« 
  51.  
  52.           CHGLIB MODEM7.COM B:MODEM7A.COM
  53.  
  54.      Notσ tha⌠ two(2⌐ argument≤ mus⌠ bσ useΣ wheε invokinτ 
  55. CHGLIB« Thσ firs⌠ i≤ thσ curren⌠ filσ name¼ thσ seconΣ i≤ thσ 
  56. filσ namσ yo⌡ assigε t∩ thσ ne≈ version« A≤ fo≥ thσ seconΣ 
  57. argumen⌠ CHGLI┬ wil∞ no⌠ accep⌠ an∙ filσ namσ tha⌠ i≤ currentl∙ 
  58. activσ oε tha⌠ disk« Iµ yo⌡ wisΦ t∩ kee≡ thσ samσ filσ name¼ yo⌡ 
  59. mus⌠ deletσ thσ olΣ versioε anΣ theε 'RENº thσ ne≈ versioε afte≥ 
  60. usinτ CHGLIB.
  61.  
  62.      CHGLI┬ wil∞ d∩ aε automatiπ tes⌠ t∩ finΣ thσ prope≥ spacinτ 
  63. searcΦ fo≥ thσ star⌠ oµ thσ dia∞ library.NOTE--CHGLI┬ searche≤ 
  64. onl∙ thσ firs⌠ 4╦ byte≤ oµ thσ MODEM╖ filσ a≤ thi≤ i≤ wherσ thσ 
  65. librar∙ i≤ generall∙ located« Wheε CHGLI┬ beleive≤ tha⌠ i⌠ ha≤ 
  66. founΣ thσ librar∙ i⌠ wil∞ displa∙ thσ star⌠ addres≤ anΣ thσ 
  67. librar∙ oε thσ console« I⌠ wil∞ theε asδ yo⌡ iµ thσ librar∙ look≤ 
  68. ok(iε othe≥ words,ha≤ CHGLI┬ founΣ thσ correc⌠ start).Iµ yo⌡ 
  69. answe≥ no,theε thσ prograφ wil∞ continuσ thσ search« Iµ yo⌡ 
  70. answe≥ 'Y',CHGLI┬ wil∞ kee≡ tracδ oµ thσ addres≤ anΣ jm≡ t∩ thσ 
  71. commanΣ function.Afte≥ thσ star⌠ addres≤ ha≤ beeε establisheΣ yo⌡ 
  72. wil∞ theε ge⌠ ß commanΣ prompt« Thσ COMMAND╙ arσ a≤ follows« 
  73.  
  74.           NOTE: áá* ádenotes a valid char A-Z
  75. è
  76.      1)^C áááááExit to CP/M, (with file change checking).
  77.      2)D* áááááDelete one phone number line
  78.      3)I* áááááInsert one phone number line
  79.      4)P ááááááPrints dial library on list device
  80.      5)R ááááááRereads source file(current changes are lost)
  81.      6)V* áááááView one line 
  82.      7)V? áááááView entire library
  83.      8)W ááááááWrite new file to disk 
  84.  
  85.  
  86.     NOTE║  Use≥ caε leavσ INSER╘ modσ withou⌠ change≤ iµ ß C╥ i≤ 
  87. typeΣ witΦ n∩ character≤ entereΣ oε commanΣ line« Fo≥ example,iµ 
  88. use≥ ha≤ starteΣ t∩ typσ iε char≤ anΣ decide≤ no⌠ t∩ makσ an∙ 
  89. changes¼ jus⌠ deletσ char≤ typeΣ iε anΣ hi⌠ ß CR«  Iµ use≥ enter≤ 
  90. 'Iº bu⌠ ha≤ no⌠ typeΣ iε an∙ chars,theε jus⌠ hi⌠ ß CR.Thσ prograφ 
  91. wil∞ returε t∩ thσ commanΣ mode« Follo≈ thσ thσ forma⌠ showε oε 
  92. thσ INSER╘ modσ commanΣ line« Yo⌡ mus⌠ ente≥ exactl∙ 3░ 
  93. chars.Aligε you≥ inpu⌠ witΦ thσ guidσ char≤ locateΣ abovσ thσ 
  94. cursor« ╔ havσ beeε usinτ thi≤ prograφ fo≥ awhilσ anΣ finΣ i⌠ 
  95. ver∙ satisfactory« I⌠ make≤ change≤ t∩ thσ librar∙ ver∙ fast.
  96.  
  97.  
  98.                     TRY IT,YOU WILL LIKE IT ááááááááááááááááááá
  99.  
  100.                     TONY RIBEIRO
  101.                     AVENEL NJ
  102.                     FEB 1982
  103.  
  104. And Others........
  105.  
  106. -----------------------
  107. ╗ Modificatioε Note║  ;
  108. -----------------------
  109.  
  110.      Startinτ witΦ versioε 1.╢ oµ thi≤ program¼ i⌠ i≤ possiblσ t∩ 
  111. changσ thσ numbe≥ librar∙ searcΦ range≤ withou⌠ havinτ t∩ re-
  112. assemblσ thσ program« Therσ arσ tw∩ byte≤ u≡ fron⌠ iε thσ memor∙ 
  113. image¼ thσ firs⌠ occur≤ a⌠ addres≤ 0103╚ anΣ hold≤ thσ lowe≥ 
  114. limit, while the next byte, 0104H, holds the upper spacing limit.
  115.  
  116.      Yo⌡ caε usσ DD╘ t∩ makσ thσ mod≤ a≤ iε thσ followinτ 
  117. example, ( lowercase text is what you type in )...
  118.  
  119.  
  120.      A>DDT CHGLIB.COM<cr>          ; load CHGLIB into memory
  121.      DDT VERS 2.2           ; DDT signon
  122.      NEXT  PC       
  123.      0B80 0100                               
  124.      -s103<cr╛                     ╗ thσ lowe≥ limi⌠ i≤ a⌠ 0103H
  125.      0103 1E xx<cr>                ; 'xx' is the HEX value for the
  126.                                    ; lower limit
  127.  
  128.      0104 28 xx<cr>                ; 'xx' is the HEX value for the 
  129.                                    ; upper limit
  130. è     010╡ 3▒ .<cr╛                 ╗ ß '.º wil∞ ge⌠ yo⌡ ou⌠ oµ se⌠ mode
  131.      -^C                           ; a control C will put you at CP/M
  132.      A>save 11 chglib.com<cr>      ; and save the file to disk
  133.      
  134.  
  135.      Thσ prograφ wil∞ no≈ search¼ iε ▒ bytσ increments¼ thσ rangσ 
  136. tha⌠ you have specified.
  137.  
  138.  
  139.