From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: What is a byte? Date: Tue, 29 Jul 2014 23:08:40 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <32ca52c1-6073-4611-a18b-ec7a04b22805@googlegroups.com> Injection-Date: Tue, 29 Jul 2014 23:08:40 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="9668"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WQ99zDmAaPWuJhfbU23pBWjJK+kBxshE=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:YQfoyungKAaxqByst4uBe+Szjp0= Xref: news.eternal-september.org comp.lang.ada:21344 Date: 2014-07-29T23:08:40+00:00 List-Id: On 2014-07-29, Dan'l Miller wrote: > On Tuesday, July 29, 2014 1:40:56 PM UTC-5, Simon Wright wrote: >> "Dan'l Miller" writes: >> > ... (No specification of any >> > modern interoperable protocol uses the 2^8 and higher bits in a byte >> > if they exist on some arcade hardware.) >> >> I don't think this is right (not in terms of how the ABI expects a char >> to be passed to a function, but in terms of what Victor ought to do). >> >> If the C function takes a char, you should specify >> Interfaces.C.char. It's up to the compiler to decide whether that gets >> passed in 8 bits, 32 bits, or come to that 9/36 bits on hardware that no >> one is remotely likely to encounter (even in an arcade). > > That dang spell check has become my worst enema: arcane, not arcade. FYI, someone (a long time ago) actually ported gcc to the PDP-10. :-) See: http://pdp10.nocrew.org/gcc/ (No Ada port however.) Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world