home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / cpm3 / cpmpadd4.lbr / CPM+ADD2.FZX / CPM+ADD2.FIX
Text File  |  1987-08-12  |  3KB  |  126 lines

  1.                         07-Sep-86
  2.  
  3. TO:    CPM+ADD2 Users
  4. FROM:    Jerry Levy
  5.  
  6. FIX FOR BUG IN CPM+ADD2
  7.  
  8. 1.00  BUG IN CPM+ADD2 and FIX
  9.  
  10. CPM+ADD3 is available  It is about twice as long (then again, it does
  11. more).  If you prefer CPM+ADD2 to version 3, please make the following
  12. changes in CPM+ADD2.ASM and reassemble, or patch the .COM file with SID
  13. to effect the same changes.
  14.  
  15. We correct an error in the dump routine.  The bug is harmless if you
  16. haven't make any changes to the program; it just sits there.  If you've
  17. made changes, however, it could bite.
  18.  
  19. Incidentally, the bug was what gave me the erroneous idea that I had to use
  20. buffering to do one of the dumps.  We don't buffer dumps in CPM+ADD3.
  21.  
  22.     1.10 CPM+ADD2.ASM FILE EDITS
  23.  
  24.     To make the fix in CPM+ADD2, locate the dump2: label, then a bit
  25.     further on
  26.  
  27.       find...            and change to...
  28.  
  29.         jnz    cont            jnz    contin
  30.         mov    a,e            mov    a,e
  31.         cmp    l            cmp    l
  32.         jz    done            jz    done
  33.     cont:    inx    h        contin:    inx    h
  34.  
  35.  
  36.     Next locate the signon message and change the date from 15-Dec-85
  37.     to 07-Sep-86.
  38.  
  39.     Reassemble with MAC, do HEXCOM, and you're done.
  40.  
  41.  
  42.    1.20 PATCHING WITH SID
  43.  
  44.      IF ALSCARD EQUate was left as NO
  45.      --------------------------------
  46.  
  47.     B>SID b:cpm+add2.com
  48.  
  49.     CP/M 3 SID - Version 3.0
  50.     NEXT MSZE  PC  END
  51.     0E00 0E00 0100 C9FF
  52.  
  53.     #d143,14f    [check if right program, and not already patched]
  54.       0143: 31 35 2D 44 65 63 2D 38 35 09 4A 65 72          15-Dec-85.Jer
  55.  
  56.     #l438,43b        [another check, it's right]
  57.       0438  JNZ  0455
  58.        043B  MOV  A,E
  59.       043C  
  60.  
  61.     #a438            [change the jmp]
  62.       0438  jnz 0440
  63.       043B  .
  64.  
  65.     #s143            [change date in signon]
  66.       0143 31 "07-Sep-86
  67.       014C 09 .
  68.  
  69.     #wb:cpm+add2.com
  70.     001Ah record(s) written.
  71.     
  72.     #g0
  73.     
  74.     B>
  75.     
  76.      IF ALSCARD EQUate was set to YES
  77.      --------------------------------
  78.  
  79.     B>SID b:cpm+add2.com
  80.  
  81.     CP/M 3 SID - Version 3.0
  82.     NEXT MSZE  PC  END
  83.     0E80 0E80 0100 C9FF
  84.  
  85.     #d143,14f        [check if right program]
  86.        0143: 31 35 2D 44 65 63 2D 38 35 09 4A 65 72          15-Dec-85.Jer
  87.  
  88.     #l44d,450        [another check, it's right]
  89.       044D  JNZ  046A
  90.       0450  MOV  A,E
  91.       0451  
  92.  
  93.     #a44d            [change the jmp]
  94.       044D  jnz 455
  95.       0450  .
  96.  
  97.     #s143            [change date in signon]
  98.       0143 31 "07-Sep-86
  99.       014C 09 .
  100.  
  101.     #wb:cpm+add2.com
  102.     001Bh record(s) written.
  103.  
  104.     #g0
  105.     
  106.     B>
  107.  
  108.  
  109.  
  110.  
  111.  
  112. 2.00  MISC.
  113.  
  114. Note also that @MXTPA, one of the items which CPM+ADD2 outputs, is the
  115. entry to BDOS only in the situation where no RSX's are active, otherwise it
  116. is the entry to the lowest RSX.  In v.3 (CPM+ADD3) I have altered the @MXTPA
  117. description in the output to signify this.
  118.  
  119.  
  120.  
  121.                         Jerry Levy
  122.                         1129 Dundee Drive
  123.                         Dresher, PA 19025
  124.                         (215) 657-0898
  125.                         (voice - evenings)
  126.