comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Roberts <alisonken1@gmail.com>
Subject: Re: Creating several types from a base type and conversion
Date: Fri, 24 Jan 2020 07:40:18 -0800 (PST)
Date: 2020-01-24T07:40:18-08:00	[thread overview]
Message-ID: <a9314fa0-3c3c-4c36-805e-9461aad9c8dd@googlegroups.com> (raw)
In-Reply-To: <lyh80kop5w.fsf@pushface.org>

On Friday, January 24, 2020 at 7:22:10 AM UTC-8, Simon Wright wrote:
> Ken Roberts <snip> writes:
> 
> > Based upon the hardware I worked on (and documentation for the 642
> > system), apparently it's BE based:
> >
> > Register representation on panel: R bits 29 .. 0
> >
> > where MSB is on the left and LSB on the right.
> 
> Looks LE to me.
> 
> If the panel shows
> 
> bit #   ...  5 4 3 2 1 0
> lit     ...  0 0 0 1 0 1
> 
> and the value represented is 5 then it's little-endian; bit 0 is the
> least significant bit.

My concern would be in bit shifting operations, that if a bit is shifted left 20 bits then:

start: 000000000000000000000000000001

end  : 000000000100000000000000000000

In one instruction for the 642, it combines two registers to make one 60-bit register for some operations, so representing both 30-bit and 60-bit register operations should be the same (assuming a 32-bit computer that should have both 32-bit and 64-bit operations).

At least that's what will have to be accomplished in the emulation.

As noted earlier, the first pass of what I'm working on is the software emulation, but the long-term goal is to fully emulate the 642 computer using register manipulations rather than just emulating the instructions.

At least for now, the target hardware for compiling the system will probably be a minimum 32-bit hardware (like the current intel 32/64 bit chipsets).

One of the USQ20 system is also an 18-bit computer (CP789) - but I don't plan on emulating that for a while yet (if at all - since the 789 was used to manage the KCMX, which was the interface to the older analog fire control systems and not really needed for what I'm initially targeting the project for).

  reply	other threads:[~2020-01-24 15:40 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18  7:32 Creating several types from a base type and conversion Ken Roberts
2020-01-18 12:16 ` Simon Wright
2020-01-18 12:49   ` Ken Roberts
2020-01-18 14:56     ` Bill Findlay
2020-01-18 16:13       ` Jeffrey R. Carter
2020-01-18 18:20         ` Bill Findlay
2020-01-18 18:32           ` Jeffrey R. Carter
2020-01-18 20:34             ` Simon Wright
2020-01-20 16:38               ` Bill Findlay
2020-01-18 22:20       ` Ken Roberts
2020-01-18 15:09     ` Simon Wright
2020-01-18 22:16       ` Ken Roberts
2020-01-18 22:35         ` Simon Wright
2020-01-18 23:03           ` Ken Roberts
2020-01-18 23:38             ` Simon Wright
2020-01-19  0:12               ` Ken Roberts
2020-01-19  9:37                 ` Simon Wright
2020-01-19 11:48                   ` AdaMagica
2020-01-19 14:51                     ` Simon Wright
2020-01-19 15:24                       ` Niklas Holsti
2020-01-19 16:11                     ` Optikos
2020-01-19  0:33               ` Ken Roberts
2020-01-19  0:07         ` Niklas Holsti
2020-01-18 15:47     ` Simon Wright
2020-01-21 21:35     ` Shark8
2020-01-21 23:06       ` Niklas Holsti
2020-01-22  1:08         ` Ken Roberts
2020-01-22 14:18           ` Ken Roberts
2020-01-22  8:37       ` Simon Wright
2020-01-22 14:32         ` Shark8
2020-01-22 15:40           ` Simon Wright
2020-01-18 14:17   ` Optikos
2020-01-18 17:57 ` Niklas Holsti
2020-01-18 22:59   ` Ken Roberts
2020-01-19  0:30     ` Niklas Holsti
2020-01-19  1:07       ` Ken Roberts
2020-01-19  3:37 ` Ken Roberts
2020-01-23 21:39 ` Optikos
2020-01-24  9:35   ` Ken Roberts
2020-01-24 10:04     ` AdaMagica
2020-01-24 12:38     ` Optikos
2020-01-24 15:01       ` Ken Roberts
2020-01-24 15:22         ` Simon Wright
2020-01-24 15:40           ` Ken Roberts [this message]
2020-01-24 15:54   ` Simon Wright
2020-01-25 10:37 ` Ken Roberts
2020-01-25 10:44   ` Ken Roberts
2020-01-25 20:26   ` Shark8
2020-01-27 14:10 ` Ken Roberts
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox