home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / asmutl / l80reset.pat < prev    next >
Encoding:
Internet Message Format  |  1984-03-26  |  1.6 KB

  1. From: Eldridge.es at PARC-MAXC.ARPA
  2. To:   info-cpm at brl.ARPA
  3. Re:   L80 patch to avoid disk reset
  4. Date: Thu, 8 Mar 84 12:33 PST
  5.  
  6. The linker "L80.COM" from Microsoft behaves in way that can be annoying.
  7. L80 does a disk reset and relogs the disk every time it accesses a new
  8. .REL file.  This was done so that .REL files from several disks could be
  9. linked simply by inserting the proper disk before entering the name of
  10. the .REL file.  All the relogging avoided the dreaded BDOS ERROR: R/O
  11. that comes from indiscriminately swapping disks.
  12.  
  13. If you never swap disks, then this behavior just increases the link
  14. time.  This relogging becomes very time consuming when you have a hard
  15. disk with a large directory since CP/M must regenerate the allocation
  16. map every time it resets the disk.  The following patch will eliminate
  17. the unnecessary relogging.
  18.  
  19. This patch is for Link-80 3.44 09-Dec-81.
  20.  
  21. A>REN L80.BAK=L80.COM
  22.  
  23. A>DDT L80.BAK
  24. DDT VERS 2.2
  25. NEXT   PC
  26. 2B00  0100
  27.  
  28. -L2CC
  29. 02CC    MVI    C,19
  30. 02CE    CALL    0005
  31. 02D1    PUSH    PSW
  32. 02D2    MVI    C,0D
  33. 02D4    CALL    0005
  34. 02D7    POP    PSW
  35. 02D8    MOV    E,A
  36. 02D9    MVI    C,0E
  37. 02DB    CALL    0005
  38. 02DE    XRA    A
  39.  
  40. -A2CE
  41. 02CE    JMP    02DE
  42. 02D1    .
  43.  
  44. -S395
  45. 0395    20    31
  46. 0396    20    .
  47.  
  48. -^C
  49.  
  50. A>SAVE 42 L80.COM
  51.  
  52. The patch causes a jump around the disk relogging calls.  The version
  53. number is also changed to 3.441.
  54.  
  55. If you have been linking files on a hard disk you will be pleased by the
  56. marked increase in speed.  I have not had any problems linking files
  57. using the patched version of L80.  Remember that you cannot swap disks
  58. while you are running the modified version of L80.
  59.  
  60. George (Eldridge.es@PARC-MAXC.ARPA)
  61.