home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / uploads / zml16.pat < prev    next >
Encoding:
Text File  |  1993-06-07  |  1.1 KB  |  33 lines

  1. ;Patch for ZML16.COM by Al Hawley
  2. ; 17 OCT 1991
  3. ;Corrects inappropriate error messages and consequent
  4. ; aborted linkage when making Type 3 COM file and
  5. ; when linking rel files in which an External symbol
  6. ; with an offset has been declared. An example of such
  7. ; a declaration is "LD HL,EXTFN+3", where EXTFN is a
  8. ; symbol declared external and ASEG is the most recently
  9. ; declared segment. Such usage is not common; an ASEG
  10. ; declaration is seldom required.
  11.  
  12. ;To implement this patch, assemble this file with ZMAC
  13. ;to produce a HEX object file (NOT a REL file!).
  14. ;Then use MLOAD or MYLOAD to perform the patch:
  15. ;   MLOAD ZML16.COM,ZML16PAT
  16.  
  17.     ORG    26FH
  18.     XOR    A        ;XOR A = 0AFH
  19.  
  20.     ORG    0A73H
  21.     DB    0,0,0,0,0,0,0
  22.  
  23. ;An alternate method is to simple use your favorite
  24. ;debugger to manually change the bytes at the above
  25. ;locations. For this purpose, you will need to SAVE
  26. ;51h (81 decimal) records to make the patched file.
  27. ;NOTE that this is 128-byte records, NOT 256-byte pages!
  28. ;Use a SAVE utility (like SAVE16) that can save on a
  29. ;record basis. For SAVE16 such a command would be:
  30. ;   SAVE16 51H NEWZML.COM S
  31.  
  32.     END
  33.