Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8


computers / comp.os.vms / Re: VMS internals design, was: Re: BASIC and AST routines

SubjectAuthor
* VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
+* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|+* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
||`* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|| +- Re: VMS internals design, was: Re: BASIC and AST routinesScott Dorsey
|| +* Re: VMS internals design, was: Re: BASIC and AST routinesBill Gunshannon
|| |+* Re: VMS internals design, was: Re: BASIC and AST routinesPhillip Helbig (undress to reply
|| ||+- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|| ||`- Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|| |+- Re: VMS internals design, was: Re: BASIC and AST routinesDavid Goodwin
|| |+* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|| ||+- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|| ||`- Re: VMS internals design, was: Re: BASIC and AST routinesJP DEMONA
|| |`* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|| | `* Re: VMS internals design, was: Re: BASIC and AST routinesBill Gunshannon
|| |  +* Re: VMS internals design, was: Re: BASIC and AST routinesJan-Erik Söderholm
|| |  |`- Re: VMS internals design, was: Re: BASIC and AST routinesPhillip Helbig (undress to reply
|| |  +- Re: VMS internals design, was: Re: BASIC and AST routinesPhillip Helbig (undress to reply
|| |  `- Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
|| `* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
||  +* Re: VMS internals design, was: Re: BASIC and AST routinesChris Townley
||  |`- Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
||  `- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|+- Re: VMS internals design, was: Re: BASIC and AST routinesFélim Doyle
|`* Re: VMS internals design, was: Re: BASIC and AST routinesFélim Doyle
| +* Re: VMS internals design, was: Re: BASIC and AST routinesClair Grant
| |`- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
| `* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
|  +* Re: VMS internals design, was: Re: BASIC and AST routinesabrsvc
|  |+- Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|  |`* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
|  | +* Re: VMS internals design, was: Re: BASIC and AST routinesabrsvc
|  | |+- Re: VMS internals design, was: Re: BASIC and AST routinesVAXman-
|  | |`- Re: VMS internals design, was: Re: BASIC and AST routinesGalen
|  | +* Re: VMS internals design, was: Re: BASIC and AST routinesChris Scheers
|  | |`- Re: VMS internals design, was: Re: BASIC and AST routinesStephen Hoffman
|  | `* Re: VMS internals design, was: Re: BASIC and AST routinesJohnny Billquist
|  |  `* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
|  |   `* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|  |    +* Re: VMS internals design, was: Re: BASIC and AST routinesPhil Howell
|  |    |`* Re: VMS internals design, was: Re: BASIC and AST routinesStephen Hoffman
|  |    | `* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|  |    |  `* Re: VMS internals design, was: Re: BASIC and AST routinesStephen Hoffman
|  |    |   +* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|  |    |   |+* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|  |    |   ||`- Re: VMS internals design, was: Re: BASIC and AST routinesBob Gezelter
|  |    |   |`* Re: VMS internals design, was: Re: BASIC and AST routinesTim Sneddon
|  |    |   | +- Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|  |    |   | `* Re: VMS internals design, was: Re: BASIC and AST routinesJohn Reagan
|  |    |   |  +* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|  |    |   |  |`* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|  |    |   |  | +- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|  |    |   |  | `- Re: VMS internals design, was: Re: BASIC and AST routinesBill Gunshannon
|  |    |   |  `* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
|  |    |   |   +- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|  |    |   |   `- Re: VMS internals design, was: Re: BASIC and AST routinesJohn Reagan
|  |    |   `* Re: VMS internals design, was: Re: BASIC and AST routineshb
|  |    |    +- Re: VMS internals design, was: Re: BASIC and AST routinesChris Townley
|  |    |    `* Re: VMS internals design, was: Re: BASIC and AST routinesStephen Hoffman
|  |    |     `* Re: VMS internals design, was: Re: BASIC and AST routineshb
|  |    |      `- Re: VMS internals design, was: Re: BASIC and AST routinesJohn Reagan
|  |    `* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
|  |     `- Re: VMS internals design, was: Re: BASIC and AST routinesJohnny Billquist
|  `- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
+* Re: VMS internals design, was: Re: BASIC and AST routinesVAXman-
|+- Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
|`* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
| `* Re: VMS internals design, was: Re: BASIC and AST routinesVAXman-
|  +* Re: VMS internals design, was: Re: BASIC and AST routinesJohnny Billquist
|  |`- Re: VMS internals design, was: Re: BASIC and AST routinesScott Dorsey
|  `- Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
+* Re: VMS internals design, was: Re: BASIC and AST routinesVAXman-
|`* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
| +* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
| |`* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
| | `* Re: VMS internals design, was: Re: BASIC and AST routinesArne Vajhøj
| |  `- Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
| +* Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
| |`- Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
| +* Re: VMS internals design, was: Re: BASIC and AST routinesVAXman-
| |`* Re: VMS internals design, was: Re: BASIC and AST routinesAndrew Commons
| | `* Re: VMS internals design, was: Re: BASIC and AST routinesJohn Doppke
| |  +- Re: VMS internals design, was: Re: BASIC and AST routinesDave Froble
| |  `- Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
| `* Re: VMS internals design, was: Re: BASIC and AST routinesJohnny Billquist
|  `* Re: VMS internals design, was: Re: BASIC and AST routinesSimon Clubley
|   `- Re: VMS internals design, was: Re: BASIC and AST routineschris
`- Re: VMS internals design, was: Re: BASIC and AST routinesHunter Goatley

Pages:1234
Re: VMS internals design, was: Re: BASIC and AST routines

<snrar5$ib6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18987&group=comp.os.vms#18987

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 18:59:48 +0000
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <snrar5$ib6$1@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me>
<snokdr$2sp$1@dont-email.me> <619fe1fe$0$696$14726298@news.sunsite.dk>
<snrah2$7td$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Nov 2021 18:59:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c25067afe7f56380a27df54d531249ac";
logging-data="18790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18W5sp6BUNWCqdbozVwdLE7YMl6XqlFS8M="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Cancel-Lock: sha1:RrkEo5ImR1k+YRyt8nxTyivE4Ls=
In-Reply-To: <snrah2$7td$2@dont-email.me>
Content-Language: en-GB
 by: Chris Townley - Fri, 26 Nov 2021 18:59 UTC

On 26/11/2021 18:54, Simon Clubley wrote:
> On 2021-11-25, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 11/25/2021 1:25 PM, Simon Clubley wrote:
>>>
>>> I doubt many would have joined you.
>>
>> I think most would.
>>
>> Those running VMS today are mostly those without an easy way off
>> VMS.
>>
>> Continuing with VMS is what they want.
>>
>> They are very interested in that VMS has a future. If not then
>> migration becomes necessary at some point in time.
>>
>> So the confidence in VSI completing the port is very important.
>> But the timeline is less important.
>>
>
> The problem Arne is that in many companies, those who want to stay
> on VMS are not those who actually make the final decision about whether
> to stay on VMS.
>
> Those kinds of decisions are usually made one or two levels higher up
> and those people tend not to have an emotional bond to VMS and they also
> want to take what they perceive as the safer decision (both for them and
> for their pension.)
>
> Saying that a port to x86-64 would be available in about 8 years is
> not the kind of thing that endears you to those types of managers. :-)
>
>> Sure a x86-64 box is way more powerful and way cheaper than
>> Itanium and old Alpha's. But the Itanium's and Alpha's can
>> still do the job those VMS users need.
>>
>> The drop dead time is when IslandCo can no longer deliver
>> Itanium's and Alpha's.
>>
>
> Alpha not so much, because full system emulation is available.
>
> But yes, for Itanium, when replacement physical boxes are no longer
> available is when the real problems start to occur.
>
> It really is a pity that a full system emulator was never developed
> for the Itanium architecture. That would have given people a few more
> options.
>
> Simon.
>

Well there's an opportunity for you!

--
Chris

Re: VMS internals design, was: Re: BASIC and AST routines

<snrbgf$7td$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18988&group=comp.os.vms#18988

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 19:11:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <snrbgf$7td$3@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B3.85AFD68C@SendSpamHere.ORG>
Injection-Date: Fri, 26 Nov 2021 19:11:11 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="95fd843240057acccd6aa375d632dee3";
logging-data="8109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ON1JqtLO/5ZigzSJgje6Mbdj1qRPoA4c="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Erj8ZJci99ckN4dI5kAdhz1AUjA=
 by: Simon Clubley - Fri, 26 Nov 2021 19:11 UTC

On 2021-11-25, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
> In article <sno4v1$efp$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>
>>Compared to later operating system designs the internal design
>>of VMS is a direct product of the 1970s mindset because it is
>>ugly, hard to alter, not modular, full of internal hacks such
>>as jumping internally all over the place and was designed when
>>it was getting close to the end of when assembly language was
>>considered to be both an acceptable system implementation language
>>and an application language.
>
> What's hard to alter? Many people say an alternator is difficult to
> replace. I did one two weeks ago.
>

Have you ever looked inside the Linux internals to see how clean
they are compared to VMS internals ?

A really good starting point would be the VFS layer for plugging in
new filesystems so you can see just how easy and clean it is to add
a new filesystem to Linux compared to adding one to VMS.

Here's an overview document to get you started:

https://www.kernel.org/doc/html/latest/filesystems/vfs.html

Now try doing something like that on VMS.

>>Another such example is playing out right now as we speak.
>>
>>The engineers at VSI are talented, experienced and generally skilled
>>overall. However, due to how VMS was designed, it has taken even these
>>skilled people over 7 years so far to port VMS to x86-64 and they will
>>not be finished until the middle of next year at the earliest.
>
> LOL. I suppose you could do it in a week. I bow to your greatness.
>

No, I could not Brian. Nowhere near as fast as the experienced people
working on it and they have been at it for 7 years now.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<snrbr5$7td$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18989&group=comp.os.vms#18989

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 19:16:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <snrbr5$7td$4@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me> <snokdr$2sp$1@dont-email.me> <619fe1fe$0$696$14726298@news.sunsite.dk> <snrah2$7td$2@dont-email.me> <snrar5$ib6$1@dont-email.me>
Injection-Date: Fri, 26 Nov 2021 19:16:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="95fd843240057acccd6aa375d632dee3";
logging-data="8109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19U9CBzZgZ1dHuWLrvTqw0s3qq4fojXW9o="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:NOMkvyn1yKD6rcmT+QFLekIc7N4=
 by: Simon Clubley - Fri, 26 Nov 2021 19:16 UTC

On 2021-11-26, Chris Townley <news@cct-net.co.uk> wrote:
> On 26/11/2021 18:54, Simon Clubley wrote:
>>
>> Alpha not so much, because full system emulation is available.
>>
>> But yes, for Itanium, when replacement physical boxes are no longer
>> available is when the real problems start to occur.
>>
>> It really is a pity that a full system emulator was never developed
>> for the Itanium architecture. That would have given people a few more
>> options.
>>
>
> Well there's an opportunity for you!
>

I already had a look a while back. :-)

