From owner-freebsd-hackers Wed Jun 4 17:35:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA17935 for hackers-outgoing; Wed, 4 Jun 1997 17:35:20 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id RAA17889 for ; Wed, 4 Jun 1997 17:35:13 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id RAA19348; Wed, 4 Jun 1997 17:31:02 -0700 From: Terry Lambert Message-Id: <199706050031.RAA19348@phaeton.artisoft.com> Subject: Re: signed/unsigned cpp To: doon@eeyore.lv-hrc.nevada.edu (Harry Reed) Date: Wed, 4 Jun 1997 17:31:02 -0700 (MST) Cc: terry@lambert.org, toneil@visigenic.com, hackers@FreeBSD.ORG In-Reply-To: <199706042308.QAA00264@eeyore.lv-hrc.nevada.edu> from "Harry Reed" at Jun 4, 97 03:57:53 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > No, no, no. On an H-800 a byte is 8-bits with 3 bytes stored per 24-bit > word accessed via > a special byte pointer that would make one truey sick. Had to write an > assembler/linker/loader > for the beast as an undergrad. Definately 8-bit bytes! Try to port the "Collosal Cave Adventure", which uses Hollerith encoded data to the thing. 8-|. I was specific about the Hollerith encoding... the 4 byte Hollerith values from the DEC (32 bit) machines were not caught by the compiler because ti assumed I wanted the data converted to 6 bit characters. The problem with this particualr conversion is that, though the compiler didn't complain, the H-800 character type access assumed 3 bytes per word. Took me a while to figure this out, but once I did, I believe I had the first port of the code to VOS. PS: ever do a "hot read" without initializing the "hot I/O" system? It was how I found out that 0 was NOP on the H-800: it zipped to the end of system memory and rebooted the machine. Boy, was that a buitch to track... 8-). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.