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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a0c:c351:: with SMTP id j17mr14656106qvi.80.1579394026417; Sat, 18 Jan 2020 16:33:46 -0800 (PST) X-Received: by 2002:aca:eb83:: with SMTP id j125mr2999084oih.153.1579394026047; Sat, 18 Jan 2020 16:33:46 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!g89no10985389qtd.0!news-out.google.com!w29ni1702qtc.0!nntp.google.com!g89no10985387qtd.0!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 18 Jan 2020 16:33:45 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=47.136.24.151; posting-account=o_Y23woAAACPYGlDsFV1OivhygPNSoRn NNTP-Posting-Host: 47.136.24.151 References: <4b0649b3-aed2-44fd-822f-d6665b9352dd@googlegroups.com> <536e9961-f454-44d9-95a6-aecaaee1addf@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Creating several types from a base type and conversion From: Ken Roberts Injection-Date: Sun, 19 Jan 2020 00:33:46 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57891 Date: 2020-01-18T16:33:45-08:00 List-Id: On Saturday, January 18, 2020 at 3:38:27 PM UTC-8, Simon Wright wrote: Anyway - the posted code is an example of what I'm trying to start with for building the rest. ATM, this is just an example and for purpose of this discussion I'm just trying to figure out the basics of: - Basic type to be able to easily put common 30-bit value into memory - Basic type that when getting from memory, can easily be converted to a data word/instruction word/packed character set Note: the packed character set as described is the way the computer was originally programmed since the output would have to be converted to either: - send text to 5-bit teletype - Send text to PPI (plan position indicator - aka radar repeater) (30-bit word) - Send text to auxiliary CRT (15 lines X 65 character text only) (30-bit word) The PPI and auxiliary CRT both actually use the same channel - the only difference is the 30-bit word format.