Given the complexity of the architecture, it's a massive undertaking
and required quite a bit of access to documents, firmware and knowledge
that was not public (or at least I could not find the materials).

Start with the system firmware. That's locked up behind a HPE paywall
and is not freely available.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<snrcd7$7td$5@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18990&group=comp.os.vms#18990

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 19:26:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <snrcd7$7td$5@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
Injection-Date: Fri, 26 Nov 2021 19:26:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="95fd843240057acccd6aa375d632dee3";
logging-data="8109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WPlWksl922ond/VURvEtRlK7BX0CpJdI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:iBiVnOHB5LiGdREVVp2Ba2DTW0k=
 by: Simon Clubley - Fri, 26 Nov 2021 19:26 UTC

On 2021-11-25, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>
> Trolling and changing the thread subject line does not excuse you from
> answering the question I asked. <crickets... in November nonetheless>
>
> Troll, troll troll, the troll is marching...
>

I already answered your question Brian as you would have seen if you
had actually read my replies.

It turns out that the reason those arguments are available to the called
function is because VMS needs to preserve those registers across the AST
call and some bright spark during the design of VMS thought it was
acceptable to push those registers onto a user-visible call frame instead
of storing them in a private area that the called AST function did not
have access to.

That's the kind of design decision that was so insane it should never
have passed a design review but at least it appears to have been fixed
in later architectures with a private storage area, just like it should
have been on VAX.

And the reason I thought it _must_ be Macro-32 related was because the
real reason was so crazy it never even occurred to me. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<snrda5$7td$6@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18991&group=comp.os.vms#18991

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 19:41:57 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <snrda5$7td$6@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me> <8080aa0e-806d-4e2c-a371-10e975735a11n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Nov 2021 19:41:57 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="95fd843240057acccd6aa375d632dee3";
logging-data="8109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZYNAJfZ8QbHpbigdANoDojkAsguap/lc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:4dKs97KvtpHOj9FkVOTbvkpmLzo=
 by: Simon Clubley - Fri, 26 Nov 2021 19:41 UTC

On 2021-11-26, Félim Doyle <felim.doyle@gmail.com> wrote:
> On Thursday, 25 November 2021 at 15:48:37 UTC, Dave Froble wrote:
>> VMS was designed and implemented for VAX, not generic computers.
>
> As I remember it, VAX/VMS was designed by DEC to be its best ever OS then the VAX hardware was designed and built to run it not the other way around. There were probably some mistakes made, unforeseen implementation issues and some miscommunications during parallel development of the hardware and software but the facilities that this combination provided, especially in comparison to the price range of other systems at the time, was revolutionary.
>

One of the biggest mistakes made is that DEC went to the trouble of
implementing a 4-mode architecture and then completely blew how it was
used.

That 4-mode architecture could have provided some really truly radical
internal security separation within VMS, but once you are in any of the
3 inner modes, you can get to any of the other inner modes so all those
extra modes were wasted from a security isolation point of view.

In case you are wondering, you can escalate from supervisor mode because
DCL has access to the privileges of the programs it runs even though it
doesn't actually need them. That kind of thing should have stayed within
the kernel so DCL never sees those privileges.

