From lll-lcc!lll-winken!uunet!mcsun!hp4nl!kunivv1!root Thu Jan 11 09:23:09 PST 1990
Article 3330 of comp.os.cpm:
Path: lll-lcc!lll-winken!uunet!mcsun!hp4nl!kunivv1!root
>From: root@kunivv1.sci.kun.nl (Privileged Account)
Newsgroups: comp.os.cpm,comp.sources.bugs
Subject: Patch for Z80/Z280 disassembler package
Summary: Apply this patch
Keywords: Z80 Z280 disassembler C patch
Message-ID: <685@kunivv1.sci.kun.nl>
Date: 10 Jan 90 12:48:38 GMT
References: <598@kunivv1.sci.kun.nl>
Reply-To: lwj@cs.kun.nl (Luc Rooijakkers)
Followup-To: comp.os.cpm
Distribution: comp
Organization: University of Nijmegen, The Netherlands
Lines: 418
Xref: lll-lcc comp.os.cpm:3330 comp.sources.bugs:2308

This is a patch for the Z80/Z280 disassembler package. The package was
originally posted as

> Newsgroups: comp.os.cpm
> Subject: Z80/Z280 disassembler in C
> Summary: Here it is
> Keywords: Z80 Z280 disassembler C
> Message-ID: <598@kunivv1.sci.kun.nl>
> Date: 27 Dec 89 12:36:54 GMT

This patch corrects the following:

        * It fixes a portability bug (NULL was mistakenly used as 0)

        * It corrects a Z280 disassembler bug ([DD|FD] ED 06/16/26/36 was
          interchanged with [DD|FD] ED 0E/1E/2E/3E)

        * It changes outhex.c to always output leading zero's on byte
          and word values that sometimes need it. This takes care of
          annoying things like

                LD      HL,(9F00H)
                LD      DE,(0A001H)

	* It includes some cosmetic changes that caused problems with
	  ancient compilers that accept the =op form (it was already
	  marked obsolete by K&R 1. sigh). Thanks to Dru Nelson
	  <dnelson@mthvax.cs.miami.edu> for pointing this out to me.

--
Luc Rooijakkers                                 Internet: lwj@cs.kun.nl
Faculty of Mathematics and Computer Science     UUCP: uunet!cs.kun.nl!lwj
University of Nijmegen, the Netherlands         tel. +3180612271

