From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id NnePCom79WCJxQAAgWs5BA (envelope-from ) for ; Mon, 19 Jul 2021 19:51:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wLK5BYm79WCwOwAAB5/wlQ (envelope-from ) for ; Mon, 19 Jul 2021 17:51:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 984DF1A632 for ; Mon, 19 Jul 2021 19:51:04 +0200 (CEST) Received: from localhost ([::1]:33794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5XPz-0003Ju-Iw for larch@yhetil.org; Mon, 19 Jul 2021 13:51:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5US6-00034w-13 for guix-patches@gnu.org; Mon, 19 Jul 2021 10:41:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5US5-0000qL-Pp for guix-patches@gnu.org; Mon, 19 Jul 2021 10:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5US5-0003Pz-OV for guix-patches@gnu.org; Mon, 19 Jul 2021 10:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49643] [PATCH] z80asm and z80dasm Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jul 2021 14:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49643@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162670561613078 (code B ref -1); Mon, 19 Jul 2021 14:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2021 14:40:16 +0000 Received: from localhost ([127.0.0.1]:59684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5URL-0003Oq-2k for submit@debbugs.gnu.org; Mon, 19 Jul 2021 10:40:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:49436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5Rwe-00015F-G3 for submit@debbugs.gnu.org; Mon, 19 Jul 2021 08:00:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5Rwe-0003dM-3L for guix-patches@gnu.org; Mon, 19 Jul 2021 08:00:24 -0400 Received: from vmd69031.contaboserver.net ([161.97.172.214]:60764 helo=mail.thomaslabs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5Rwa-0002Mz-Fg for guix-patches@gnu.org; Mon, 19 Jul 2021 08:00:23 -0400 Received: from laptop.thomaslabs.org (unknown [31.17.254.141]) by mail.thomaslabs.org (Postfix) with ESMTPSA id ABF099C001B for ; Mon, 19 Jul 2021 14:00:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thomaslabs.org; s=mail; t=1626696015; bh=Z0QYc+Tfj9mtLBJvW4LAQib8gXyZ22w9kELqg+QG2qo=; h=From:To:Subject:Date:From; b=Y592cgcJoQtQ/8B8wk7JS126y8nG9Waajwqpm4ZUW7IsQRMGBgU55y2bxLAJW8Nl+ v6HlLoktaLFeDfhNbRj/yMxTQd/bAv4EiOrxmadFTqkMBjzUfqn+ZIPwJ4hE7vUb0U gUYvW8UNBqnG7HSuvQluMzDo9l8jYZRk/MHAulBhYKFUemQqyaCIXuUhpc5MUO0Frk OaC8Jh+5KcYRpYF2DpUVqEe2nKb1HGsQ1RpBy4d6WhPVj6imLX2UQXDTyVTcPwAQ4X KAoYCMfNZ1mT7p0ESCx3xiJyCn5WC+vY27purRDYuKWiH61uSyiqLKQm5jnf+Qyk+y v5nXgjqrq9SHA== User-agent: mu4e 1.4.15; emacs 27.2 Date: Mon, 19 Jul 2021 14:02:12 +0200 Message-ID: <87v956mrzv.fsf@thomaslabs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=z80-tools.patch Content-Transfer-Encoding: quoted-printable Content-Description: Patch adding z80asm and z80dasm to (gnu packages assembly) Received-SPF: pass client-ip=161.97.172.214; envelope-from=thomas@thomaslabs.org; helo=mail.thomaslabs.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 19 Jul 2021 10:40:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 19 Jul 2021 13:50:54 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches From: Thomas Albers via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626717064; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jcsBR4vBMTdqdikjm/9afJwgShIkXWfeO6iTA6j3bKM=; b=WK0PVyLoGXy7KNcfb4pSSFI3p5siZSw3052mLDdV30wGv8Gqnr6kRfxmzlosRcOBHn09fW wjvYQ7uVjGpu3vGOlNICi3PPLW21RYrZW7lfXrEfJYvYut/CToeQqy8vFltvfipy8xWETI nsp5eVcbrPNBHP1BRTj2lxWBbPAcvoPCIVVSANXcfllf9rzRBznP+5NxR0DGYWpKmLszPi aa+jQz2+ZQn32j/xUJAv0uBO6QSO7TfAkktWQe/oTzVlNQdPhCKFiHBZNCQMpMI85xA/g+ 5rZpti5QR/1uRvRWhddOSEcV5d8FqYm1W85Aj6KXlbbKRO/Da+krvHw7entAfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626717064; a=rsa-sha256; cv=none; b=m6FIe8MyI0STcufSDmF2wZht3MGKEOU4Z2yspxhuruuyTyhSUKwk1TVROA899DN8KNOWa6 Xem+X9OnQnWzi9YESXeqOddp0L46zIGVdsPIAp+BdUkzxjgw6bc5zn2Nue0hsrTBK4/Hkn RBcvenCdSummZPIIs6TXmE0LdqzP5BYcY39IKjGCavWTpT/G+MHfdUnaUq3i+8d28j2e/u d8ZA2jIIER17na8V3EsYaLNU5+m34oQ45vjsTYaK3kYzTTmpnkQwctxAvbZcuEvK5Nyx7/ jrrL6o6EmuD/okCq2Tr2K04YJixn3VRygl+gLPP3xPHttHPxLwb/ltyDr/YpOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=mail header.b=Y592cgcJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=mail header.b=Y592cgcJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 984DF1A632 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3PHpzj3JIQoc diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index 51c0572674..5bf1a1c98a 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka ;;; Copyright =C2=A9 2020 Christopher Lemmer Webber ;;; Copyright =C2=A9 2020 B. Wilson +;;; Copyright =C2=A9 2021 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -533,3 +534,50 @@ family of command line utility wrappers in the default= output. Each of the cli tools is named like @code{xed*}. Documentation for the cli tools is spars= e, so this is a case where ``the code is the documentation.''") (license license:asl2.0))) + +(define-public z80asm + (package + (name "z80asm") + (version "1.8") + (source (origin + (uri "http://download.savannah.nongnu.org/releases/z80asm/z8= 0asm-1.8.tar.gz") + (sha256 + (base32 "0r2za4qb7b0n13xksj6vwddixn2jzcc5h8qk06kxzkc20naaky= v7")) + (method url-fetch))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") + "/bin"))) + (install-file "z80asm" bin) + #t)))))) + (synopsis "Assembler for the Z80 microprcessor") + (description "Assembler for the Z80 microprcessor. The assembler +aims to be portable and complete. It assembles all official +mnemonics, but it also aims to assemble the unofficial mnemonics.") + (home-page "http://savannah.nongnu.org/projects/z80asm") + (license license:gpl3))) + +(define-public z80dasm + (package + (name "z80dasm") + (version "1.1.6") + (source (origin + (uri "https://www.tablix.org/~avian/z80dasm/z80dasm-1.1.6.ta= r.gz") + (sha256 + (base32 "0q6k1dy34p1mncq5cp5a3yakka9a9j4llw6vqjh81wr8n1xrdl= vn")) + (method url-fetch))) + (build-system gnu-build-system) + (synopsis "Disassembler for the Zilog Z80 microprocessor and compatibl= es") + (description "z80dasm is a disassembler for the Zilog Z80 +microprocessor and compatibles. It can be used to reverse engineer +programs and operating systems for 1980's microcomputers using this +processor architecture (for example Sinclair ZX81, Spectrum and many +others).") + (home-page "https://www.tablix.org/~avian/blog/articles/z80dasm/") + (license license:gpl2)))