Just yet another VMS design "feature". :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<snrdg0$7td$7@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18992&group=comp.os.vms#18992

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 19:45:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <snrdg0$7td$7@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me> <snokdr$2sp$1@dont-email.me> <619fe1fe$0$696$14726298@news.sunsite.dk> <j0ac3aFojqmU1@mid.individual.net> <snpeb7$jdc$1@dont-email.me> <j0c73vF4nvbU1@mid.individual.net>
Injection-Date: Fri, 26 Nov 2021 19:45:05 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="95fd843240057acccd6aa375d632dee3";
logging-data="8109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+acG2oSYcaWTBxD8aON5Nde4uHeMNVaeI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:o13rF1SExfcxGvKjRwkbwG5kHTc=
 by: Simon Clubley - Fri, 26 Nov 2021 19:45 UTC

On 2021-11-26, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>
> But there is the rub. VSI does have customers but based on the
> comments I am still seeing here the numbers may be decreasing.
> And people may be getting concerned about the time scale.
>

Longer term, they have not done themselves any favours with those
time-limited production licences either.

I wonder how many potential VSI customers that decision has scared off.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<f859af8a-690b-40ba-8d0e-f475d6357e2dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18993&group=comp.os.vms#18993

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:58cf:: with SMTP id dh15mr15708650qvb.125.1637958674613;
Fri, 26 Nov 2021 12:31:14 -0800 (PST)
X-Received: by 2002:a05:620a:1901:: with SMTP id bj1mr24235937qkb.476.1637958674372;
Fri, 26 Nov 2021 12:31:14 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 26 Nov 2021 12:31:14 -0800 (PST)
In-Reply-To: <snrda5$7td$6@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me>
<8080aa0e-806d-4e2c-a371-10e975735a11n@googlegroups.com> <snrda5$7td$6@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f859af8a-690b-40ba-8d0e-f475d6357e2dn@googlegroups.com>
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Fri, 26 Nov 2021 20:31:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 45
 by: abrsvc - Fri, 26 Nov 2021 20:31 UTC

On Friday, November 26, 2021 at 2:41:59 PM UTC-5, Simon Clubley wrote:
> On 2021-11-26, Félim Doyle <felim...@gmail.com> wrote:
> > On Thursday, 25 November 2021 at 15:48:37 UTC, Dave Froble wrote:
> >> VMS was designed and implemented for VAX, not generic computers.
> >
> > As I remember it, VAX/VMS was designed by DEC to be its best ever OS then the VAX hardware was designed and built to run it not the other way around. There were probably some mistakes made, unforeseen implementation issues and some miscommunications during parallel development of the hardware and software but the facilities that this combination provided, especially in comparison to the price range of other systems at the time, was revolutionary.
> >
> One of the biggest mistakes made is that DEC went to the trouble of
> implementing a 4-mode architecture and then completely blew how it was
> used.
>
> That 4-mode architecture could have provided some really truly radical
> internal security separation within VMS, but once you are in any of the
> 3 inner modes, you can get to any of the other inner modes so all those
> extra modes were wasted from a security isolation point of view.
>
> In case you are wondering, you can escalate from supervisor mode because
> DCL has access to the privileges of the programs it runs even though it
> doesn't actually need them. That kind of thing should have stayed within
> the kernel so DCL never sees those privileges.
>
> Just yet another VMS design "feature". :-)
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.
I find these kind of comments somewhat offensive since it is easy to criticize the decisions of people made 40 years ago using the context of knowledge today. VMS was designed as a cooperative pairing of both hardware and software. The use of R0 and R1 was for consistency across calls and had nothing to do with MACRO32 at all. Bliss used the same register conventions. If the VMS and VAX engineers knew in the late 70's what was known now, I suspect things would have been done differently.

Re: VMS internals design, was: Re: BASIC and AST routines

<61a149e8$0$693$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18994&group=comp.os.vms#18994

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!rocksolid2!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 26 Nov 2021 15:56:05 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Content-Language: en-US
Newsgroups: comp.os.vms
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
<snrcd7$7td$5@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <snrcd7$7td$5@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
Message-ID: <61a149e8$0$693$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b04d195d.news.sunsite.dk
X-Trace: 1637960168 news.sunsite.dk 693 arne@vajhoej.dk/68.9.63.232:49763
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 26 Nov 2021 20:56 UTC

On 11/26/2021 2:26 PM, Simon Clubley wrote:
> And the reason I thought it _must_ be Macro-32 related was because the
> real reason was so crazy it never even occurred to me. :-)

So anything you don't know why is by default a Macro-32 problems??

Arne

Re: VMS internals design, was: Re: BASIC and AST routines

<snrkvl$30j$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18996&group=comp.os.vms#18996

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 16:52:51 -0500
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <snrkvl$30j$1@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me>
<8080aa0e-806d-4e2c-a371-10e975735a11n@googlegroups.com>
<snrda5$7td$6@dont-email.me>
<f859af8a-690b-40ba-8d0e-f475d6357e2dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Nov 2021 21:52:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="50ca15e86e0abe24eb622d583e64d191";
logging-data="3091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AFujkzRG9CDR9PSZqqUg0RMtZ/L8lE+g="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:MuadpJ69Ir1n6oMmLO3VvrXOkQU=
In-Reply-To: <f859af8a-690b-40ba-8d0e-f475d6357e2dn@googlegroups.com>
 by: Dave Froble - Fri, 26 Nov 2021 21:52 UTC

On 11/26/2021 3:31 PM, abrsvc wrote:
> On Friday, November 26, 2021 at 2:41:59 PM UTC-5, Simon Clubley wrote:
>> On 2021-11-26, Félim Doyle <felim...@gmail.com> wrote:
>>> On Thursday, 25 November 2021 at 15:48:37 UTC, Dave Froble wrote:
>>>> VMS was designed and implemented for VAX, not generic computers.
>>>
>>> As I remember it, VAX/VMS was designed by DEC to be its best ever OS then the VAX hardware was designed and built to run it not the other way around. There were probably some mistakes made, unforeseen implementation issues and some miscommunications during parallel development of the hardware and software but the facilities that this combination provided, especially in comparison to the price range of other systems at the time, was revolutionary.
>>>
>> One of the biggest mistakes made is that DEC went to the trouble of
>> implementing a 4-mode architecture and then completely blew how it was
>> used.
>>
>> That 4-mode architecture could have provided some really truly radical
>> internal security separation within VMS, but once you are in any of the
>> 3 inner modes, you can get to any of the other inner modes so all those
>> extra modes were wasted from a security isolation point of view.
>>
>> In case you are wondering, you can escalate from supervisor mode because
>> DCL has access to the privileges of the programs it runs even though it
>> doesn't actually need them. That kind of thing should have stayed within
>> the kernel so DCL never sees those privileges.
>>
>> Just yet another VMS design "feature". :-)
>> Simon.
>>
>> --
>> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
>> Walking destinations on a map are further away than they appear.
> I find these kind of comments somewhat offensive since it is easy to criticize the decisions of people made 40 years ago using the context of knowledge today. VMS was designed as a cooperative pairing of both hardware and software. The use of R0 and R1 was for consistency across calls and had nothing to do with MACRO32 at all. Bliss used the same register conventions. If the VMS and VAX engineers knew in the late 70's what was known now, I suspect things would have been done differently.
>

Yeah, hindsight can be 20/20.

