home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / disam.zip / DFH3.Z03 < prev    next >
Text File  |  1990-04-20  |  3KB  |  49 lines

  1. ***********************************************************************
  2. *                                                                     *
  3. *    File Name: DFH3.COM        ZAP NUMBER 3                          *
  4. *                                                                     *
  5. *    Patch to alter the size of the file buffer and space alloc.      *
  6. *                                                                     *
  7. *    Reason:                                                          *
  8. *       Initially each buffer defaults to the sum of five basic       *
  9. *       sub buffers. They are in order of use:                        *
  10. *       Control Block Buffer  =  128 dec bytes                        *
  11. *       Index   Block Buffer  =  512                                  *
  12. *       Data    Block Buffer  = 2048                                  *
  13. *       User    Input Buffer  =  256                                  *
  14. *       Slop                  =   16                                  *
  15. *                              ------                                 *
  16. *                               2960    = 0B90 bytes                  *
  17. *                               2960/16 = 00B9 paragraphs             *
  18. *                                                                     *
  19. *       DISAM's record length word allows for a 64K record though     *
  20. *       this has never been tested. It is concevable however that     *
  21. *       an assembler program may need an input buffer size of 2048    *
  22. *       bytes.     Index Block = 512,    Data Block = 8196            *
  23. *       Space = 128 + 512 + 8192 + 2048 + 16 = 10,896 = 2A90 = 02A9   *
  24. *                                                                     *
  25. *       The zap values then become;  02A9 paragraphs and              *
  26. *                                    2A90 bytes for allocation        *
  27. *       These values get reversed in the module so the zap values     *
  28. *       are A902 at 0D69 and 902A at 0D8D.                            *
  29. *                                                                     *
  30. *    Applied:                                                         *
  31. *           mm/dd/yy by:                                              *
  32. ***********************************************************************
  33. NAME DFH3.COM
  34. * MODULE VERSION VERIFICATION
  35. VER 0030 56657220332E352032304170723930     "Ver 3.5 20Apr90"
  36. * PREREQUISITE ZAPS:
  37. * CO-REQUISITE ZAPS: NONE
  38. * VERIFY CURRENT VALUE
  39. VER 0E19 83C702      ADD DI,2
  40. VER 0E1C 05          ADD AX,185
  41. VER 0E3C BAAC0E      MOV DX,OFFSET BASE
  42. VER 0E3F 81C2        ADD DX,0B90H
  43. * REPLACE WITH NEW VALUE
  44. *                    NEW BUFFER PARAGRAPHS AND ALLOCATION SIZE
  45. REP 0E1D B900        NEW NUMBER OF PARAGRAPHS IN LOHI ORDER
  46. REP 0E41 900B        NEW ALLOCATION SIZE IN LOHI ORDER
  47. REP 0053 40          INSTALL ZAP #3  (REINSTALLABLE)
  48. END
  49.