Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #499138 > unrolled thread

Apollo guidance computer

Started by"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com>
First post2018-03-17 15:01 -0400
Last post2018-03-18 09:07 -0400
Articles 11 — 4 participants

Back to article view | Back to sci.electronics.design


Contents

  Apollo guidance computer "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-03-17 15:01 -0400
    Re: Apollo guidance computer Rob <nomail@example.com> - 2018-03-18 11:02 +0000
      Re: Apollo guidance computer "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-03-18 19:32 -0400
        Re: Apollo guidance computer Rob <nomail@example.com> - 2018-03-19 08:24 +0000
          Re: Apollo guidance computer "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-03-19 12:45 -0400
            Re: Apollo guidance computer Jasen Betts <jasen@xnet.co.nz> - 2018-03-20 06:37 +0000
              Re: Apollo guidance computer bitrex <bitrex@de.lete.earthlink.net> - 2018-03-20 08:51 -0400
                Re: Apollo guidance computer bitrex <bitrex@de.lete.earthlink.net> - 2018-03-20 08:52 -0400
    Re: Apollo guidance computer bitrex <bitrex@de.lete.earthlink.net> - 2018-03-18 07:56 -0400
      Re: Apollo guidance computer Rob <nomail@example.com> - 2018-03-18 12:44 +0000
        Re: Apollo guidance computer bitrex <bitrex@de.lete.earthlink.net> - 2018-03-18 09:07 -0400

#499138 — Apollo guidance computer

From"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com>
Date2018-03-17 15:01 -0400
SubjectApollo guidance computer
Message-ID<p8jon1$9df$1@dont-email.me>
This is really good and detailed.  I had no idea that computer had 
virtual machine support for one thing.

https://www.youtube.com/watch?v=xx7Lfh5SKUQ


-- 
 

[toc] | [next] | [standalone]


#499194

FromRob <nomail@example.com>
Date2018-03-18 11:02 +0000
Message-ID<slrnpashpj.nsm.nomail@xs9.xs4all.nl>
In reply to#499138
Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
> This is really good and detailed.  I had no idea that computer had 
> virtual machine support for one thing.
>
> https://www.youtube.com/watch?v=xx7Lfh5SKUQ

He certainly doesn't waste time!

[toc] | [prev] | [next] | [standalone]


#499266

From"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com>
Date2018-03-18 19:32 -0400
Message-ID<p8mt30$6u2$2@dont-email.me>
In reply to#499194
Rob wrote:
> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>> This is really good and detailed.  I had no idea that computer had
>> virtual machine support for one thing.
>>
>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>
> He certainly doesn't waste time!

Yeah that presentation isn't boring.  I saved a copy of the video.


[toc] | [prev] | [next] | [standalone]


#499308

FromRob <nomail@example.com>
Date2018-03-19 08:24 +0000
Message-ID<slrnpausu0.kf7.nomail@xs9.xs4all.nl>
In reply to#499266
Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
> Rob wrote:
>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>> This is really good and detailed.  I had no idea that computer had
>>> virtual machine support for one thing.
>>>
>>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>>
>> He certainly doesn't waste time!
>
> Yeah that presentation isn't boring.  I saved a copy of the video.

I wonder how the participants walked out of that room...
On youtube we have the possibility to pause, skip a few seconds back,
or slow down the playback....

[toc] | [prev] | [next] | [standalone]


#499339

From"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com>
Date2018-03-19 12:45 -0400
Message-ID<p8opf2$sse$1@dont-email.me>
In reply to#499308
Rob wrote:
> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>> Rob wrote:
>>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>>> This is really good and detailed.  I had no idea that computer had
>>>> virtual machine support for one thing.
>>>>
>>>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>>>
>>> He certainly doesn't waste time!
>>
>> Yeah that presentation isn't boring.  I saved a copy of the video.
>
> I wonder how the participants walked out of that room...
> On youtube we have the possibility to pause, skip a few seconds back,
> or slow down the playback....

It's easier to do that if you download and play it in VLC.


[toc] | [prev] | [next] | [standalone]


#499412

FromJasen Betts <jasen@xnet.co.nz>
Date2018-03-20 06:37 +0000
Message-ID<p8qa6d$m62$1@gonzo.alcatraz>
In reply to#499339
On 2018-03-19, Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
> Rob wrote:
>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>> Rob wrote:
>>>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>>>> This is really good and detailed.  I had no idea that computer had
>>>>> virtual machine support for one thing.
>>>>>
>>>>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>>>>
>>>> He certainly doesn't waste time!
>>>
>>> Yeah that presentation isn't boring.  I saved a copy of the video.
>>
>> I wonder how the participants walked out of that room...
>> On youtube we have the possibility to pause, skip a few seconds back,
>> or slow down the playback....
>
> It's easier to do that if you download and play it in VLC.