If the Wright bros knew what is known now, they would have flown an F22 Raptor,
or maybe a 747, at Kittyhawk.

But if they would not have flown the Wright Flyer in 1903, perhaps we would not
have F22s and 747s today.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS internals design, was: Re: BASIC and AST routines

<snrl5q$30j$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18997&group=comp.os.vms#18997

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Fri, 26 Nov 2021 16:56:09 -0500
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <snrl5q$30j$2@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
<snrcd7$7td$5@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 26 Nov 2021 21:56:11 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="50ca15e86e0abe24eb622d583e64d191";
logging-data="3091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DphBp948L3AMRgS2y5kc/sOP3HJkWROA="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:YAKbLx7uSOmdEuu9ZnuGNqbpIas=
In-Reply-To: <snrcd7$7td$5@dont-email.me>
 by: Dave Froble - Fri, 26 Nov 2021 21:56 UTC

On 11/26/2021 2:26 PM, Simon Clubley wrote:
> it never even occurred to me. :-)

That seems to happen a lot ...

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS internals design, was: Re: BASIC and AST routines

<61a17011$0$704$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18999&group=comp.os.vms#18999

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 26 Nov 2021 18:38:48 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Content-Language: en-US
Newsgroups: comp.os.vms
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me>
<snokdr$2sp$1@dont-email.me> <619fe1fe$0$696$14726298@news.sunsite.dk>
<snrah2$7td$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <snrah2$7td$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 68
Message-ID: <61a17011$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 79ed2cbe.news.sunsite.dk
X-Trace: 1637969937 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:55030
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 26 Nov 2021 23:38 UTC

On 11/26/2021 1:54 PM, Simon Clubley wrote:
> On 2021-11-25, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 11/25/2021 1:25 PM, Simon Clubley wrote:
>>>
>>> I doubt many would have joined you.
>>
>> I think most would.
>>
>> Those running VMS today are mostly those without an easy way off
>> VMS.
>>
>> Continuing with VMS is what they want.
>>
>> They are very interested in that VMS has a future. If not then
>> migration becomes necessary at some point in time.
>>
>> So the confidence in VSI completing the port is very important.
>> But the timeline is less important.
>>
>
> The problem Arne is that in many companies, those who want to stay
> on VMS are not those who actually make the final decision about whether
> to stay on VMS.
>
> Those kinds of decisions are usually made one or two levels higher up
> and those people tend not to have an emotional bond to VMS and they also
> want to take what they perceive as the safer decision (both for them and
> for their pension.)
>
> Saying that a port to x86-64 would be available in about 8 years is
> not the kind of thing that endears you to those types of managers. :-)

Most won't care.

They are only interested in whether there will continue to be HW
available to run VMS on. At a reasonable price.

Whether that is Itanium for 4 years and x86-64 after that or
Itanium for 8 years and x86-64 after that does not matter
much.

There can be exceptions like they want to move VMS to
their on-prem ESXi cluster or to public cloud - then
the date does matter.

>> Sure a x86-64 box is way more powerful and way cheaper than
>> Itanium and old Alpha's. But the Itanium's and Alpha's can
>> still do the job those VMS users need.
>>
>> The drop dead time is when IslandCo can no longer deliver
>> Itanium's and Alpha's.
>>
>
> Alpha not so much, because full system emulation is available.

True.

> But yes, for Itanium, when replacement physical boxes are no longer
> available is when the real problems start to occur.
>
> It really is a pity that a full system emulator was never developed
> for the Itanium architecture. That would have given people a few more
> options.

Yes.

Arne

Re: VMS internals design, was: Re: BASIC and AST routines

<61a17256$0$704$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19000&group=comp.os.vms#19000

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 26 Nov 2021 18:48:30 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Content-Language: en-US
Newsgroups: comp.os.vms
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me>
<8080aa0e-806d-4e2c-a371-10e975735a11n@googlegroups.com>
<snrda5$7td$6@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <snrda5$7td$6@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 53
Message-ID: <61a17256$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 79ed2cbe.news.sunsite.dk
X-Trace: 1637970519 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:55447
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 26 Nov 2021 23:48 UTC

On 11/26/2021 2:41 PM, Simon Clubley wrote:
> On 2021-11-26, Félim Doyle <felim.doyle@gmail.com> wrote:
>> On Thursday, 25 November 2021 at 15:48:37 UTC, Dave Froble wrote:
>>> VMS was designed and implemented for VAX, not generic computers.
>>
>> As I remember it, VAX/VMS was designed by DEC to be its best ever
>> OS then the VAX hardware was designed and built to run it not the
>> other way around. There were probably some mistakes made,
>> unforeseen implementation issues and some miscommunications during
>> parallel development of the hardware and software but the
>> facilities that this combination provided, especially in comparison
>> to the price range of other systems at the time, was
>> revolutionary.
>
> One of the biggest mistakes made is that DEC went to the trouble of
> implementing a 4-mode architecture and then completely blew how it
> was used.
>
> That 4-mode architecture could have provided some really truly
> radical internal security separation within VMS, but once you are in
> any of the 3 inner modes, you can get to any of the other inner modes
> so all those extra modes were wasted from a security isolation point
> of view.

When that design was done then it was a good protection against
accidental S and E trashing something.

20-40 years later it was realized that it could have been
good if it also protected against malicious code that
tried to switch to an inner mode.

But what so?

It would also have been great if they had foreseen:
* future HW changes and had done a HAL
* the need for later switching from 32 to 64 bit
* etc.etc.

But looking back that way is a rather futile exercise.

There is an old quote:

"A man who never makes a mistake will never make anything."

Nobody can foresee the future and mistakes are made.

Looking back and figuring out what decisions should have been
made is pointless (unless there is lesson learned for
decisions to be made now).

Arne

Re: VMS internals design, was: Re: BASIC and AST routines

<00B6C680.E2711269@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19001&group=comp.os.vms#19001

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Sat, 27 Nov 2021 00:04:21 GMT
Organization: c.2021 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B6C680.E2711269@SendSpamHere.ORG>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B3.85AFD68C@SendSpamHere.ORG> <snrbgf$7td$3@dont-email.me>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="46073"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sat, 27 Nov 2021 00:04 UTC

In article <snrbgf$7td$3@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2021-11-25, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>> In article <sno4v1$efp$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>
>>>Compared to later operating system designs the internal design
>>>of VMS is a direct product of the 1970s mindset because it is
>>>ugly, hard to alter, not modular, full of internal hacks such
>>>as jumping internally all over the place and was designed when
>>>it was getting close to the end of when assembly language was
>>>considered to be both an acceptable system implementation language
>>>and an application language.
>>
>> What's hard to alter? Many people say an alternator is difficult to
>> replace. I did one two weeks ago.
>>
>
>Have you ever looked inside the Linux internals to see how clean
>they are compared to VMS internals ?

Statement such as yours are purely unfounded without proofs. What is
so *unclean* in the VMS internals? I've never seen a book written as
well as the OpenVMS Internal and Data Structures Manual for Linux. I
demand a proof but not before you answer my question that you have so
completely ignored or skirted around since the inception of this long
thread.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: VMS internals design, was: Re: BASIC and AST routines

