home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / sap50.lbr / SAP50.NZT / SAP50.NOT
Encoding:
Text File  |  1993-10-25  |  2.1 KB  |  34 lines

  1. SAP 5.0  Note                                          August, 7, 1986
  2.  
  3.  
  4.      I would like to respond to Irv Hoff's comments in SAP49.WRN.  He does
  5. have a valid point that SAP49.COM as assembled would delete all zero-length
  6. files and could thus hurt those people who use such files for disc
  7. cataloging programs.  In SAP50.COM I have compiled with SAVDASH set to YES
  8. to not have this problem.  But his complaint that the code was written for
  9. Z80MR which he says most people don't have is weak.  The only difference (in
  10. the code) from Z80MR and any other Z80 compiler is the format of the
  11. expressions.  Why couldn't you simply change the couple dozen lines of code
  12. with expressions in them?  As for the difficulty involved, only the equates
  13. for YES and UNSPECI have such expressions.  All the other expressions are
  14. parts of conditional IF statements which could easily be globally searched
  15. for.  But even if I tried to do this trivial work for you, I don't have M80
  16. to test whether it would assemble, which is why I didn't even try.  Later on
  17. this September I should get M80 so I will make my submittals assemble with
  18. it.
  19.      As for the extra speed I claimed, I based that claim on the fact that I
  20. removed many extraneous instructions or slow code, always making sure that
  21. the replacement code was less bytes and/or less cycles.  If the overall
  22. speed is about the same then it is probably because the bulk of the time is
  23. spent doing disk i/o which swamps any benefit during the sort.  I shouldn't
  24. have emphasized the new speed, I'm sorry, but it is quicker.  Doing just a
  25. quick test with SAP 50 and SAP 43 I found that SAP 50 was barely faster.
  26. Ok, but it works, which is more than can be said for SAP 43!
  27.      And finally, the main point is that SAP 43 would crasch CP/M in
  28. attempting to sort a directory that wouldn't fit in memory.  SAP50 will tell
  29. you that it can't sort everything and it will sort as much as will fit in
  30. memory.  And how long does it take to sort a hard disk directory?  Mine only
  31. takes 12.95 seconds (it didn't all fit in memory, so this is probably a
  32. maximum time).
  33.                                         Richard Huff
  34.