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,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19798 invoked from network); 23 Jun 2021 20:16:48 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 23 Jun 2021 20:16:48 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id A0F9D9CB4E; Thu, 24 Jun 2021 06:16:43 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 0368E9C9DE; Thu, 24 Jun 2021 06:16:10 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=papnet.eu header.i=@papnet.eu header.b="c4QKL9bS"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="XnzmpXoO"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id F40B59C9DE; Thu, 24 Jun 2021 06:16:08 +1000 (AEST) X-Greylist: delayed 432 seconds by postgrey-1.36 at minnie.tuhs.org; Thu, 24 Jun 2021 06:16:06 AEST Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by minnie.tuhs.org (Postfix) with ESMTPS id EACBB9C9AF for ; Thu, 24 Jun 2021 06:16:06 +1000 (AEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B97365C0248 for ; Wed, 23 Jun 2021 16:08:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 23 Jun 2021 16:08:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=papnet.eu; h= date:from:to:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm2; bh=q bz6sN9I7fg9dgqwZc2Wh+vGrsbMeCMiOIIb9KK+U64=; b=c4QKL9bSXTf0ZT5W5 wjsc+FSm5bXczzrq8g9DJDrwaeivlhTmAjtzegsIwehKCUVMtsF+ayKQxwNltF/D FaNxOxqiyNRlNNETv7I7TktIUugO3+hTs+UOfNljM02B+DUDesaEz1WszY1Jj/G5 B6B0MGfQieYSmGZFUmQ46aiOIp2xeoa+BUTInuJDoalch109PmDtnZCSeBOD1Axp T8f5xTLxpdR6aJwXyouZ1l/B2uDkJVHOHpMAvWQXGYwQuqYcqFqR8Y30HqkKUfop N609N/Faji3qOIccYvFILADfh1QdGrtMVtYxe9CzkXdV9uCdvb0GjAPjj2gSDfqR ipi4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=qbz6sN9I7fg9dgqwZc2Wh+vGrsbMeCMiOIIb9KK+U 64=; b=XnzmpXoOZ1qxBcRK2V3Et+T/hamG1tBShloaq+vq94C8jz18z03Gh6WeW I5vB5P1DocD17fOLdahprphWxSTZEEAlgBL8XP9bGP/sYFHNs7zx/X1O2Bgokx9/ IeMfL713txUpB/b2bCpYEqPJ6caOJPp7vDCzC2x8F8GrAJvH+IErK6JZvKNAVjus 0kMN5LB97ZVOD2lP+SyyLqvOJkJoyFLnhiMT39MjfX6dBvRmWWBwnrih1On6Cevm vG5NQKAaU4OcfbxHmvSHquUIbhmmG2yKePtvQTPT4UlNSfzSRJ+SFjxwjfFd92lq saciXSQm03yh0cJQnpX9uyJ8Re9PQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegfedgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesth ekredttddtjeenucfhrhhomheptehnghgvlhhoucfrrghpvghnhhhofhhfuceorggrphes phgrphhnvghtrdgvuheqnecuggftrfgrthhtvghrnhepjedujeelvdevudevhffgvdeuud eiheehveelhfegudetvdffudetffdvteejtddvnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheprggrphesphgrphhnvghtrdgvuh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 23 Jun 2021 16:08:53 -0400 (EDT) Date: Wed, 23 Jun 2021 22:08:51 +0200 From: Angelo Papenhoff To: tuhs@minnie.tuhs.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [TUHS] [EXT] "The programmer must have been carried away ... X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 23/06/21, silas poulson wrote: > I’m aware line 2238’s famous “You are not expected to understand > this.” Comment is due to odd PDP-11/45 behaviour. Actually there are two different takes on what it is exactly that you're not expected to understand. The "obvious" one in Lions' book, (i.e. saved stack being overwritten when swapping so you have to restore from the special swap-saved stack), but dmr had a different take on it, that it had to do with functions really not being happy if you switch the stack underneath them. You can find dummy variables in the interdata port that make sure the stack frames of some functions (newproc and swtch?) match. So not really a hardware thing but a consequence of the compiler. > Do you know if other sections of the C show remnants of B or the PDP? > Or is it just those spots? For the kernel I'm just aware of this one. printf was copied over a number of times (the c compiler also includes a version) but the kernel was never written in B, so i wouldn't expect any B-ness in there otherwise. aap