<00B6C685.383D45A6@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19002&group=comp.os.vms#19002

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Sat, 27 Nov 2021 00:35:23 GMT
Organization: c.2021 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B6C685.383D45A6@SendSpamHere.ORG>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG> <snrcd7$7td$5@dont-email.me>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="46073"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sat, 27 Nov 2021 00:35 UTC

In article <snrcd7$7td$5@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2021-11-25, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>>
>> Trolling and changing the thread subject line does not excuse you from
>> answering the question I asked. <crickets... in November nonetheless>
>>
>> Troll, troll troll, the troll is marching...
>>
>
>I already answered your question Brian as you would have seen if you
>had actually read my replies.
>
>It turns out that the reason those arguments are available to the called
>function is because VMS needs to preserve those registers across the AST
>call and some bright spark during the design of VMS thought it was
>acceptable to push those registers onto a user-visible call frame instead
>of storing them in a private area that the called AST function did not
>have access to.
>
>That's the kind of design decision that was so insane it should never
>have passed a design review but at least it appears to have been fixed
>in later architectures with a private storage area, just like it should
>have been on VAX.

If you really must know, read the "VAX/VMS I&DS at Chapter and Section 7.5
in the V5.2 edition. Oh, I keep forgetting, you despise processor modes,
so that'll just open up this up to more "wank, wank, wank VMS IS NOT UNIX"
hatred you spew.

>And the reason I thought it _must_ be Macro-32 related was because the
>real reason was so crazy it never even occurred to me. :-)

What? What? WHAT? You mean it wasn't because there's something you could
do using C that one could not do with Macro-32? Is that what your saying?
Were you aware that all that "elegant" Murray Hill hieroglyphics you're so
fond of actually gets converted to machine code by these things they call
compilers? On a VAX, that'd be VAX machine code whose assembly is called,
wait for it, Macro-32. The AST mechanism was devised to allow "high level"
languages or C to be used for the AST routine, so why would Macro-32 be ANY
less capable? I knew you couldn't answer this but boy you can sure exhale
volumes of Ye Olde Hot Air.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: VMS internals design, was: Re: BASIC and AST routines

<75923e08-292c-48c9-8606-35d041a20a2bn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19003&group=comp.os.vms#19003

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:20ee:: with SMTP id 14mr17938779qvk.94.1637991974901;
Fri, 26 Nov 2021 21:46:14 -0800 (PST)
X-Received: by 2002:ad4:5966:: with SMTP id eq6mr29870044qvb.14.1637991974756;
Fri, 26 Nov 2021 21:46:14 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 26 Nov 2021 21:46:14 -0800 (PST)
In-Reply-To: <00B6C685.383D45A6@SendSpamHere.ORG>
Injection-Info: google-groups.googlegroups.com; posting-host=110.141.199.187; posting-account=aiFgKwoAAADhXN8yuY9GOUK5pPhh21wH
NNTP-Posting-Host: 110.141.199.187
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
<snrcd7$7td$5@dont-email.me> <00B6C685.383D45A6@SendSpamHere.ORG>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75923e08-292c-48c9-8606-35d041a20a2bn@googlegroups.com>
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
From: andrew.c...@bigpond.com (Andrew Commons)
Injection-Date: Sat, 27 Nov 2021 05:46:14 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 48
 by: Andrew Commons - Sat, 27 Nov 2021 05:46 UTC

I've been watching this thread with a mixture of amusement and horror. The
triggering thread regarding AST routines was equally enlightening. In
fact if I ever feel the urge to start a thread here I will probably make
the subject line something like this:

<My Topic>, was: Re: Something Simon Clubley felt strongly about

Purely curiosity to see if it stopped forking :)

So, for Simon...

>> One of the biggest mistakes made is that DEC went to the trouble of
>> implementing a 4-mode architecture and then completely blew how it was
>> used.

Well, a bit like Intel implementing a 4-mode architecture and then having
Microsoft completely blow how it is used?

Note that the OS/2 update that Cutler and Co were originally hired to work
on used 3 of the modes. When Windows looked like becoming a success then
it switched to a Windows upgrade instead. Gates wanted it to run on
consumer hardware, so things got dropped. There are still 4 modes available
and I'm sure VSI are using them.

>> That 4-mode architecture could have provided some really truly radical
>> internal security separation within VMS, but once you are in any of the
>> 3 inner modes, you can get to any of the other inner modes so all those
>> extra modes were wasted from a security isolation point of view.

Put your money where your mouth is. Prove it. Post examples that show a
fundamental flaw rather than an Ooops in a single privileged program.

>> In case you are wondering, you can escalate from supervisor mode because
>> DCL has access to the privileges of the programs it runs even though it
>> doesn't actually need them. That kind of thing should have stayed within
>> the kernel so DCL never sees those privileges.

If this was such a huge fundamental problem I would expect masses of
vulnerability reports. Where are they? Post examples.

When a program runs in a privileged context then those writing the program
obviously need to exercise care. Ideally you enable/disable privileges
in a Just In Time basis and, obviously, when you are operating in a mode
higher than the originating mode any inputs from the lower mode must be
treated with caution. Failing to do this on one occasion does not invalidate
the security model.

I will now scrub my cookies and history back to bedrock which I recommend
after logging in to anything Google related.

Re: VMS internals design, was: Re: BASIC and AST routines

<1de309e6-c8b0-4f67-bde9-1366115de32cn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19005&group=comp.os.vms#19005

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:4155:: with SMTP id e21mr36872152qtm.312.1638108797864;
Sun, 28 Nov 2021 06:13:17 -0800 (PST)
X-Received: by 2002:a05:620a:4148:: with SMTP id k8mr33334167qko.0.1638108797691;
Sun, 28 Nov 2021 06:13:17 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 28 Nov 2021 06:13:17 -0800 (PST)
In-Reply-To: <75923e08-292c-48c9-8606-35d041a20a2bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.32.212.191; posting-account=WnLuRwoAAACJLvF6yOLCgCkvK5ataUzs
NNTP-Posting-Host: 68.32.212.191
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
<snrcd7$7td$5@dont-email.me> <00B6C685.383D45A6@SendSpamHere.ORG> <75923e08-292c-48c9-8606-35d041a20a2bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1de309e6-c8b0-4f67-bde9-1366115de32cn@googlegroups.com>
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
From: jdop...@gmail.com (John Doppke)
Injection-Date: Sun, 28 Nov 2021 14:13:17 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 45
 by: John Doppke - Sun, 28 Nov 2021 14:13 UTC