mplayer lets me alter the playback speed, while somehow 
maintaining the pitch of the audio.

-- 
This email has not been checked by half-arsed antivirus software 

[toc] | [prev] | [next] | [standalone]


#499424

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-03-20 08:51 -0400
Message-ID<2t7sC.23125$q15.21065@fx34.iad>
In reply to#499412
On 03/20/2018 02:37 AM, Jasen Betts wrote:
> On 2018-03-19, Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>> Rob wrote:
>>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>>> Rob wrote:
>>>>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>>>>> This is really good and detailed.  I had no idea that computer had
>>>>>> virtual machine support for one thing.
>>>>>>
>>>>>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>>>>>
>>>>> He certainly doesn't waste time!
>>>>
>>>> Yeah that presentation isn't boring.  I saved a copy of the video.
>>>
>>> I wonder how the participants walked out of that room...
>>> On youtube we have the possibility to pause, skip a few seconds back,
>>> or slow down the playback....
>>
>> It's easier to do that if you download and play it in VLC.
> 
> mplayer lets me alter the playback speed, while somehow
> maintaining the pitch of the audio.
> 
Time to frequency domain conversion using the FFT, then futz with it
in the frequency domain and resample it back.

<https://en.wikipedia.org/wiki/Phase_vocoder>

Nowadays you can do all sorts of fancy stuff with that tech, like take 
an audio track of a vocal and fairly transparently alter the melody 
while keeping the time and phrasing the same, resulting in this somehow 
satisfying mashup of Marvin Gaye singing along to Ratt:

<https://www.youtube.com/watch?v=57SNPbxi0r0>

There's software that lets you take polyphonic material consisting of 
several instruments mixed down to a stereo track and "pull" the tracks 
out again into separate tracks

[toc] | [prev] | [next] | [standalone]


#499426

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-03-20 08:52 -0400
Message-ID<Vt7sC.23126$q15.8379@fx34.iad>
In reply to#499424
On 03/20/2018 08:51 AM, bitrex wrote:
> On 03/20/2018 02:37 AM, Jasen Betts wrote:
>> On 2018-03-19, Tom Del Rosso 
>> <fizzbintuesday@that-google-mail-domain.com> wrote:
>>> Rob wrote:
>>>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>>>> Rob wrote:
>>>>>> Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
>>>>>>> This is really good and detailed.  I had no idea that computer had
>>>>>>> virtual machine support for one thing.
>>>>>>>
>>>>>>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>>>>>>
>>>>>> He certainly doesn't waste time!
>>>>>
>>>>> Yeah that presentation isn't boring.  I saved a copy of the video.
>>>>
>>>> I wonder how the participants walked out of that room...
>>>> On youtube we have the possibility to pause, skip a few seconds back,
>>>> or slow down the playback....
>>>
>>> It's easier to do that if you download and play it in VLC.
>>
>> mplayer lets me alter the playback speed, while somehow
>> maintaining the pitch of the audio.
>>
> Time to frequency domain conversion using the FFT, then futz with it
> in the frequency domain and resample it back.
> 
> <https://en.wikipedia.org/wiki/Phase_vocoder>
> 
> Nowadays you can do all sorts of fancy stuff with that tech, like take 
> an audio track of a vocal and fairly transparently alter the melody 
> while keeping the time and phrasing the same, resulting in this somehow 
> satisfying mashup of Marvin Gaye singing along to Ratt:
> 
> <https://www.youtube.com/watch?v=57SNPbxi0r0>

I think it sounds sort of like something Journey would write

[toc] | [prev] | [next] | [standalone]


#499198

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-03-18 07:56 -0400
Message-ID<wtsrC.1520$YE7.1245@fx26.iad>
In reply to#499138
On 03/17/2018 03:01 PM, Tom Del Rosso wrote:
> This is really good and detailed.  I had no idea that computer had
> virtual machine support for one thing.
> 
> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
> 
> 

Very common thing to do even nowadays when you have a large team working 
on a codebase, who may be experts in their own field e.g., in game 
development, logic/mechanics or art direction but are not themselves 
hotshot C++ or asssembly-level programmers.

Secure the underlying mission-critical codebase which performs the 
intrinsically dangerous tasks of working directly with main 
memory/registers into a set of higher-level known-good 
"macroinstructions" which are interpreted and sequenced by a virtual 
stack machine. That way while if the art director (or orbital mechanics 
guy) is having a bad day they can certainly write VM code which is 
nonsensical, but it's at least known that it isn't doing objectively 
stupid and dangerous things like say overwriting stack frames or 
registers in use by other tasks

[toc] | [prev] | [next] | [standalone]


#499200

