home *** CD-ROM | disk | FTP | other *** search
- ;Patch for ZML16.COM by Al Hawley
- ; 17 OCT 1991
- ;Corrects inappropriate error messages and consequent
- ; aborted linkage when making Type 3 COM file and
- ; when linking rel files in which an External symbol
- ; with an offset has been declared. An example of such
- ; a declaration is "LD HL,EXTFN+3", where EXTFN is a
- ; symbol declared external and ASEG is the most recently
- ; declared segment. Such usage is not common; an ASEG
- ; declaration is seldom required.
-
- ;To implement this patch, assemble this file with ZMAC
- ;to produce a HEX object file (NOT a REL file!).
- ;Then use MLOAD or MYLOAD to perform the patch:
- ; MLOAD ZML16.COM,ZML16PAT
-
- ORG 26FH
- XOR A ;XOR A = 0AFH
-
- ORG 0A73H
- DB 0,0,0,0,0,0,0
-
- ;An alternate method is to simple use your favorite
- ;debugger to manually change the bytes at the above
- ;locations. For this purpose, you will need to SAVE
- ;51h (81 decimal) records to make the patched file.
- ;NOTE that this is 128-byte records, NOT 256-byte pages!
- ;Use a SAVE utility (like SAVE16) that can save on a
- ;record basis. For SAVE16 such a command would be:
- ; SAVE16 51H NEWZML.COM S
-
- END
-