On Saturday, November 27, 2021 at 12:46:16 AM UTC-5, Andrew Commons wrote:
> I've been watching this thread with a mixture of amusement and horror. The
> triggering thread regarding AST routines was equally enlightening. In
> fact if I ever feel the urge to start a thread here I will probably make
> the subject line something like this:
>
> <My Topic>, was: Re: Something Simon Clubley felt strongly about
>
> Purely curiosity to see if it stopped forking :)
>
> So, for Simon...
> >> One of the biggest mistakes made is that DEC went to the trouble of
> >> implementing a 4-mode architecture and then completely blew how it was
> >> used.
> Well, a bit like Intel implementing a 4-mode architecture and then having
> Microsoft completely blow how it is used?
>
> Note that the OS/2 update that Cutler and Co were originally hired to work
> on used 3 of the modes. When Windows looked like becoming a success then
> it switched to a Windows upgrade instead. Gates wanted it to run on
> consumer hardware, so things got dropped. There are still 4 modes available
> and I'm sure VSI are using them.
> >> That 4-mode architecture could have provided some really truly radical
> >> internal security separation within VMS, but once you are in any of the
> >> 3 inner modes, you can get to any of the other inner modes so all those
> >> extra modes were wasted from a security isolation point of view.
> Put your money where your mouth is. Prove it. Post examples that show a
> fundamental flaw rather than an Ooops in a single privileged program.
> >> In case you are wondering, you can escalate from supervisor mode because
> >> DCL has access to the privileges of the programs it runs even though it
> >> doesn't actually need them. That kind of thing should have stayed within
> >> the kernel so DCL never sees those privileges.
> If this was such a huge fundamental problem I would expect masses of
> vulnerability reports. Where are they? Post examples.
>
> When a program runs in a privileged context then those writing the program
> obviously need to exercise care. Ideally you enable/disable privileges
> in a Just In Time basis and, obviously, when you are operating in a mode
> higher than the originating mode any inputs from the lower mode must be
> treated with caution. Failing to do this on one occasion does not invalidate
> the security model.
>
> I will now scrub my cookies and history back to bedrock which I recommend
> after logging in to anything Google related.

Every time I see these posts I think "My God, what have I started?"

Re: VMS internals design, was: Re: BASIC and AST routines

<so03jb$l2h$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19006&group=comp.os.vms#19006

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Sun, 28 Nov 2021 09:26:47 -0500
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <so03jb$l2h$1@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
<snrcd7$7td$5@dont-email.me> <00B6C685.383D45A6@SendSpamHere.ORG>
<75923e08-292c-48c9-8606-35d041a20a2bn@googlegroups.com>
<1de309e6-c8b0-4f67-bde9-1366115de32cn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 28 Nov 2021 14:26:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b51b60cbd5d98708f0448aa88c66a175";
logging-data="21585"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BeJhBha7W4G5LyIKuqoyvFQwnm2rO3dE="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:56Bkw3t6KkpsbH/5QxfN2Da/5Yk=
In-Reply-To: <1de309e6-c8b0-4f67-bde9-1366115de32cn@googlegroups.com>
 by: Dave Froble - Sun, 28 Nov 2021 14:26 UTC

On 11/28/2021 9:13 AM, John Doppke wrote:

> Every time I see these posts I think "My God, what have I started?"
>

Actually, nothing. This general "conversation" has been going on for some time
now. It's like a tornado, touch down here, touch down there, etc.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS internals design, was: Re: BASIC and AST routines

<so14dq$odn$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19007&group=comp.os.vms#19007

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Mon, 29 Nov 2021 00:47:05 +0100
Organization: MGT Consulting
Message-ID: <so14dq$odn$1@news.misty.com>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B3.85AFD68C@SendSpamHere.ORG>
<snrbgf$7td$3@dont-email.me> <00B6C680.E2711269@SendSpamHere.ORG>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 28 Nov 2021 23:47:06 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="25015"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <00B6C680.E2711269@SendSpamHere.ORG>
 by: Johnny Billquist - Sun, 28 Nov 2021 23:47 UTC

On 2021-11-27 01:04, VAXman-@SendSpamHere.ORG wrote:
> In article <snrbgf$7td$3@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>> On 2021-11-25, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>>> In article <sno4v1$efp$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>>
>>>> Compared to later operating system designs the internal design
>>>> of VMS is a direct product of the 1970s mindset because it is
>>>> ugly, hard to alter, not modular, full of internal hacks such
>>>> as jumping internally all over the place and was designed when
>>>> it was getting close to the end of when assembly language was
>>>> considered to be both an acceptable system implementation language
>>>> and an application language.
>>>
>>> What's hard to alter? Many people say an alternator is difficult to
>>> replace. I did one two weeks ago.
>>>
>>
>> Have you ever looked inside the Linux internals to see how clean
>> they are compared to VMS internals ?
>
> Statement such as yours are purely unfounded without proofs. What is
> so *unclean* in the VMS internals? I've never seen a book written as
> well as the OpenVMS Internal and Data Structures Manual for Linux. I
> demand a proof but not before you answer my question that you have so
> completely ignored or skirted around since the inception of this long
> thread.

In a way, David is actually completely incorrect. The internals of Linux
is changing all the time. You'll have problems running software more
than a year or two old if it's kernel internal, since the APIs inside
the kernel constantly is changing.

And why is that? Well, obviously because the people writing them and
using them constantly realize ways in which they are not good.

The various BSD systems would be better arguments here. They actually
try to think a little more before doing something, as opposed to Linux,
which is really a case of "do first, think later".

So, no. The claims Simon make are totally unfounded. However, it is
fairly easy to change and evolve in Linux or other Unix like systems,
which shows that there is *something* that is right in there. But it's
not the internals are well designed, stable, and well working.
But there is a simplicitly and modularity, which can be traced back to
Unix of old, which have been a big reason for the good properties in there.
But had the Linux kids been doing things from scratch on their own, it
would most likely have been a mess that noone would have wanted to touch.

Johnny

Re: VMS internals design, was: Re: BASIC and AST routines

<so18cg$chv$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19008&group=comp.os.vms#19008

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: 29 Nov 2021 00:54:40 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 37
Message-ID: <so18cg$chv$1@panix2.panix.com>
References: <sno4v1$efp$1@dont-email.me> <snrbgf$7td$3@dont-email.me> <00B6C680.E2711269@SendSpamHere.ORG> <so14dq$odn$1@news.misty.com>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="9716"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Mon, 29 Nov 2021 00:54 UTC

Johnny Billquist <bqt@softjar.se> wrote:
>
>In a way, David is actually completely incorrect. The internals of Linux
>is changing all the time. You'll have problems running software more
>than a year or two old if it's kernel internal, since the APIs inside
>the kernel constantly is changing.

This is absolutely true, and I am really pissed off about it.

>And why is that? Well, obviously because the people writing them and
>using them constantly realize ways in which they are not good.

It's because there is change for change's sake. I don't see dramatic
improvements taking place.

>The various BSD systems would be better arguments here. They actually
>try to think a little more before doing something, as opposed to Linux,
>which is really a case of "do first, think later".

Yes, BSD is much more sane in their approach to making updates of any
sort, and has avoided fundamental changes away from the Unix model in
the user space as well as the kernel.

>So, no. The claims Simon make are totally unfounded. However, it is
>fairly easy to change and evolve in Linux or other Unix like systems,
>which shows that there is *something* that is right in there. But it's
>not the internals are well designed, stable, and well working.
>But there is a simplicitly and modularity, which can be traced back to
>Unix of old, which have been a big reason for the good properties in there.
>But had the Linux kids been doing things from scratch on their own, it
>would most likely have been a mess that noone would have wanted to touch.

Modularity is a major, major deal here.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS internals design, was: Re: BASIC and AST routines