FromRob <nomail@example.com>
Date2018-03-18 12:44 +0000
Message-ID<slrnpasnos.nsm.nomail@xs9.xs4all.nl>
In reply to#499198
bitrex <bitrex@de.lete.earthlink.net> wrote:
> On 03/17/2018 03:01 PM, Tom Del Rosso wrote:
>> This is really good and detailed.  I had no idea that computer had
>> virtual machine support for one thing.
>> 
>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>> 
>> 
>
> Very common thing to do even nowadays when you have a large team working 
> on a codebase, who may be experts in their own field e.g., in game 
> development, logic/mechanics or art direction but are not themselves 
> hotshot C++ or asssembly-level programmers.
>
> Secure the underlying mission-critical codebase which performs the 
> intrinsically dangerous tasks of working directly with main 
> memory/registers into a set of higher-level known-good 
> "macroinstructions" which are interpreted and sequenced by a virtual 
> stack machine. That way while if the art director (or orbital mechanics 
> guy) is having a bad day they can certainly write VM code which is 
> nonsensical, but it's at least known that it isn't doing objectively 
> stupid and dangerous things like say overwriting stack frames or 
> registers in use by other tasks

The VM probably did not add any such safeguards at all, but the fact
that the instructions are more oriented towards the problem at hand
will reduce the codesize and thus make it fit into the rom.

I remember having the task (with a team of 3) to write software to
run on a Z-80 with 32K of EPROM.  The software consisted of some
low-level stuff handling interrupts, middleware that had to be
reasonably fast, and a large application that could well be slower.
We did not want to code it all in Z-80 assembly language.

We used the Aztec C compiler for that could generate machine code for
the Z-80 (or rather it was for the 8080 I think), and also a version
of the compiler that could generate code for a virtual machine. That
version was mainly marketed for 6502 targets.

With a mix of some low-level assembly code, some C code compiled to
machine code, the application C code compiled to p-code plus of course
the p-code interpreter written in assembly code we could fit everything
in the 32K and still have good performance.

[toc] | [prev] | [next] | [standalone]


#499203

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-03-18 09:07 -0400
Message-ID<dwtrC.3785$vs1.95@fx44.iad>
In reply to#499200
On 03/18/2018 08:44 AM, Rob wrote:
> bitrex <bitrex@de.lete.earthlink.net> wrote:
>> On 03/17/2018 03:01 PM, Tom Del Rosso wrote:
>>> This is really good and detailed.  I had no idea that computer had
>>> virtual machine support for one thing.
>>>
>>> https://www.youtube.com/watch?v=xx7Lfh5SKUQ
>>>
>>>
>>
>> Very common thing to do even nowadays when you have a large team working
>> on a codebase, who may be experts in their own field e.g., in game
>> development, logic/mechanics or art direction but are not themselves
>> hotshot C++ or asssembly-level programmers.
>>
>> Secure the underlying mission-critical codebase which performs the
>> intrinsically dangerous tasks of working directly with main
>> memory/registers into a set of higher-level known-good
>> "macroinstructions" which are interpreted and sequenced by a virtual
>> stack machine. That way while if the art director (or orbital mechanics
>> guy) is having a bad day they can certainly write VM code which is
>> nonsensical, but it's at least known that it isn't doing objectively
>> stupid and dangerous things like say overwriting stack frames or
>> registers in use by other tasks
> 
> The VM probably did not add any such safeguards at all, but the fact
> that the instructions are more oriented towards the problem at hand
> will reduce the codesize and thus make it fit into the rom.

Fair 'nuff, the hardware for the AGC was quite limited and anyone 
allowed to touch the codebase in that situation knew as much as anyone;
abstracting for the purpose of security likely came later

> I remember having the task (with a team of 3) to write software to
> run on a Z-80 with 32K of EPROM.  The software consisted of some
> low-level stuff handling interrupts, middleware that had to be
> reasonably fast, and a large application that could well be slower.
> We did not want to code it all in Z-80 assembly language.
> 
> We used the Aztec C compiler for that could generate machine code for
> the Z-80 (or rather it was for the 8080 I think), and also a version
> of the compiler that could generate code for a virtual machine. That
> version was mainly marketed for 6502 targets.
> 
> With a mix of some low-level assembly code, some C code compiled to
> machine code, the application C code compiled to p-code plus of course
> the p-code interpreter written in assembly code we could fit everything
> in the 32K and still have good performance.
> 

There's a "VM layer" available for Harvard-architecture AVR 8-bit, even; 
it pulls compiled AVR object code from mass storage and while the actual 
opcode instruction is executed by the chip's ALU IIRC it uses the 
storage media as the VM's memory space and stack and does all the 
decoding in software.

If one can accept an effective clock rate of say 200 kHz on a 20 MHz 
processor when executing the code on mass storage the sky's the limit on 
program size, whatever can fit on say a 64 or 128 gig SD flash memory card

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web