Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!RADC-TOPS20.ARPA!GUBBINS
From: GUBBINS@RADC-TOPS20.ARPA (Gern)
Newsgroups: comp.sys.zenith.z100
Subject: PDLIB, MASM problems
Message-ID: <12450709310.9.GUBBINS@RADC-TOPS20.ARPA>
Date: 30 Nov 88 16:28:56 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 22

It has just come to my attention that a lot of the ASM code in
the HZPDLIB has problems with different versions of MASM and the
PUP includes.  CRTSAVER.ASM is the example I am working on now.

It seems that MS-DOS Version 2 and Version 3 PUPs each contain less
of some of the EQU definitions in the include files.   You can't
MASM MDISK.ASM from the Version 2 PUP with Version 3 DEFxxx.asm files
(one EQU is missing).  CRTSAVER has several EQU missing when using
the version 2 or 3 DEFxxx.asm, but is fine with ZDOS DEFxxx.asm.
Also, after Including the needed definitions, CRTSAVER will not assemble
under MASM version 4.x (phase errors - and I don't know how to correct
them), BUT will assemble and run perfectly under MASM version 1.3 (from
ZDOS disks).

So, if the *.ASM file from the HZPDLIB bombs out, try MASM and DEFxxx
files from ZDOS disks.  I also recommend not Including the DEF files,
but inserting the code as necessary.

Does anyone know how to correct for bogus Phase errors???

Gern
-------