<so1akt$vqe$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19009&group=comp.os.vms#19009

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Mon, 29 Nov 2021 02:33:16 +0100
Organization: MGT Consulting
Message-ID: <so1akt$vqe$1@news.misty.com>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG>
<snrcd7$7td$5@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 29 Nov 2021 01:33:17 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="32590"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <snrcd7$7td$5@dont-email.me>
 by: Johnny Billquist - Mon, 29 Nov 2021 01:33 UTC

On 2021-11-26 20:26, Simon Clubley wrote:
> It turns out that the reason those arguments are available to the called
> function is because VMS needs to preserve those registers across the AST
> call and some bright spark during the design of VMS thought it was
> acceptable to push those registers onto a user-visible call frame instead
> of storing them in a private area that the called AST function did not
> have access to.

It seems you understand neither how interrupts (hardware or software)
work, nor where the problem actually is here.

> That's the kind of design decision that was so insane it should never
> have passed a design review but at least it appears to have been fixed
> in later architectures with a private storage area, just like it should
> have been on VAX.

No. You're nuts, and don't seem to understand some very simple things.

> And the reason I thought it _must_ be Macro-32 related was because the
> real reason was so crazy it never even occurred to me. :-)

Well, after reading your rants, I'm not sure you even understand what
the problem actually is.

Let's first observe that saving information on the stack when interrupt
happens are both common and normal, and is not unique to VAX or VMS.
All systems do it, even Unix.
What do you think happens when you get a signal? The previous context is
stored on your stack, and your signal handled is called. Exactly the
same as with the AST under VMS. There is literally no difference.

And when writing in assembler, it's all very simple and straight
forward. You don't normally care what's on the stack beyond the possible
arguments have have there that you might need to remove before
returning. In VMS, that would be AST dependent parameters, which are
there for your use, and which you should remove before returning (I
think you need to remove them manually, but I might be misremembering.
You need to do it manually in RSX at least).

Where things go a bit weird is that in some (maybe all?) high level
languages, some additional stack content is exposed in the function
signature. There is absolutely no requirement that they need to be. But
this has nothing to do with VMS, and all to do with the language
implementation in relation to ASTs.
Why DEC choose to expose these elements on the stack to the AST function
is beyond me. You could possibly argue that there could be some reason
for sometimes being able to examine these in order to do something
specific, but in general I can't really think of a good reason, and if I
had designed the language environment, I'd kept them out of visibility.
It would be easy to do this, so it was obviously a conscious decision by
DEC for the high level languages to expose the information.

But again - this do not have anything to do with VMS itself, and VMS
isn't doing anything different than Unix is (well, actually ASTs work
much better than signals, but the reason and context for that should be
a different thread).

Unix on the other hand made the decision that the similar kind of
information on the stack when a signal handler is called is not being
exposed in the function signature.
Makes much more sense if you ask me, but this is something for the C
language, and don't have anything to do with Unix as such. The
information is there on the stack. It's just not exposed to the function.

Johnny

Re: VMS internals design, was: Re: BASIC and AST routines

<so1m16$1ik$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19010&group=comp.os.vms#19010

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: goathun...@goatley.com (Hunter Goatley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Sun, 28 Nov 2021 22:47:31 -0600
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <so1m16$1ik$1@dont-email.me>
References: <sno4v1$efp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 29 Nov 2021 04:47:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="fe8ea38bc6e701e9b3026aba6afb577e";
logging-data="1620"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//mXO4spOGXPD4S7NSnjYhWmV5jKSAUww="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Cancel-Lock: sha1:bR/56MX7W/ZtktQldwlpWfKJFSc=
In-Reply-To: <sno4v1$efp$1@dont-email.me>
Content-Language: en-US
 by: Hunter Goatley - Mon, 29 Nov 2021 04:47 UTC

On 11/25/2021 8:01 AM, Simon Clubley wrote:
> On 2021-11-24, Chris Townley <news@cct-net.co.uk> wrote:
>> On 24/11/2021 21:45, Hunter Goatley wrote:
>>> On 11/24/2021 1:14 PM, Simon Clubley wrote:
>>>>
>>>> VMS should have been designed 5-10 years later on than when it was.
>>>>
>>>
>>> In a thread of backpedaling inanities, that has to be the most inane.
>>>
>>> Hunter
>>
>> +1
>>
>
> I am seriously annoyed by that comment Hunter because you have
> completely missed (either accidentally or deliberately) the point
> I am making (and have made before).

I didn't miss your point. Yes, you're right, there are things in VMS
that make it difficult to port to other architectures.

But your comment I quoted above is inane. If VMS had been designed 5--10
years later, I doubt it ever would have existed. DEC wouldn't have been
what they were. VAX would have never been what it was.

VMS is what it is. You might not like it, but it did what it was
supposed to do when it was designed, and it did it very well.

Your comment is like saying that that people shouldn't have developed
cell phones until the smart phone was designed. Building blocks. Sure,
that Nokia flip-phone isn't much now, but we wouldn't be where we are if
it hadn't existed.

VMS was designed when it was designed because they needed it, and its
design was exceptional for what it needed to do. You can't change
history or blame the original designers for not thinking of things that
were difficult to imagine at the time.

--
Hunter
------
Hunter Goatley, Process Software, http://www.process.com/
goathunter@goatley.com http://hunter.goatley.com/

Re: VMS internals design, was: Re: BASIC and AST routines

<so37g2$4ee$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19013&group=comp.os.vms#19013

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Mon, 29 Nov 2021 18:51:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <so37g2$4ee$1@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me> <8080aa0e-806d-4e2c-a371-10e975735a11n@googlegroups.com> <snrda5$7td$6@dont-email.me> <f859af8a-690b-40ba-8d0e-f475d6357e2dn@googlegroups.com>
Injection-Date: Mon, 29 Nov 2021 18:51:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c0f53593d807fc5ef0b078f38c8b015a";
logging-data="4558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19B4l5X3B5CobrNbnoX/BZhyyqjUinD4jM="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:wGVz7GbL/iGIIQgY8+LR3s6Q/j0=
 by: Simon Clubley - Mon, 29 Nov 2021 18:51 UTC

On 2021-11-26, abrsvc <dansabrservices@yahoo.com> wrote:
> I find these kind of comments somewhat offensive since it is easy to criticize the decisions of people made 40 years ago using the context of knowledge today. VMS was designed as a cooperative pairing of both hardware and software. The use of R0 and R1 was for consistency across calls and had nothing to do with MACRO32 at all. Bliss used the same register conventions. If the VMS and VAX engineers knew in the late 70's what was known now, I suspect things would have been done differently.
>

Hello Dan,

The problem is not the preserving of R0/R1/PC/PS{L}, but the way in
which it was done. This information should be private to the AST
dispatcher that calls the AST routine. It should never be visible
to the called AST routine itself because that is an outright violation
of good modular design and that's as true back when VMS was designed
as it is now.

In case you are familiar with bare metal interrupt programming, you can
compare the calling of an AST routine with the way that an interrupt
handler is called when working with bare metal code or when implementing
an OS itself.

On more advanced MCUs, you can have an assembly language interrupt
dispatcher that calls the actual C language interrupt handler and you
can end up having to save more interrupt state than just the normal
registers in your assembly language interrupt dispatcher.

However, that information is always private to the interrupt dispatcher,
and is _never_ exposed to the interrupt handler itself and this is so
universally true, that I didn't even realise what the AST registers were
being used for until it was pointed out to me.

For example, in one bare metal assembly language interrupt dispatcher
I wrote a while back for an ARM processor and which I was looking at
recently, the dispatcher has to save what is called the priority limiter
register before programming a new value (this allows nested interrupts
to occur).

This is saved onto the stack by the dispatcher before calling the
C language interrupt handler and is restored by the interrupt dispatcher
upon return from the interrupt handler. This information is private
to the dispatcher, it is not visible to the interrupt handler, and
I would never design a system where it was, because that is an utter
violation of modular and good programming practice.

That priority limiter register can be compared to one of those private
AST registers and that's why I consider it so wrong that those private
registers are there in the AST call frame and hence visible to the
called routine as it's an utter violation of good modular design.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<so37qh$4ee$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19014&group=comp.os.vms#19014

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Mon, 29 Nov 2021 18:57:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <so37qh$4ee$2@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG> <snrcd7$7td$5@dont-email.me> <61a149e8$0$693$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 Nov 2021 18:57:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c0f53593d807fc5ef0b078f38c8b015a";
logging-data="4558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3wlzQMvn05xv/wNK51dYBlFkbJOkYB6I="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:9mxlNiUp+/Yyn1d70G8Y3HK4R1c=
 by: Simon Clubley - Mon, 29 Nov 2021 18:57 UTC

On 2021-11-26, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 11/26/2021 2:26 PM, Simon Clubley wrote:
>> And the reason I thought it _must_ be Macro-32 related was because the
>> real reason was so crazy it never even occurred to me. :-)
>
> So anything you don't know why is by default a Macro-32 problems??
>

