home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / JSAGE / ZSUS / PROGPACK / ZASM33FX.LBR / Z33ZASM.FZX / Z33ZASM.FIØ
Text File  |  2000-06-30  |  2KB  |  66 lines

  1.  
  2. Name: Z33ZASM.FIX
  3. Date: 17 August 1987
  4.  
  5.  
  6.  
  7.              Fix for Error in Z33HDR.LIB in Z33ZASM.LBR
  8.  
  9. The Z33ZASM.LBR from Michal Carson (05/21/87) was a great help in installing
  10. ZCPR33 on my system.  I had been trying for 2 days to get the files to assemble
  11. with ZAS 2.4 without luck.  PD to the rescue !!  Finally everything assembled.
  12.  
  13. After regenerating the system, booting up, everything seemed fine.  But,
  14. * gotcha *, as soon as I entered a valid transient command, everything locked
  15. up.  After 3 hours of testing, nothing...  It still would not run anything.
  16.  
  17. Time to print the assembly listing on my old ( meaning slow !!! ) printer.
  18. After 2 hours of printing and 15 minutes of searching, I found it.
  19.  
  20.  
  21. Excerpt from Z33HDR.LIB (from Z33ZASM.LBR) section of assembly:
  22.  
  23.                    ..
  24.                    ..
  25.                    ..
  26.       (0000)      0449  extmpath        defl    no
  27.       (0000)      0450  extmpthadr      defl    0       ; Needed only if ...
  28.                   0451
  29.       (FFFF)      0452           if     [ expaths le 10 ]
  30.       (FFFF)      0453  extmpath        defl    yes
  31.       (FFD0)      0454  extmpathadr     defl    extstk
  32.                   0455           endif
  33.                    ..
  34.                    ..
  35.                    ..
  36.                   5900
  37.       (FFD0)      5901           if     extmpath
  38.                   5902
  39.       (0000)      5903  mpath   equ     extmptha ; Assign external minpath adr
  40.                   5904
  41.                    ..
  42.                    ..
  43.                    ..
  44.  
  45.  
  46. As can be seen in line 5903 of the listing "mpath" is getting set to the
  47. beginning of RAM, as soon as the system starts a path search it wipes
  48. out all those necessary vectors on page 0.  And what happens to the system?
  49. It hangs.
  50.  
  51. Why is this happening ?  Line 454 should read:
  52.  
  53.       (FFD0)      0454  extmpthadr      defl    extstk
  54.                              ^
  55.                              |
  56.                    Notice the removal of 'a' 
  57.                    Only the 1st 8 char's are significant in ZASM
  58.                    so we now have the proper "extmptha"
  59.  
  60.  
  61. An updated Z33HDR.LIB is included with this change in effect.
  62.  
  63.  
  64. Bill Greathouse
  65. Systems Technologies, Incorporated
  66.