From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28960 invoked from network); 17 Jun 2023 08:19:56 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 17 Jun 2023 08:19:56 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id F28ED410AC; Sat, 17 Jun 2023 18:19:48 +1000 (AEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by minnie.tuhs.org (Postfix) with ESMTPS id 9247A4108F for ; Sat, 17 Jun 2023 18:19:36 +1000 (AEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8269C320090B for ; Sat, 17 Jun 2023 04:19:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 17 Jun 2023 04:19:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=papnet.eu; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1686989973; x=1687076373; bh=Ww 6jZG3RTS57fWMUrj4DISXh8P5+JcLljiLQdDf4+WI=; b=rK8TemqyT6RO4x0yqM Ia/BaCBx9WgLvbMAjMSlFaA7cOWBpO6+ZWDfiIC61pEBd/K5FDnL/j/sTEu8y3ai vQJpZ5QArJ3ps2opLHAar7sl7PkPhnpRyF9akgXkd9lFchCkcsgGMzyHlFCQwter 1fqD1YI0vSsqt2jcXyw6Vifmi0NNiBM/bCaBlC6toup9uZZxJZXSn02KQSAwWYJT 1WfKGDWNjmUviBxWsi5V5GZaocUe4hB3DKkaRrhU6BzJwW1kv3VvfUDY6tMa2JZI 0cPm/J482IeNJcllsUSYXl1BPRo8CPpduDAqShrtqJ65EMWAQREXdzWQ4quJL7yK SbHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1686989973; x=1687076373; bh=Ww6jZG3RTS57f WMUrj4DISXh8P5+JcLljiLQdDf4+WI=; b=AA6Z6DRTBEidIRT6JIxgP2b3O2qIY Nq9Dcbd300XaTLHJM3L+fx4KqO+SmW93guYWHe5r2JX1/5CRlc6T4z9qhJ6OQdVw bf1vKYzHmyFLt531tssK2V/I7pleXsO1jNoDm1CXfGE71kM9IaPzjBD32HYAjoQk TdQRCUqmUrCj7UeGllb4RQBxxuH2tillEtI0WT75k2U6cjMm0GVcHmN05Cp3UdWo pW2079PqGbq3o7PGWJLl3x95isZCK68Bx0LWVHkR11gzoz4a84KTTrw+MWhiNOBH Q/riwkIBQY2eSTH6fn7b4pzxgd/2P9JYMbWBlUlu333z9UqlaJ60bZxnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedvjedgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomheptehnghgvlhhoucfrrghpvghnhhhofhhfuceorggrphesphgr phhnvghtrdgvuheqnecuggftrfgrthhtvghrnhepudeglefghefhfeegfeettefgkedthf elleettdfhieehjeffffeghffgleetvdeunecuffhomhgrihhnpehsqhhuohiivgdrnhgv thenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrg hpsehprghpnhgvthdrvghu X-ME-Proxy: Feedback-ID: i47c14439:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 17 Jun 2023 04:19:32 -0400 (EDT) Date: Sat, 17 Jun 2023 10:19:29 +0200 From: Angelo Papenhoff To: tuhs@tuhs.org Message-ID: References: <1e651370-3ada-e211-c277-409d6563500d@f4grx.net> <202306080331.3583Vrw7057546@ultimate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Message-ID-Hash: G6ATKVSZIKNCHNI4PCDGPCY44F6L2GSA X-Message-ID-Hash: G6ATKVSZIKNCHNI4PCDGPCY44F6L2GSA X-MailFrom: aap@papnet.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Software written in B List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Update: I'm now done with the first pass of this. I reversed all the programs and successfully ran them through my compiler (i haven't assembled or linked anything though). http://squoze.net/B/programs/ To check for correctness, the files should of course be compiled, assembled and linked again. Unfortunately my compiler currently does not generate quite the same code as the original one. I will have to work on this. Most importantly & and | are only bitwise operators in the version of B that compiled these programs, but some other differences (like the fixup chain and the way strings are stored) exist too. It would be nice to have a fully working B system on v1/v2 UNIX again, with everything built from source, we can even reconstruct different versions of the runtime (and perhaps standard library). So far the PDP-11 version of my B system has only run on v6 and 2.11BSD. best, aap On 14/06/23, Angelo Papenhoff wrote: > I will hopefully continue with this in the next time (if, goto, mail and > glob are left).