No. Read my detailed reply to Dan.

In my eyes, there must have been a reason for those registers being
present and only Macro-32 code could have made any use of them if
they were going to be used by the AST routine itself.

I simply had never considered that possibility that private registers
had been exposed to the called AST routine (instead of being stored
privately by the AST dispatcher) for the dispatcher to use on return
from the AST routine.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<so37uo$4ee$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19015&group=comp.os.vms#19015

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
Date: Mon, 29 Nov 2021 18:59:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <so37uo$4ee$3@dont-email.me>
References: <sno4v1$efp$1@dont-email.me> <00B6C5B4.BB4AE4CA@SendSpamHere.ORG> <snrcd7$7td$5@dont-email.me> <snrl5q$30j$2@dont-email.me>
Injection-Date: Mon, 29 Nov 2021 18:59:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c0f53593d807fc5ef0b078f38c8b015a";
logging-data="4558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KJP5XHD5NKn1h+jVwUXLSG7Yls/xGp9w="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:kBYQ22TI64jwuG6e+ynsdfSDzek=
 by: Simon Clubley - Mon, 29 Nov 2021 18:59 UTC

On 2021-11-26, Dave Froble <davef@tsoft-inc.com> wrote:
> On 11/26/2021 2:26 PM, Simon Clubley wrote:
>> it never even occurred to me. :-)
>
> That seems to happen a lot ...
>

Hey, you are talking to a person whose favourite programming languages
emphasise good modular programming design and that shapes how you look
at a problem or situation... :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS internals design, was: Re: BASIC and AST routines

<685f4933-7224-485b-a19a-04e0624b4521n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=19016&group=comp.os.vms#19016

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:2545:: with SMTP id s5mr21464737qko.48.1638212379990;
Mon, 29 Nov 2021 10:59:39 -0800 (PST)
X-Received: by 2002:a0c:ef4c:: with SMTP id t12mr33595370qvs.110.1638212379878;
Mon, 29 Nov 2021 10:59:39 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 29 Nov 2021 10:59:39 -0800 (PST)
In-Reply-To: <so37g2$4ee$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <sno4v1$efp$1@dont-email.me> <snob8h$ea$1@dont-email.me>
<8080aa0e-806d-4e2c-a371-10e975735a11n@googlegroups.com> <snrda5$7td$6@dont-email.me>
<f859af8a-690b-40ba-8d0e-f475d6357e2dn@googlegroups.com> <so37g2$4ee$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <685f4933-7224-485b-a19a-04e0624b4521n@googlegroups.com>
Subject: Re: VMS internals design, was: Re: BASIC and AST routines
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Mon, 29 Nov 2021 18:59:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 72
 by: abrsvc - Mon, 29 Nov 2021 18:59 UTC

On Monday, November 29, 2021 at 1:51:49 PM UTC-5, Simon Clubley wrote:
> On 2021-11-26, abrsvc <dansabr...@yahoo.com> wrote:
> > I find these kind of comments somewhat offensive since it is easy to criticize the decisions of people made 40 years ago using the context of knowledge today. VMS was designed as a cooperative pairing of both hardware and software. The use of R0 and R1 was for consistency across calls and had nothing to do with MACRO32 at all. Bliss used the same register conventions. If the VMS and VAX engineers knew in the late 70's what was known now, I suspect things would have been done differently.
> >
> Hello Dan,
>
> The problem is not the preserving of R0/R1/PC/PS{L}, but the way in
> which it was done. This information should be private to the AST
> dispatcher that calls the AST routine. It should never be visible
> to the called AST routine itself because that is an outright violation
> of good modular design and that's as true back when VMS was designed
> as it is now.
>
> In case you are familiar with bare metal interrupt programming, you can
> compare the calling of an AST routine with the way that an interrupt
> handler is called when working with bare metal code or when implementing
> an OS itself.
>
> On more advanced MCUs, you can have an assembly language interrupt
> dispatcher that calls the actual C language interrupt handler and you
> can end up having to save more interrupt state than just the normal
> registers in your assembly language interrupt dispatcher.
>
> However, that information is always private to the interrupt dispatcher,
> and is _never_ exposed to the interrupt handler itself and this is so
> universally true, that I didn't even realise what the AST registers were
> being used for until it was pointed out to me.
>
> For example, in one bare metal assembly language interrupt dispatcher
> I wrote a while back for an ARM processor and which I was looking at
> recently, the dispatcher has to save what is called the priority limiter
> register before programming a new value (this allows nested interrupts
> to occur).
>
> This is saved onto the stack by the dispatcher before calling the
> C language interrupt handler and is restored by the interrupt dispatcher
> upon return from the interrupt handler. This information is private
> to the dispatcher, it is not visible to the interrupt handler, and
> I would never design a system where it was, because that is an utter
> violation of modular and good programming practice.
>
> That priority limiter register can be compared to one of those private
> AST registers and that's why I consider it so wrong that those private
> registers are there in the AST call frame and hence visible to the
> called routine as it's an utter violation of good modular design.
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

I am so sick and tired of this "holier than thou" attitude along with "I dictate what is correct design" attitude. Look, while new technologies and techniques often make decisions made years ago seem incorrect, you MUST analyze decisions based upon the knowledge at the time. As I stated earlier, it is easy to criticize based on what is known now.

Can you for once provide constructive criticism? I find it hard to believe that you have not produced "the best" OS in the world given your opinion of yourself since you seem to be the only one that knows the right way to do anything ever.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor