Your message dated Wed, 17 Dec 2025 10:19:12 +0000 with message-id <E1vVoci-006zQR-36@fasolo.debian.org> and subject line Bug#706728: fixed in d52 3.4.1+git20191024.ac20ebd-1 has caused the Debian Bug report #706728, regarding dz80: N directive in control file not honoured to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 706728: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706728 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: dz80: N directive in control file not honoured
- From: Pedro Gimeno <debian.bts@personal.formauri.es>
- Date: Fri, 03 May 2013 22:43:09 +0200
- Message-id: <5184215D.3060304@personal.formauri.es>
Package: d52 Version: 3.4.1-1 Severity: normal Tags: patch The documentation for the n directive in the ctl file says: """ If the operand represents a constant rather than an address, you can suppress the automatic generation of a label (X0006) for address 6h by entering n 6 in the control file. You'd want to make sure that address 6h isn't legitimately addressed by some other code before using this directive. """ However, the disassembler still generates Xnnnn labels for it. As a test case, generate a file named test-n.hex containing: """ :1000000062006300185D0163001163002163003129 :100010006300DD216300FD216300CD6300C3630045 :10002000DD2A6300FD2A6300ED4B6300ED5B630096 :100030002A6300ED7B6300ED436300ED5363002210 :100040006300ED736300DD226300FD226300326311 :0100500000AF :00000001FF """ and a file named test-n.ctl containing: """ a 0000-0003 n 0063 """ Then run: dz80 test-n.hex and examine the resulting test-n.z80. It has the X0063 label. I've attached a patch that fixes it for me. However I'm not sure if this patch is complete, because it is still generating an equate for X0063 with the test case supplied above. Also, it does not deal with d52 or d48, which might have similar problems, but I'm no expert on them and can't evaluate whether they're doing the right thing.diff -ru d52-3.4.1-orig/dz80pass2.c d52-3.4.1/dz80pass2.c --- d52-3.4.1-orig/dz80pass2.c 2007-09-02 17:28:01.000000000 +0200 +++ d52-3.4.1/dz80pass2.c 2013-05-03 21:42:00.000000000 +0200 @@ -295,7 +295,9 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + puthex(q); + else if (!upperflag) fprintf(fp, "X%04x", q); else fprintf(fp, "X%04X", q); @@ -568,7 +570,9 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + puthex(q); + else if (!upperflag) kcnt += fprintf(fp, "X%04x", q); else kcnt += fprintf(fp, "X%04X", q); @@ -596,7 +600,13 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc('(', fp); + kcnt++; + puthex(q); + } + else if (!upperflag) kcnt += fprintf(fp, "(X%04x", q); else kcnt += fprintf(fp, "(X%04X", q); @@ -638,7 +648,9 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + puthex(q); + else if (!upperflag) kcnt += fprintf(fp, "X%04x", q); else kcnt += fprintf(fp, "X%04X", q); @@ -683,7 +695,15 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc('(', fp); + kcnt++; + puthex(q); + putc(')', fp); + kcnt++; + } + else if (!upperflag) kcnt += fprintf(fp, "(X%04x)", q); else kcnt += fprintf(fp, "(X%04X)", q); @@ -710,7 +730,15 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc('(', fp); + kcnt++; + puthex(q); + putc(')', fp); + kcnt++; + } + else if (!upperflag) kcnt += fprintf(fp, "(X%04x)", q); else kcnt += fprintf(fp, "(X%04X)", q); @@ -742,7 +770,15 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc('(', fp); + kcnt++; + puthex(q); + putc(')', fp); + kcnt++; + } + else if (!upperflag) kcnt += fprintf(fp, "(X%04x)", q); else kcnt += fprintf(fp, "(X%04X)", q); @@ -774,7 +810,15 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc('(', fp); + kcnt++; + puthex(q); + putc(')', fp); + kcnt++; + } + else if (!upperflag) kcnt += fprintf(fp, "(X%04x)", q); else kcnt += fprintf(fp, "(X%04X)", q); @@ -1161,7 +1205,15 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc(upperflag?'I':'i', fp); + putc(index, fp); + putc(',', fp); + kcnt += 3; + puthex(q); + } + else if (!upperflag) kcnt += fprintf(fp, "i%c,X%04x", index, q); else kcnt += fprintf(fp, "I%c,X%04X", index, q); @@ -1188,7 +1240,14 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + putc('(', fp); + kcnt++; + puthex(q); + kcnt += fprintf(fp, "),%c%c", upperflag?'I':'i', index); + } + else if (!upperflag) kcnt += fprintf(fp, "(X%04x),i%c", q, index); else kcnt += fprintf(fp, "(X%04X),I%c", q, index); @@ -1215,7 +1274,14 @@ if (cptr == NULL) { - if (!upperflag) + if (pgmflags[q] & PF_NOLABEL) + { + kcnt += fprintf(fp, "%c%c,(", upperflag?'I':'i', index); + puthex(q); + putc(')', fp); + kcnt++; + } + else if (!upperflag) kcnt += fprintf(fp, "i%c,(X%04x)", index, q); else kcnt += fprintf(fp, "I%c,(X%04X)", index, q);
--- End Message ---
--- Begin Message ---
- To: 706728-close@bugs.debian.org
- Subject: Bug#706728: fixed in d52 3.4.1+git20191024.ac20ebd-1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Wed, 17 Dec 2025 10:19:12 +0000
- Message-id: <E1vVoci-006zQR-36@fasolo.debian.org>
- Reply-to: Andreas Tille <tille@debian.org>
Source: d52 Source-Version: 3.4.1+git20191024.ac20ebd-1 Done: Andreas Tille <tille@debian.org> We believe that the bug you reported is fixed in the latest version of d52, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 706728@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Tille <tille@debian.org> (supplier of updated d52 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 17 Dec 2025 10:24:57 +0100 Source: d52 Architecture: source Version: 3.4.1+git20191024.ac20ebd-1 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Andreas Tille <tille@debian.org> Closes: 706520 706728 706730 1119385 Changes: d52 (3.4.1+git20191024.ac20ebd-1) unstable; urgency=medium . * QA upload. . * New upstream version Closes: #706730, #706728 * Use the default build flags Closes: #1119385 * Do not ignore blhc test in Salsa CI * Include upstream docs Closes: #706520 * d/watch: - version=5 - Point to latest commit on Github * Add d/upstream/metadata Checksums-Sha1: 9a1b9af18ec98968c8e136a07f915962e95651b4 1931 d52_3.4.1+git20191024.ac20ebd-1.dsc 9cb7334b17e8d9a7cf94eab15abd84d938717e74 89276 d52_3.4.1+git20191024.ac20ebd.orig.tar.xz 49643e04ce54fc102ae1e0e09eed3984284fa302 2820 d52_3.4.1+git20191024.ac20ebd-1.debian.tar.xz 7cde30182b598a8d668854d66baee0d38cb7f39d 6064 d52_3.4.1+git20191024.ac20ebd-1_amd64.buildinfo Checksums-Sha256: b725b546faa6076da48b93cfb2e9192097c2f5fc15a003420d4d1cf01c96889f 1931 d52_3.4.1+git20191024.ac20ebd-1.dsc 4f524a904935d73809386051ff7cf20460cdd48c1f120061f38629dcedca18c4 89276 d52_3.4.1+git20191024.ac20ebd.orig.tar.xz 0c1962184be9eb66b7d04125abce5b34987a71896289970cbad3b4a958667c2c 2820 d52_3.4.1+git20191024.ac20ebd-1.debian.tar.xz eaa1829b613788f24a3d5f712212e43695bf731533e1cd7b79484abfa085d101 6064 d52_3.4.1+git20191024.ac20ebd-1_amd64.buildinfo Files: 386dd355cc4684c679bfbbded022ef8d 1931 devel optional d52_3.4.1+git20191024.ac20ebd-1.dsc 665062b25c89e7059a7f47baccd8843e 89276 devel optional d52_3.4.1+git20191024.ac20ebd.orig.tar.xz 945cc7fa2397b686bd9870500a5dd59b 2820 devel optional d52_3.4.1+git20191024.ac20ebd-1.debian.tar.xz 745bdc906861c9c26fdd73a62887c130 6064 devel optional d52_3.4.1+git20191024.ac20ebd-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmlCf6IRHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtF/uA//bzI7oPv7ftMLZ1gOVVPZFBx/9+KzQr0p rztzqFtAvc5IdMVjnvwxoWGOqBFZpys6XKsmPE5gnuqVIloPqS+RxqlZgkSPxKtg 7dgZzsxJcF7GFZ4LTRliLNebqcNggCQpy7Rt/GE3kU2qO5GndQX5TNpnXkIv5F0A Z5P0H0FGPSD1A6FlMZeBzpV6v5eB6CmgexvPEYMY49v5GfXPO6Ok0uVXXuabLFgQ hCigy9kUpZDxEf0GSdJ33LXXxUVY/u0S430WMw5VY1UjdvTw/XXhUA0BFGLj/Bex /DgVv7/KwAW7p07Ls8YA2avUU05ckPlG7gYJMY21OV6gzqbky0UIS3UC800rYK1d t7rK1UWWbKmdIPn4E2/rVjMu9/QLOGnrRed7TbgxCmuSAtbPC8WHITtjoBNd3xNf N+9amZEeTiudhGhD0uAtoC1RHYprhEHAqG3n2vXof1mm/XRdKgL3fbaOlIc4JtZT 0ZaXMue8/Nc4GxhMGn8wgh5pDsmunMIkJlhtKo5oKmoODcpIaMa66kuuuk7mzuIF X5SkV+/l+k+Rt2KzVHG00wUWqAMSkAemg/722g88JyWdWwIg8YIUwmDhy6k08mSy /Rus6Rkw7PsJ1970bIWeSVvwSAlevCP/aV3WjK2bcjmYO8Y/LyGKhs1Zw/TkE9zt 79LdGxhEBlA= =YEx3 -----END PGP SIGNATURE-----Attachment: pgpoW7T3gin_l.pgp
Description: PGP signature
--- End Message ---