Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"In the fight between you and the world, back the world." -- Frank Zappa


computers / comp.os.vms / Re: Hard links on VMS ODS5 disks

SubjectAuthor
* Hard links on VMS ODS5 disksChris Townley
+* Re: Hard links on VMS ODS5 disksJohnny Billquist
|`- Re: Hard links on VMS ODS5 disksChris Townley
+* Re: Hard links on VMS ODS5 disksgah4
|+* Re: Hard links on VMS ODS5 disksSteven Schweda
||+* Re: Hard links on VMS ODS5 disksgah4
|||`* Re: Hard links on VMS ODS5 disksbill
||| `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  +* Re: Hard links on VMS ODS5 disksgah4
|||  |`* Re: Hard links on VMS ODS5 disksChris Townley
|||  | +* Re: Hard links on VMS ODS5 disksDave Froble
|||  | |`* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  | | +- Re: Hard links on VMS ODS5 disksgah4
|||  | | `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  | |  +- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  | |  +- Re: Hard links on VMS ODS5 disksgah4
|||  | |  `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  | `* Re: Hard links on VMS ODS5 disksgah4
|||  |  `* Re: Hard links on VMS ODS5 disksChris Townley
|||  |   +* Re: Hard links on VMS ODS5 disksgah4
|||  |   |+* Re: Hard links on VMS ODS5 disksChris Townley
|||  |   ||`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||  |   || `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   ||  `- Re: Hard links on VMS ODS5 disksSimon Clubley
|||  |   |`* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   | `* Re: Hard links on VMS ODS5 disksgah4
|||  |   |  `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  |    `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |     `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  |      +* Re: Hard links on VMS ODS5 disksJan-Erik Söderholm
|||  |      |`* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  |      |  `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      |   `* Re: Hard links on VMS ODS5 disksJan-Erik Söderholm
|||  |      |    +- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      |    `- Re: Hard links on VMS ODS5 disksRobert A. Brooks
|||  |      `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |       +* Re: Hard links on VMS ODS5 disksterry-...@glaver.org
|||  |       |`- Re: Hard links on VMS ODS5 disksDave Froble
|||  |       `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |        `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |         `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||   `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||    `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||     +* Re: Hard links on VMS ODS5 disksgah4
|||     |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||     `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||      `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||       +* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||       |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||       `* Re: Hard links on VMS ODS5 disksDave Froble
|||        `* Re: Hard links on VMS ODS5 disksSimon Clubley
|||         +* Re: Hard links on VMS ODS5 disksDave Froble
|||         |`- Re: Hard links on VMS ODS5 disksSimon Clubley
|||         +* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||         |`* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|||         | `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||         `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||          |`* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          | `* Re: Hard links on VMS ODS5 disksSimon Clubley
|||          |  +* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          |  |`- Re: Hard links on VMS ODS5 diskstridac
|||          |  `- Re: Hard links on VMS ODS5 disksDave Froble
|||          `* Re: Hard links on VMS ODS5 disksDave Froble
|||           `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||            `* Re: Hard links on VMS ODS5 disksDave Froble
|||             `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||              `* Re: Hard links on VMS ODS5 disksDave Froble
|||               +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               |+- Re: Hard links on VMS ODS5 disksDave Froble
|||               |+* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               ||`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || +* Re: Hard links on VMS ODS5 disksDave Froble
|||               || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || | `* Re: Hard links on VMS ODS5 disksJohn Dallman
|||               || |  `- Re: Hard links on VMS ODS5 disksDan Cross
|||               || +* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               || |  `* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|||               || |   `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               || |    `- Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               |`* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | |+- Re: Hard links on VMS ODS5 disksDan Cross
|||               | |+- Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | |+* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | ||`* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | || +- Re: Hard links on VMS ODS5 disksDave Froble
|||               | || +- Re: Hard links on VMS ODS5 disksChris Townley
|||               | || +* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || |+- Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | || | +* Re: Hard links on VMS ODS5 disksDave Froble
|||               | || | |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | || | | +- Re: Hard links on VMS ODS5 disksDave Froble
|||               | || | | +- Re: Hard links on VMS ODS5 disksterry-...@glaver.org
|||               | || | | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || | `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || +* Re: Hard links on VMS ODS5 disksStephen Hoffman
|||               | || `* Re: Hard links on VMS ODS5 disksIan Miller
|||               | |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               `- Re: Hard links on VMS ODS5 disksArne Vajhøj
||`* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|`- Re: Hard links on VMS ODS5 disksJohnny Billquist
+* Re: Hard links on VMS ODS5 disksArne Vajhøj
`- Re: Hard links on VMS ODS5 disksStephen Hoffman

Pages:12345678910
Re: Hard links on VMS ODS5 disks

<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:59d3:0:b0:63c:f55e:595c with SMTP id el19-20020ad459d3000000b0063cf55e595cmr5687qvb.1.1690059423940;
Sat, 22 Jul 2023 13:57:03 -0700 (PDT)
X-Received: by 2002:a05:6808:209b:b0:3a4:1265:312d with SMTP id
s27-20020a056808209b00b003a41265312dmr10791816oiw.5.1690059423585; Sat, 22
Jul 2023 13:57:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 22 Jul 2023 13:57:03 -0700 (PDT)
In-Reply-To: <u9gouf$3rdld$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6010:d203:ebee:a513:3388:5491:c3cc;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2603:6010:d203:ebee:a513:3388:5491:c3cc
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me>
<u9gouf$3rdld$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 22 Jul 2023 20:57:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4347
 by: John Reagan - Sat, 22 Jul 2023 20:57 UTC

On Saturday, July 22, 2023 at 10:26:27 AM UTC-4, Arne Vajhøj wrote:
> On 7/20/2023 8:49 AM, Simon Clubley wrote:
> > I get the impression that you have had to spend a lot of effort to
> > duplicate low-level behaviour in a way that simply isn't a concern
> > with other operating systems due to the need, especially, to support
> > Macro-32 and ensure that code written at this low-level, and which
> > uses the various idioms as a result, continues to work.
> I believe Macro-32 is a relative simple compiler. And when they got
> that then they can compile the existing Macro-32 code.
>
Well, I just spit my wine out reading that.

Simple? Try to deal with condition codes. Try to deal with routines
that jump between each other. Try to make the stack "look like a VAX"
on platforms that say otherwise. :)

There are three main parts of the Macro compiler.
-The parser (written in Macro-32) is 99% target independent.
- The flow analyzer (written in C) looks for all those condition codes,
loops, etc. It has some knowledge about the calling standard (how
many arguments in registers, etc.)
- The code generator that maps internal Macro operators that feel
like "instructions". Opcodes, mem-operands, reg-operands, etc.
Each of those had to be recoded to pick the correct x86 instruction.
For x86, we call the LLVM MC interface to emit x86 instructions.
The way LLVM enumerates the x86 opcodes and registers is a
little funky and needed some abstractions we didn't need on Alpha
or Itanium.

> I believe that VSI is mostly reusing existing Macro-32 code
> and writing new code in C.
>
Actually there was a good chunk of Macro-32 that was rewritten into
C. We redid much of the memory management code for example. It
needed to change to deal with the more complex page table structures
on x86, etc. Decided to rewrite into C.

>
> It means that changing from 32 bit pointers to 64 bit pointers is
> way easier in C than in Macro-32.
>
> But based on what we know about the port, then VSI has not changed
> the VMS kernel from 32 bit pointers to 64 bit pointers (aka moving
> everything from S0 and S1 to S2).
>

Actually lots more stuff is now in S2 space and several internal pointers
were lengthened from 32-bits to 64-bits.

Re: Hard links on VMS ODS5 disks

<u9hmij$3vips$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 22 Jul 2023 18:51:58 -0400
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <u9hmij$3vips$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 22 Jul 2023 22:52:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5bc46a919e67418f262b25e9e94077a1";
logging-data="4180796"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CEJs3Bu3HlkQTnNbgvNx8Z//4s953UeM="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:gXSAsWrlN7VDntK0fd5agoZpgbY=
In-Reply-To: <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
 by: Dave Froble - Sat, 22 Jul 2023 22:51 UTC

On 7/22/2023 4:57 PM, John Reagan wrote:
> On Saturday, July 22, 2023 at 10:26:27 AM UTC-4, Arne Vajhøj wrote:
>> On 7/20/2023 8:49 AM, Simon Clubley wrote:
>>> I get the impression that you have had to spend a lot of effort to
>>> duplicate low-level behaviour in a way that simply isn't a concern
>>> with other operating systems due to the need, especially, to support
>>> Macro-32 and ensure that code written at this low-level, and which
>>> uses the various idioms as a result, continues to work.
>> I believe Macro-32 is a relative simple compiler. And when they got
>> that then they can compile the existing Macro-32 code.
>>
> Well, I just spit my wine out reading that.

:-)

Ya know, I was sort of expecting that ...

You've mentioned in the past some of what's written below.

If I had to guess, I'd consider the various Macro-32 compilers to be some of the
most difficult software introduced on VMS Alpha and itanic, and now x86.

> Simple? Try to deal with condition codes. Try to deal with routines
> that jump between each other. Try to make the stack "look like a VAX"
> on platforms that say otherwise. :)
>
> There are three main parts of the Macro compiler.
> -The parser (written in Macro-32) is 99% target independent.
> - The flow analyzer (written in C) looks for all those condition codes,
> loops, etc. It has some knowledge about the calling standard (how
> many arguments in registers, etc.)
> - The code generator that maps internal Macro operators that feel
> like "instructions". Opcodes, mem-operands, reg-operands, etc.
> Each of those had to be recoded to pick the correct x86 instruction.
> For x86, we call the LLVM MC interface to emit x86 instructions.
> The way LLVM enumerates the x86 opcodes and registers is a
> little funky and needed some abstractions we didn't need on Alpha
> or Itanium.
>
>
>> I believe that VSI is mostly reusing existing Macro-32 code
>> and writing new code in C.
>>
> Actually there was a good chunk of Macro-32 that was rewritten into
> C. We redid much of the memory management code for example. It
> needed to change to deal with the more complex page table structures
> on x86, etc. Decided to rewrite into C.
>
>
>>
>> It means that changing from 32 bit pointers to 64 bit pointers is
>> way easier in C than in Macro-32.
>>
>> But based on what we know about the port, then VSI has not changed
>> the VMS kernel from 32 bit pointers to 64 bit pointers (aka moving
>> everything from S0 and S1 to S2).
>>
>
> Actually lots more stuff is now in S2 space and several internal pointers
> were lengthened from 32-bits to 64-bits.
>

--
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: Hard links on VMS ODS5 disks

<u9ho0m$3t9bp$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 23 Jul 2023 00:16:38 +0100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <u9ho0m$3t9bp$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 22 Jul 2023 23:16:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="af8a41174181a966260fcadf8b6dc3a3";
logging-data="4105593"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/+FeIMrrEMA2eNaDva7ESp0bgXAMddVc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:Xy+eyFlIxHhPGMe30HwLfFGDJrE=
Content-Language: en-GB
In-Reply-To: <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
 by: Chris Townley - Sat, 22 Jul 2023 23:16 UTC

On 22/07/2023 21:57, John Reagan wrote:
> On Saturday, July 22, 2023 at 10:26:27 AM UTC-4, Arne Vajhøj wrote:
>> On 7/20/2023 8:49 AM, Simon Clubley wrote:
>>> I get the impression that you have had to spend a lot of effort to
>>> duplicate low-level behaviour in a way that simply isn't a concern
>>> with other operating systems due to the need, especially, to support
>>> Macro-32 and ensure that code written at this low-level, and which
>>> uses the various idioms as a result, continues to work.
>> I believe Macro-32 is a relative simple compiler. And when they got
>> that then they can compile the existing Macro-32 code.
>>
> Well, I just spit my wine out reading that.
>
> Simple? Try to deal with condition codes. Try to deal with routines
> that jump between each other. Try to make the stack "look like a VAX"
> on platforms that say otherwise. :)
>
> There are three main parts of the Macro compiler.
> -The parser (written in Macro-32) is 99% target independent.
> - The flow analyzer (written in C) looks for all those condition codes,
> loops, etc. It has some knowledge about the calling standard (how
> many arguments in registers, etc.)
> - The code generator that maps internal Macro operators that feel
> like "instructions". Opcodes, mem-operands, reg-operands, etc.
> Each of those had to be recoded to pick the correct x86 instruction.
> For x86, we call the LLVM MC interface to emit x86 instructions.
> The way LLVM enumerates the x86 opcodes and registers is a
> little funky and needed some abstractions we didn't need on Alpha
> or Itanium.
>
>
>> I believe that VSI is mostly reusing existing Macro-32 code
>> and writing new code in C.
>>
> Actually there was a good chunk of Macro-32 that was rewritten into
> C. We redid much of the memory management code for example. It
> needed to change to deal with the more complex page table structures
> on x86, etc. Decided to rewrite into C.
>
>
>>
>> It means that changing from 32 bit pointers to 64 bit pointers is
>> way easier in C than in Macro-32.
>>
>> But based on what we know about the port, then VSI has not changed
>> the VMS kernel from 32 bit pointers to 64 bit pointers (aka moving
>> everything from S0 and S1 to S2).
>>
>
> Actually lots more stuff is now in S2 space and several internal pointers
> were lengthened from 32-bits to 64-bits.

I was expecting some sort of answer like this. Shame we are not on a
modern forum - that would have got a 'like; from me!

--
Chris

Re: Hard links on VMS ODS5 disks

<u9hobn$3vmfq$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 22 Jul 2023 19:22:32 -0400
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <u9hobn$3vmfq$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 22 Jul 2023 23:22:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ee13a45da64db44978e46eb35bb96d49";
logging-data="4184570"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vJ5wPT/57W+RNSS9dDHCa9xyZZDtBNPw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:ISN/mffPlsZg12oFuUNe56yphIg=
In-Reply-To: <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 22 Jul 2023 23:22 UTC

On 7/22/2023 4:57 PM, John Reagan wrote:
> On Saturday, July 22, 2023 at 10:26:27 AM UTC-4, Arne Vajhøj wrote:
>> On 7/20/2023 8:49 AM, Simon Clubley wrote:
>>> I get the impression that you have had to spend a lot of effort to
>>> duplicate low-level behaviour in a way that simply isn't a concern
>>> with other operating systems due to the need, especially, to support
>>> Macro-32 and ensure that code written at this low-level, and which
>>> uses the various idioms as a result, continues to work.
>> I believe Macro-32 is a relative simple compiler. And when they got
>> that then they can compile the existing Macro-32 code.
>>
> Well, I just spit my wine out reading that.
>
> Simple? Try to deal with condition codes. Try to deal with routines
> that jump between each other. Try to make the stack "look like a VAX"
> on platforms that say otherwise. :)

OK. I was wrong. Happens all the time. :-)

>> I believe that VSI is mostly reusing existing Macro-32 code
>> and writing new code in C.
>>
> Actually there was a good chunk of Macro-32 that was rewritten into
> C. We redid much of the memory management code for example. It
> needed to change to deal with the more complex page table structures
> on x86, etc. Decided to rewrite into C.

If the old Macro-32 code did not work, then doing the new code
in C instead of writing new Macro-32 code makes sense.

>> It means that changing from 32 bit pointers to 64 bit pointers is
>> way easier in C than in Macro-32.
>>
>> But based on what we know about the port, then VSI has not changed
>> the VMS kernel from 32 bit pointers to 64 bit pointers (aka moving
>> everything from S0 and S1 to S2).
>
> Actually lots more stuff is now in S2 space and several internal pointers
> were lengthened from 32-bits to 64-bits.

Interesting.

I thought there were still room in S1.

Are you at liberty to disclose what has been moved to S2?

Arne

Re: Hard links on VMS ODS5 disks

<u9htk9$ekr$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 22 Jul 2023 20:52:25 -0400
Organization: HoffmanLabs LLC
Lines: 16
Message-ID: <u9htk9$ekr$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me> <249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="8693556b0f160b424175d20190d29966";
logging-data="15003"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rRLQsnlX03i8sG9jnz7DfR+A9b+82uZo="
User-Agent: Unison/2.2
Cancel-Lock: sha1:bIWT+2MYnJlFKZlGqcce5Sg0BM4=
 by: Stephen Hoffman - Sun, 23 Jul 2023 00:52 UTC

On 2023-07-22 20:57:03 +0000, John Reagan said:
>
> Simple? Try to deal with condition codes. Try to deal with routines
> that jump between each other. Try to make the stack "look like a VAX"
> on platforms that say otherwise. :)

Kinda wonder what radare2 would do with that stress test, err, with
that xMacro32 executable.

Semi-related is XTRAN, and which has been discussed before:
http://www.xtran-llc.com/vxmcee.html
http://www.xtran-llc.com/xtran.html#reengrg

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Hard links on VMS ODS5 disks

<6e1f801b-a75a-4683-b870-3232fdadd0d9n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:b25:b0:63c:f2b9:40f4 with SMTP id w5-20020a0562140b2500b0063cf2b940f4mr17565qvj.8.1690141314134;
Sun, 23 Jul 2023 12:41:54 -0700 (PDT)
X-Received: by 2002:a05:6808:19a0:b0:3a4:1f43:c109 with SMTP id
bj32-20020a05680819a000b003a41f43c109mr14669661oib.8.1690141313898; Sun, 23
Jul 2023 12:41:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 23 Jul 2023 12:41:53 -0700 (PDT)
In-Reply-To: <u9hobn$3vmfq$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6010:d203:ebee:d499:178a:548c:3e24;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2603:6010:d203:ebee:d499:178a:548c:3e24
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me>
<u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9hobn$3vmfq$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6e1f801b-a75a-4683-b870-3232fdadd0d9n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sun, 23 Jul 2023 19:41:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2512
 by: John Reagan - Sun, 23 Jul 2023 19:41 UTC

On Saturday, July 22, 2023 at 7:22:35 PM UTC-4, Arne Vajhøj wrote:

>
> I thought there were still room in S1.
>
> Are you at liberty to disclose what has been moved to S2?
>
> Arne

I think things like large buffers for NICs, page tables, etc. I'm not sure about
exactly what but I had to help with some S2 pool code that needs to do
atomic updates a 64-bit flink/blink pointer in some data structures.

Re: Hard links on VMS ODS5 disks

<e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:14e2:b0:635:f34b:c1a5 with SMTP id k2-20020a05621414e200b00635f34bc1a5mr36734qvw.3.1690141551871;
Sun, 23 Jul 2023 12:45:51 -0700 (PDT)
X-Received: by 2002:a05:6808:10d0:b0:3a4:1e93:8988 with SMTP id
s16-20020a05680810d000b003a41e938988mr15197156ois.10.1690141551447; Sun, 23
Jul 2023 12:45:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 23 Jul 2023 12:45:51 -0700 (PDT)
In-Reply-To: <u9htk9$ekr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6010:d203:ebee:d499:178a:548c:3e24;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2603:6010:d203:ebee:d499:178a:548c:3e24
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me>
<u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9htk9$ekr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sun, 23 Jul 2023 19:45:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3425
 by: John Reagan - Sun, 23 Jul 2023 19:45 UTC

On Saturday, July 22, 2023 at 8:52:28 PM UTC-4, Stephen Hoffman wrote:
> On 2023-07-22 20:57:03 +0000, John Reagan said:
> >
> > Simple? Try to deal with condition codes. Try to deal with routines
> > that jump between each other. Try to make the stack "look like a VAX"
> > on platforms that say otherwise. :)
> Kinda wonder what radare2 would do with that stress test, err, with
> that xMacro32 executable.
>
> Semi-related is XTRAN, and which has been discussed before:
> http://www.xtran-llc.com/vxmcee.html
> http://www.xtran-llc.com/xtran.html#reengrg
>
> --
> Pure Personal Opinion | HoffmanLabs LLC

The real ugly Macro-32 sources include LAD driver and the shadow driver.
When we did the Itanium compiler, I had the compilers print out some
internal counters into the .LIS file. We were dealing with routines that
enter in one places with one set of arguments and then jumped to another
routine and returned from another routine's epilogue. There are issues dealing
with NaTs and such. From what I can tell, EVERY .CALL_ENTRY and .JSB_ENTRY
in the shadow driver can exist from EVERY possible RET. Of course, in real life
I'm sure the data doesn't do that, but Macro had to worry about it. I'm not sure
I could prepare myself for the XTRAN version of the shadow driver.

Re: Hard links on VMS ODS5 disks

<u9k3s2$bh9g$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: FIRST.L...@vmssoftware.com (Robert A. Brooks)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 23 Jul 2023 16:51:14 -0400
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <u9k3s2$bh9g$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9htk9$ekr$1@dont-email.me>
<e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 23 Jul 2023 20:51:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a4d9400e5c66184fe8a15a1fa8e0818b";
logging-data="378160"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+A0kBdYq9YI5BeQzmPpwpHciiw3CSomUG1LLUB1Bsy3A=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:kjkiITOXDGGGZYcvEMTL/7SCKFo=
Content-Language: en-US
In-Reply-To: <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
X-Antivirus-Status: Clean
X-Antivirus: Avast (VPS 230723-8, 7/23/2023), Outbound message
 by: Robert A. Brooks - Sun, 23 Jul 2023 20:51 UTC

On 7/23/2023 3:45 PM, John Reagan wrote:
> From what I can tell, EVERY .CALL_ENTRY and .JSB_ENTRY
> in the shadow driver can exist from EVERY possible RET. Of course, in real life
> I'm sure the data doesn't do that, but Macro had to worry about it.

Because of the home-grown threading package that shadowing uses, yeah, there is
an insane amount of jumping all over the place.

--

--- Rob

Re: Hard links on VMS ODS5 disks

<memo.20230723230339.21172P@jgd.cix.co.uk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jgd...@cix.co.uk (John Dallman)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 23 Jul 2023 23:03 +0100 (BST)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <memo.20230723230339.21172P@jgd.cix.co.uk>
References: <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
Reply-To: jgd@cix.co.uk
Injection-Info: dont-email.me; posting-host="adf3d697af445e93aa8b5bd2913cdb92";
logging-data="395158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KN9qVs1lHxg1nruG9QesZ8+hKWFj69dE="
Cancel-Lock: sha1:ACQfpd3wTx7v1amq1s9khJI2Y7w=
 by: John Dallman - Sun, 23 Jul 2023 22:03 UTC

In article <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>,
xyzzy1959@gmail.com (John Reagan) wrote:

> The real ugly Macro-32 sources include LAD driver and the shadow
> driver.

I've been reading the Macro compiler manual. I have never done any VAX
assembler, but I've done a lot on other platforms, and reported a lot of
compiler bugs on IA-64, x86-64, and ARM64.

It looks to me as if cross-compiling Macro-32 isn't so hard if you just
want it to run, but making it run /fast/ on x86-64 was probably hard.
There aren't quite enough registers to map the VAX registers 1:1 and
putting them in memory makes for fun with calling conventions, caching
and so on.

John

Re: Hard links on VMS ODS5 disks

<u9kd8t$cja5$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 23 Jul 2023 19:31:41 -0400
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <u9kd8t$cja5$1@dont-email.me>
References: <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
<memo.20230723230339.21172P@jgd.cix.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 23 Jul 2023 23:31:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="72693a2c50920d8cca6ab9b35c04393e";
logging-data="412997"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/41L6hLzzqeWpWfSSPYqOD/7pw/Uy2nYY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:V4wIoVJQ5fHp5edVTg/rMA5QDAY=
In-Reply-To: <memo.20230723230339.21172P@jgd.cix.co.uk>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 23 Jul 2023 23:31 UTC

On 7/23/2023 6:03 PM, John Dallman wrote:
> In article <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>,
> xyzzy1959@gmail.com (John Reagan) wrote:
>
>> The real ugly Macro-32 sources include LAD driver and the shadow
>> driver.
>
> I've been reading the Macro compiler manual. I have never done any VAX
> assembler, but I've done a lot on other platforms, and reported a lot of
> compiler bugs on IA-64, x86-64, and ARM64.
>
> It looks to me as if cross-compiling Macro-32 isn't so hard if you just
> want it to run, but making it run /fast/ on x86-64 was probably hard.
> There aren't quite enough registers to map the VAX registers 1:1 and
> putting them in memory makes for fun with calling conventions, caching
> and so on.

The Macro-32 compiler supposedly does some optimization.

<quote>
$ help macro /opt

MACRO

/OPTIMIZE

/OPTIMIZE[=(option[,...])]
/NOOPTIMIZE

Enables or disables optimization options. All options are enabled
by default except VAXREGS.

The options are:

Option Description

[NO]PEEPHOLE Peephole optimization
[NO]SCHEDULE Code scheduling
[NO]ADDRESSES Common base address loading
[NO]REFERENCES Common data referencing
ALL All optimizations
</quote>

But difficult to check the difference between /OPT and /NOOPT,
because for some unknown reason /LIST/MACH does not list the
generated code.

Anyway I am not so sure that the optimization is critical. My thinking
is that a typical piece of Macro-32 probably goes back to the VAX 780
days, the code must have performed acceptable back then or it would
have been changed, the VUPS.COM's seems to return around 750 on x86-64
PC's, so even if the optimized Macro-32 run at only 20% of max speed,
then the code will be approx. 150 times faster than on a VAX 780, which
is probably more than fine.

Arne

Re: Hard links on VMS ODS5 disks

<e39de835-629c-4b67-bd40-e37bb43118a9n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:489:b0:767:3d3d:7cc4 with SMTP id 9-20020a05620a048900b007673d3d7cc4mr23480qkr.1.1690187901314;
Mon, 24 Jul 2023 01:38:21 -0700 (PDT)
X-Received: by 2002:a05:6870:a8ad:b0:1ba:5c28:76f1 with SMTP id
eb45-20020a056870a8ad00b001ba5c2876f1mr10743661oab.4.1690187901058; Mon, 24
Jul 2023 01:38:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 24 Jul 2023 01:38:20 -0700 (PDT)
In-Reply-To: <u9kd8t$cja5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:32c5:d600:a1ce:2776:e81e:ca64;
posting-account=U8VIbwoAAAD-oRYtqvRwM1yjdPKmKsbA
NNTP-Posting-Host: 2001:9e8:32c5:d600:a1ce:2776:e81e:ca64
References: <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
<memo.20230723230339.21172P@jgd.cix.co.uk> <u9kd8t$cja5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e39de835-629c-4b67-bd40-e37bb43118a9n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: h47...@gmail.com (hb@end.of.inter.net)
Injection-Date: Mon, 24 Jul 2023 08:38:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: hb@end.of.inter.net - Mon, 24 Jul 2023 08:38 UTC

On Monday, July 24, 2023 at 1:31:46 AM UTC+2, Arne Vajhøj wrote:
> But difficult to check the difference between /OPT and /NOOPT,
> because for some unknown reason /LIST/MACH does not list the
> generated code.

MACRO-32 on x86? You can always (except you compile with /NOOBJECT :-) get the machine code listing with ANALYZE/OBJECT/DISASSEMBLE.

Re: Hard links on VMS ODS5 disks

<8657132a-4adf-4216-8135-4a0af55bd9d8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:9007:b0:765:95a7:b034 with SMTP id rk7-20020a05620a900700b0076595a7b034mr25126qkn.6.1690190506342;
Mon, 24 Jul 2023 02:21:46 -0700 (PDT)
X-Received: by 2002:a05:6870:2c87:b0:1bb:5a01:cc68 with SMTP id
oh7-20020a0568702c8700b001bb5a01cc68mr5355520oab.5.1690190506063; Mon, 24 Jul
2023 02:21:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 24 Jul 2023 02:21:45 -0700 (PDT)
In-Reply-To: <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.3.116.64; posting-account=xnH4mQkAAADgGjKHSw0dMDzsXknFp5II
NNTP-Posting-Host: 92.3.116.64
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me>
<u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8657132a-4adf-4216-8135-4a0af55bd9d8n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: gxy...@uk2.net (Ian Miller)
Injection-Date: Mon, 24 Jul 2023 09:21:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4722
 by: Ian Miller - Mon, 24 Jul 2023 09:21 UTC

On Saturday, July 22, 2023 at 9:57:05 PM UTC+1, John Reagan wrote:
> On Saturday, July 22, 2023 at 10:26:27 AM UTC-4, Arne Vajhøj wrote:
> > On 7/20/2023 8:49 AM, Simon Clubley wrote:
> > > I get the impression that you have had to spend a lot of effort to
> > > duplicate low-level behaviour in a way that simply isn't a concern
> > > with other operating systems due to the need, especially, to support
> > > Macro-32 and ensure that code written at this low-level, and which
> > > uses the various idioms as a result, continues to work.
> > I believe Macro-32 is a relative simple compiler. And when they got
> > that then they can compile the existing Macro-32 code.
> >
> Well, I just spit my wine out reading that.
>
> Simple? Try to deal with condition codes. Try to deal with routines
> that jump between each other. Try to make the stack "look like a VAX"
> on platforms that say otherwise. :)
>
> There are three main parts of the Macro compiler.
> -The parser (written in Macro-32) is 99% target independent.
> - The flow analyzer (written in C) looks for all those condition codes,
> loops, etc. It has some knowledge about the calling standard (how
> many arguments in registers, etc.)
> - The code generator that maps internal Macro operators that feel
> like "instructions". Opcodes, mem-operands, reg-operands, etc.
> Each of those had to be recoded to pick the correct x86 instruction.
> For x86, we call the LLVM MC interface to emit x86 instructions.
> The way LLVM enumerates the x86 opcodes and registers is a
> little funky and needed some abstractions we didn't need on Alpha
> or Itanium.
>
>
> > I believe that VSI is mostly reusing existing Macro-32 code
> > and writing new code in C.
> >
> Actually there was a good chunk of Macro-32 that was rewritten into
> C. We redid much of the memory management code for example. It
> needed to change to deal with the more complex page table structures
> on x86, etc. Decided to rewrite into C.
>
>
> >
> > It means that changing from 32 bit pointers to 64 bit pointers is
> > way easier in C than in Macro-32.
> >
> > But based on what we know about the port, then VSI has not changed
> > the VMS kernel from 32 bit pointers to 64 bit pointers (aka moving
> > everything from S0 and S1 to S2).
> >
>
> Actually lots more stuff is now in S2 space and several internal pointers
> were lengthened from 32-bits to 64-bits.

I look forward to seeing a OpenVMS x86 internals document at some point particularly on memory management.

Re: Hard links on VMS ODS5 disks

<u9lr2c$lfjl$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 12:33:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <u9lr2c$lfjl$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me> <249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com> <u9hobn$3vmfq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Jul 2023 12:33:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="382c1ffd8de413bc6db93af29de21fd6";
logging-data="704117"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EnAQuEE7E+NaPu45EfuknpNpWUYe0eas="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:zq91gNnO9WPgzr+M7jd36k5P+tk=
 by: Simon Clubley - Mon, 24 Jul 2023 12:33 UTC

On 2023-07-22, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 7/22/2023 4:57 PM, John Reagan wrote:
>> On Saturday, July 22, 2023 at 10:26:27?AM UTC-4, Arne Vajhøj wrote:
>>> On 7/20/2023 8:49 AM, Simon Clubley wrote:
>>>> I get the impression that you have had to spend a lot of effort to
>>>> duplicate low-level behaviour in a way that simply isn't a concern
>>>> with other operating systems due to the need, especially, to support
>>>> Macro-32 and ensure that code written at this low-level, and which
>>>> uses the various idioms as a result, continues to work.
>>> I believe Macro-32 is a relative simple compiler. And when they got
>>> that then they can compile the existing Macro-32 code.
>>>
>> Well, I just spit my wine out reading that.
>>
>> Simple? Try to deal with condition codes. Try to deal with routines
>> that jump between each other. Try to make the stack "look like a VAX"
>> on platforms that say otherwise. :)
>
> OK. I was wrong. Happens all the time. :-)
>

And _this_ Arne, is exactly why I keep saying the kinds of things I do.

VSI are having to expend serious engineering effort on trying to
duplicate the behaviour of an assembly language (with all its built-in
idioms) on a completely different architecture.

This is simply a non-issue on operating systems where the lowest
supported language is C instead of assembly language. The stuff John
is having to deal with is just an implementation detail in the backend
code generator on Linux and elsewhere that is hidden from the source code.

In Macro-32 however, it's directly visible in the source code and you have
to go to great efforts to duplicate that behaviour on other architectures.

On Linux, and other operating systems written in C or above, that's an
issue you simply don't have to worry about.

Simon.

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

Re: Hard links on VMS ODS5 disks

<u9lrdd$lfjl$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 12:39:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <u9lrdd$lfjl$2@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me> <249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com> <u9htk9$ekr$1@dont-email.me> <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
Injection-Date: Mon, 24 Jul 2023 12:39:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="382c1ffd8de413bc6db93af29de21fd6";
logging-data="704117"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+f8rDdv3jMjDL2K8e38DxVbVDM8CRBz4c="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:nUmNdDHHCkJQTvWpNvmiB8DeWPE=
 by: Simon Clubley - Mon, 24 Jul 2023 12:39 UTC

On 2023-07-23, John Reagan <xyzzy1959@gmail.com> wrote:
> On Saturday, July 22, 2023 at 8:52:28?PM UTC-4, Stephen Hoffman wrote:
>> On 2023-07-22 20:57:03 +0000, John Reagan said:
>> >
>> > Simple? Try to deal with condition codes. Try to deal with routines
>> > that jump between each other. Try to make the stack "look like a VAX"
>> > on platforms that say otherwise. :)
>> Kinda wonder what radare2 would do with that stress test, err, with
>> that xMacro32 executable.
>>
>> Semi-related is XTRAN, and which has been discussed before:
>> http://www.xtran-llc.com/vxmcee.html

Bloody hell Stephen, that auto-translated C code is even more ugly than
the Macro-32 version!!! :-)

>> http://www.xtran-llc.com/xtran.html#reengrg
>
> The real ugly Macro-32 sources include LAD driver and the shadow driver.
> When we did the Itanium compiler, I had the compilers print out some
> internal counters into the .LIS file. We were dealing with routines that
> enter in one places with one set of arguments and then jumped to another
> routine and returned from another routine's epilogue. There are issues dealing
> with NaTs and such. From what I can tell, EVERY .CALL_ENTRY and .JSB_ENTRY
> in the shadow driver can exist from EVERY possible RET. Of course, in real life
> I'm sure the data doesn't do that, but Macro had to worry about it. I'm not sure
> I could prepare myself for the XTRAN version of the shadow driver.

Errr, YUCK!!! :-)

You could always rewrite the shadow driver in C... :-)

Simon.

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

Re: Hard links on VMS ODS5 disks

<u9lrgk$lfjl$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 12:40:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <u9lrgk$lfjl$3@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me> <249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com> <8657132a-4adf-4216-8135-4a0af55bd9d8n@googlegroups.com>
Injection-Date: Mon, 24 Jul 2023 12:40:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="382c1ffd8de413bc6db93af29de21fd6";
logging-data="704117"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cnEJMcq0dzAR5Kj7ByDsXUyHJgzXK5Mg="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:+pfJyJyDz3jYNqrj3Ak/eQCQIgA=
 by: Simon Clubley - Mon, 24 Jul 2023 12:40 UTC

On 2023-07-24, Ian Miller <gxys@uk2.net> wrote:
>
> I look forward to seeing a OpenVMS x86 internals document at some point particularly on memory management.

I don't think that is going to happen. I've asked about a version of
the I&DS for x86-64 and was told there isn't the market for it.

Simon.

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

Re: Hard links on VMS ODS5 disks

<u9lrtq$lfjl$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 12:47:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <u9lrtq$lfjl$4@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me> <u99qju$2bql7$1@dont-email.me> <u9b8qn$2muhe$1@dont-email.me> <6321d333-2f49-484c-8fe2-ce27f348710an@googlegroups.com> <u9dt8q$385j1$2@dont-email.me> <u9gq84$3rjqb$2@dont-email.me> <72454b83703351a7c44d2438653913561674d3eb.camel@munted.eu> <u9grmj$3rpj1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Jul 2023 12:47:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="382c1ffd8de413bc6db93af29de21fd6";
logging-data="704117"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yjZb8xZLQidl7LwpChHU2exvNHvy2w9g="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:UKcoAWFikifE/11ew/0uel3Q36s=
 by: Simon Clubley - Mon, 24 Jul 2023 12:47 UTC

On 2023-07-22, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 7/22/2023 11:06 AM, Single Stage to Orbit wrote:
>> On Sat, 2023-07-22 at 10:48 -0400, Arne Vajhøj wrote:
>>> If DEC had been able to see into the future then they
>>> may have gone with C.
>>
>> IF they had, VMS would have had a shitload of exploits against it.
>> Thankfully they didn't and avoided a lot of issues that plagues most
>> operating systems written in C.
>
> Maybe.
>
> C is very unsafe compared to almost all other high level
> languages.
>

Yes, very much so. I believe I have expressed alternative preferences
in the past. :-)

> But I don't think it is more unsafe than Macro-32.
>
>:-)

:-)

Even with C, the compiler can find problems in your code that simply
are not possible in assembly language. (A pointer which references
the wrong structure type, unused variables, dodgy type conversions, etc).

>
> Anyway: Windows and Linux has not failed commercially
> due to the buffer overflows.
>
>:-)
>

And Linux has security enhancements such as SELinux, ASLR, etc that
simply do not have any comparable functionality in the VMS world.

Simon.

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

Re: Hard links on VMS ODS5 disks

<u9lu7o$ltuv$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 09:27:13 -0400
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <u9lu7o$ltuv$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9hobn$3vmfq$1@dont-email.me> <u9lr2c$lfjl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Jul 2023 13:27:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a99a2cdb1d4d368ffdd1834e721e5af7";
logging-data="718815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VFRZoE+QL8yHP132k7lS9MvSOGiZH90M="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:mk7x17cwYSWmaa5HnJ8rgiBh9co=
In-Reply-To: <u9lr2c$lfjl$1@dont-email.me>
 by: Dave Froble - Mon, 24 Jul 2023 13:27 UTC

On 7/24/2023 8:33 AM, Simon Clubley wrote:
> On 2023-07-22, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 7/22/2023 4:57 PM, John Reagan wrote:
>>> On Saturday, July 22, 2023 at 10:26:27?AM UTC-4, Arne Vajhøj wrote:
>>>> On 7/20/2023 8:49 AM, Simon Clubley wrote:
>>>>> I get the impression that you have had to spend a lot of effort to
>>>>> duplicate low-level behaviour in a way that simply isn't a concern
>>>>> with other operating systems due to the need, especially, to support
>>>>> Macro-32 and ensure that code written at this low-level, and which
>>>>> uses the various idioms as a result, continues to work.
>>>> I believe Macro-32 is a relative simple compiler. And when they got
>>>> that then they can compile the existing Macro-32 code.
>>>>
>>> Well, I just spit my wine out reading that.
>>>
>>> Simple? Try to deal with condition codes. Try to deal with routines
>>> that jump between each other. Try to make the stack "look like a VAX"
>>> on platforms that say otherwise. :)
>>
>> OK. I was wrong. Happens all the time. :-)
>>
>
> And _this_ Arne, is exactly why I keep saying the kinds of things I do.
>
> VSI are having to expend serious engineering effort on trying to
> duplicate the behaviour of an assembly language (with all its built-in
> idioms) on a completely different architecture.
>
> This is simply a non-issue on operating systems where the lowest
> supported language is C instead of assembly language. The stuff John
> is having to deal with is just an implementation detail in the backend
> code generator on Linux and elsewhere that is hidden from the source code.
>
> In Macro-32 however, it's directly visible in the source code and you have
> to go to great efforts to duplicate that behaviour on other architectures.
>
> On Linux, and other operating systems written in C or above, that's an
> issue you simply don't have to worry about.
>
> Simon.
>

Ok, how about this perspective?

If x86 VMS does not support existing VMS applications, then what's the point of
x86 VMS? So, yeah, some tough work, but, it supports the customers.

Easy for Simon to tell users to re-write their applications. It's not his time
and money.

--
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: Hard links on VMS ODS5 disks

<u9luar$ltuv$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 09:28:53 -0400
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <u9luar$ltuv$2@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9htk9$ekr$1@dont-email.me>
<e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
<u9lrdd$lfjl$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 Jul 2023 13:28:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a99a2cdb1d4d368ffdd1834e721e5af7";
logging-data="718815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GOEeWQLJVRJ4oagR0gYj2UtnZJICiYNg="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:JCR5dyEogZEL12asfB3ECrAZLZo=
In-Reply-To: <u9lrdd$lfjl$2@dont-email.me>
 by: Dave Froble - Mon, 24 Jul 2023 13:28 UTC

On 7/24/2023 8:39 AM, Simon Clubley wrote:
> On 2023-07-23, John Reagan <xyzzy1959@gmail.com> wrote:
>> On Saturday, July 22, 2023 at 8:52:28?PM UTC-4, Stephen Hoffman wrote:
>>> On 2023-07-22 20:57:03 +0000, John Reagan said:
>>>>
>>>> Simple? Try to deal with condition codes. Try to deal with routines
>>>> that jump between each other. Try to make the stack "look like a VAX"
>>>> on platforms that say otherwise. :)
>>> Kinda wonder what radare2 would do with that stress test, err, with
>>> that xMacro32 executable.
>>>
>>> Semi-related is XTRAN, and which has been discussed before:
>>> http://www.xtran-llc.com/vxmcee.html
>
> Bloody hell Stephen, that auto-translated C code is even more ugly than
> the Macro-32 version!!! :-)
>
>>> http://www.xtran-llc.com/xtran.html#reengrg
>>
>> The real ugly Macro-32 sources include LAD driver and the shadow driver.
>> When we did the Itanium compiler, I had the compilers print out some
>> internal counters into the .LIS file. We were dealing with routines that
>> enter in one places with one set of arguments and then jumped to another
>> routine and returned from another routine's epilogue. There are issues dealing
>> with NaTs and such. From what I can tell, EVERY .CALL_ENTRY and .JSB_ENTRY
>> in the shadow driver can exist from EVERY possible RET. Of course, in real life
>> I'm sure the data doesn't do that, but Macro had to worry about it. I'm not sure
>> I could prepare myself for the XTRAN version of the shadow driver.
>
> Errr, YUCK!!! :-)
>
> You could always rewrite the shadow driver in C... :-)
>
> Simon.
>

Simon is consistent. Offering other people's time and money.

--
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: Hard links on VMS ODS5 disks

<u9mbe9$o2o1$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 17:12:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <u9mbe9$o2o1$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me> <249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com> <u9hobn$3vmfq$1@dont-email.me> <u9lr2c$lfjl$1@dont-email.me> <u9lu7o$ltuv$1@dont-email.me>
Injection-Date: Mon, 24 Jul 2023 17:12:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="382c1ffd8de413bc6db93af29de21fd6";
logging-data="789249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QoTXoO2CEBL1kHo5/Cb6yOTKsb2zIze0="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:KeAffAf1D3Zf7BACcwGtb2OGtko=
 by: Simon Clubley - Mon, 24 Jul 2023 17:12 UTC

On 2023-07-24, Dave Froble <davef@tsoft-inc.com> wrote:
> On 7/24/2023 8:33 AM, Simon Clubley wrote:
>>
>> VSI are having to expend serious engineering effort on trying to
>> duplicate the behaviour of an assembly language (with all its built-in
>> idioms) on a completely different architecture.
>>
>> This is simply a non-issue on operating systems where the lowest
>> supported language is C instead of assembly language. The stuff John
>> is having to deal with is just an implementation detail in the backend
>> code generator on Linux and elsewhere that is hidden from the source code.
>>
>> In Macro-32 however, it's directly visible in the source code and you have
>> to go to great efforts to duplicate that behaviour on other architectures.
>>
>> On Linux, and other operating systems written in C or above, that's an
>> issue you simply don't have to worry about.
>>
>
> Ok, how about this perspective?
>
> If x86 VMS does not support existing VMS applications, then what's the point of
> x86 VMS? So, yeah, some tough work, but, it supports the customers.
>
> Easy for Simon to tell users to re-write their applications. It's not his time
> and money.
>

We are not talking about people rewriting their applications.

We are talking about structural and design issues within VMS that is
making this porting process a lot more involved than it should be.

Simon.

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

Re: Hard links on VMS ODS5 disks

<u9mt9v$q9k0$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 18:17:29 -0400
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <u9mt9v$q9k0$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9hobn$3vmfq$1@dont-email.me> <u9lr2c$lfjl$1@dont-email.me>
<u9lu7o$ltuv$1@dont-email.me> <u9mbe9$o2o1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 Jul 2023 22:17:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ef213195d579d0f191b97c18ae734a99";
logging-data="861824"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ezd6lnynTywwdF/OVdRTrJbsVr+JhsWA="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:SPJqp1xKJ/sfXFhw2jYxZ5sWi70=
In-Reply-To: <u9mbe9$o2o1$1@dont-email.me>
 by: Dave Froble - Mon, 24 Jul 2023 22:17 UTC

On 7/24/2023 1:12 PM, Simon Clubley wrote:
> On 2023-07-24, Dave Froble <davef@tsoft-inc.com> wrote:
>> On 7/24/2023 8:33 AM, Simon Clubley wrote:
>>>
>>> VSI are having to expend serious engineering effort on trying to
>>> duplicate the behaviour of an assembly language (with all its built-in
>>> idioms) on a completely different architecture.
>>>
>>> This is simply a non-issue on operating systems where the lowest
>>> supported language is C instead of assembly language. The stuff John
>>> is having to deal with is just an implementation detail in the backend
>>> code generator on Linux and elsewhere that is hidden from the source code.
>>>
>>> In Macro-32 however, it's directly visible in the source code and you have
>>> to go to great efforts to duplicate that behaviour on other architectures.
>>>
>>> On Linux, and other operating systems written in C or above, that's an
>>> issue you simply don't have to worry about.
>>>
>>
>> Ok, how about this perspective?
>>
>> If x86 VMS does not support existing VMS applications, then what's the point of
>> x86 VMS? So, yeah, some tough work, but, it supports the customers.
>>
>> Easy for Simon to tell users to re-write their applications. It's not his time
>> and money.
>>
>
> We are not talking about people rewriting their applications.
>
> We are talking about structural and design issues within VMS that is
> making this porting process a lot more involved than it should be.
>
> Simon.
>

You have been down on Macro-32, but, there are customers that will be very happy
there is a Macro-32 compiler on x86 VMS. It's not just for the OS.

--
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: Hard links on VMS ODS5 disks

<4bb47ebc-277c-4cd6-a2df-ae5f38c4523en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1486:b0:403:b707:400f with SMTP id t6-20020a05622a148600b00403b707400fmr2908qtx.7.1690237301149;
Mon, 24 Jul 2023 15:21:41 -0700 (PDT)
X-Received: by 2002:a05:6830:1e42:b0:6b9:a422:9f with SMTP id
e2-20020a0568301e4200b006b9a422009fmr9380348otj.1.1690237300926; Mon, 24 Jul
2023 15:21:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 24 Jul 2023 15:21:40 -0700 (PDT)
In-Reply-To: <u9mbe9$o2o1$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=100.8.228.76; posting-account=2vnRtAoAAAAE0ap3uRDMDu6cngT6BrOO
NNTP-Posting-Host: 100.8.228.76
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com> <u9bag8$2n8ej$1@dont-email.me>
<u9gouf$3rdld$1@dont-email.me> <85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9hobn$3vmfq$1@dont-email.me> <u9lr2c$lfjl$1@dont-email.me>
<u9lu7o$ltuv$1@dont-email.me> <u9mbe9$o2o1$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4bb47ebc-277c-4cd6-a2df-ae5f38c4523en@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: terry-gr...@glaver.org (terry-...@glaver.org)
Injection-Date: Mon, 24 Jul 2023 22:21:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3416
 by: terry-...@glaver.org - Mon, 24 Jul 2023 22:21 UTC

On Monday, July 24, 2023 at 1:12:45 PM UTC-4, Simon Clubley wrote:
> We are talking about structural and design issues within VMS that is
> making this porting process a lot more involved than it should be.

They need to be emulated or mapped to new platform functions
unless you want to just call the operating system VMS but have it
be substantially different "under the hood" . That may work for some
things where both sides of an interface are internal to the operating
system, but (for example) not having supervisor mode is going to
have repercussions for some user code as well as require a re-
working of DCL.

The "low-hanging fruit" has already been dealt with in the VAX ->
Alpha -> Itanic progression.

For things that have been replaced with C code, performance tuning
may be needed once things are complete and deemed functionally
correct. This can take the form of in-line x86 assembly code or the
replacement of an entire C source file with an optimized assembly
version.

I have a Very Large Program that I have been dragging around with
me, starting on 4.2BSD/VAX and currently on FreeBSD/x86-64. It
does a more-than-reasonable amount of rummaging around inside
supposedly-internal operating system structures. So I have some
idea of the issues involved.

Re: Hard links on VMS ODS5 disks

<u9n5km$r1po$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 20:39:50 -0400
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <u9n5km$r1po$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9hobn$3vmfq$1@dont-email.me> <u9lr2c$lfjl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jul 2023 00:39:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3c5fd67dccc88e842ebfc8c2d7139f8c";
logging-data="886584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196RRkMDMjZqQDevY90In8jBdXYC/+IkVU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:73ad2BjV3nbqVotsGhGDs5NOP/c=
In-Reply-To: <u9lr2c$lfjl$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Tue, 25 Jul 2023 00:39 UTC

On 7/24/2023 8:33 AM, Simon Clubley wrote:
> On 2023-07-22, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 7/22/2023 4:57 PM, John Reagan wrote:
>>> On Saturday, July 22, 2023 at 10:26:27?AM UTC-4, Arne Vajhøj wrote:
>>>> On 7/20/2023 8:49 AM, Simon Clubley wrote:
>>>>> I get the impression that you have had to spend a lot of effort to
>>>>> duplicate low-level behaviour in a way that simply isn't a concern
>>>>> with other operating systems due to the need, especially, to support
>>>>> Macro-32 and ensure that code written at this low-level, and which
>>>>> uses the various idioms as a result, continues to work.
>>>> I believe Macro-32 is a relative simple compiler. And when they got
>>>> that then they can compile the existing Macro-32 code.
>>>>
>>> Well, I just spit my wine out reading that.
>>>
>>> Simple? Try to deal with condition codes. Try to deal with routines
>>> that jump between each other. Try to make the stack "look like a VAX"
>>> on platforms that say otherwise. :)

> VSI are having to expend serious engineering effort on trying to
> duplicate the behaviour of an assembly language (with all its built-in
> idioms) on a completely different architecture.
>
> This is simply a non-issue on operating systems where the lowest
> supported language is C instead of assembly language. The stuff John
> is having to deal with is just an implementation detail in the backend
> code generator on Linux and elsewhere that is hidden from the source code.
>
> In Macro-32 however, it's directly visible in the source code and you have
> to go to great efforts to duplicate that behaviour on other architectures.
>
> On Linux, and other operating systems written in C or above, that's an
> issue you simply don't have to worry about.

We were discussing what was causing the relative long time to
get VMS x86-64 out the door.

You suggested that it was due to Macro-32.

VSI said that was not the case. They should know.

And it seems very unlikely that Macro-32 should be the
reason:
- even when it is one sneaky compiler then it it is just one
compiler out of many
- the compiler had to be done anyway due to customers
also using Macro-32 and they expect something working
- the porting strategy seems to be that new functionality
and functionality that has to rewritten is done in C while
Macro-32 code is getting compiled with the new compiler

Arne

Re: Hard links on VMS ODS5 disks

<u9n69c$r61o$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 24 Jul 2023 20:50:51 -0400
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <u9n69c$r61o$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
<u93fnb$18k5h$1@dont-email.me> <u93pj7$19nf9$1@dont-email.me>
<u9603c$1ksbo$2@dont-email.me> <u96h7a$1njuu$1@dont-email.me>
<u97b3k$1rcjv$2@dont-email.me> <u97bqa$1rijn$1@dont-email.me>
<u97e44$1rrrd$1@dont-email.me> <u97g67$1trng$1@dont-email.me>
<u991h8$27eqp$1@dont-email.me> <u996n4$28d68$1@dont-email.me>
<249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com>
<u9hobn$3vmfq$1@dont-email.me> <u9lr2c$lfjl$1@dont-email.me>
<u9lu7o$ltuv$1@dont-email.me> <u9mbe9$o2o1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 25 Jul 2023 00:50:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3c5fd67dccc88e842ebfc8c2d7139f8c";
logging-data="890936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dpuD36NyRMlWJ0VfvZHVvvYux18BA8aU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:6oLHlJDuaizHacJNCSRHHSgRmtg=
Content-Language: en-US
In-Reply-To: <u9mbe9$o2o1$1@dont-email.me>
 by: Arne Vajhøj - Tue, 25 Jul 2023 00:50 UTC

On 7/24/2023 1:12 PM, Simon Clubley wrote:
> We are talking about structural and design issues within VMS that is
> making this porting process a lot more involved than it should be.

There are two very different questions:

#1: Did DEC's decisions in 1977 make sense given 1977 knowledge?

#2: Did DEC's decisions in 1977 make sense given 2023 knowledge?

I believe the answer to #1 is YES. Their decisions was similar to how
most OS was designed at the time.

The answer to #2 is probably NO, because they should have gone
with a HLL, they should have prepared for future migrations to other
ISA, they should have prepared for 64 bit, they should have
focused more on security etc.etc..

But trying to evaluate decisions of the past using todays
knowledge is a totally futile exercise.

If you plan on inventing a time machine and travel back in
time to tell them to do things differently, then maybe. But
otherwise then accept that decisions was made based on
available information at the time for the decisions. And
complaining about such decisions does not change a thing.

There is a term for it "Monday morning quarterback".

Arne

Re: Hard links on VMS ODS5 disks

<b93b6c6f-b253-4009-afce-695d192ecb53n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:199c:b0:403:e8a7:bd9b with SMTP id u28-20020a05622a199c00b00403e8a7bd9bmr5638qtc.11.1690260382367;
Mon, 24 Jul 2023 21:46:22 -0700 (PDT)
X-Received: by 2002:a05:6214:1630:b0:63c:fc34:5bc0 with SMTP id
e16-20020a056214163000b0063cfc345bc0mr5530qvw.3.1690260382237; Mon, 24 Jul
2023 21:46:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 24 Jul 2023 21:46:22 -0700 (PDT)
In-Reply-To: <u9n69c$r61o$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:4aa:209a:c48d:c820;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:4aa:209a:c48d:c820
References: <u8ma5c$38rt0$2@dont-email.me> <45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com> <khacacF6ktaU1@mid.individual.net>
<u8rgjd$11j4$1@dont-email.me> <u8ub39$37s$1@news.misty.com>
<u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me>
<u93640$ijt$1@news.misty.com> <u93fnb$18k5h$1@dont-email.me>
<u93pj7$19nf9$1@dont-email.me> <u9603c$1ksbo$2@dont-email.me>
<u96h7a$1njuu$1@dont-email.me> <u97b3k$1rcjv$2@dont-email.me>
<u97bqa$1rijn$1@dont-email.me> <u97e44$1rrrd$1@dont-email.me>
<u97g67$1trng$1@dont-email.me> <u991h8$27eqp$1@dont-email.me>
<u996n4$28d68$1@dont-email.me> <249cdc0c-9840-4b6b-8d95-cd65d2b6fe85n@googlegroups.com>
<u9bag8$2n8ej$1@dont-email.me> <u9gouf$3rdld$1@dont-email.me>
<85d65be2-701b-40d1-943b-3ebde4fcc0c8n@googlegroups.com> <u9hobn$3vmfq$1@dont-email.me>
<u9lr2c$lfjl$1@dont-email.me> <u9lu7o$ltuv$1@dont-email.me>
<u9mbe9$o2o1$1@dont-email.me> <u9n69c$r61o$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b93b6c6f-b253-4009-afce-695d192ecb53n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: gah...@u.washington.edu (gah4)
Injection-Date: Tue, 25 Jul 2023 04:46:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3244
 by: gah4 - Tue, 25 Jul 2023 04:46 UTC

On Monday, July 24, 2023 at 5:50:56 PM UTC-7, Arne Vajhøj wrote:

(snip)
> But trying to evaluate decisions of the past using todays
> knowledge is a totally futile exercise.
> If you plan on inventing a time machine and travel back in
> time to tell them to do things differently, then maybe. But
> otherwise then accept that decisions was made based on
> available information at the time for the decisions. And
> complaining about such decisions does not change a thing.

Not that I don't like VAX, but they pretty much did everything wrong.

The 512 byte page size was likely already too small, but definitely
too small a few years later.

A CISC instruction set designed to make it easy for assembly
programmers, just at the time that systems programming was
moving to high level languages.

And an instruction set not at all well designed for pipelined
processing.

Consider how hard it is to figure out how long an instruction is!

It would have been, maybe just a little bit, better to put all the
address mode bytes immediately after the opcode.

Re: Hard links on VMS ODS5 disks

<u9pqnk$18nlg$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Tue, 25 Jul 2023 20:52:04 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u9pqnk$18nlg$1@dont-email.me>
References: <e9738d50-3a9d-489e-b59b-c472eadaf618n@googlegroups.com>
<memo.20230723230339.21172P@jgd.cix.co.uk> <u9kd8t$cja5$1@dont-email.me>
<e39de835-629c-4b67-bd40-e37bb43118a9n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 26 Jul 2023 00:52:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b326821858bb49150500ad5fdadce208";
logging-data="1334960"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zbANa0wHxJJBC6zLlfooOtcnTdOODT8c="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:pPMQ0GFh9YUUMzlY+pkaX6vUNps=
In-Reply-To: <e39de835-629c-4b67-bd40-e37bb43118a9n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Wed, 26 Jul 2023 00:52 UTC

On 7/24/2023 4:38 AM, hb@end.of.inter.net wrote:
> On Monday, July 24, 2023 at 1:31:46 AM UTC+2, Arne Vajhøj wrote:
>> But difficult to check the difference between /OPT and /NOOPT,
>> because for some unknown reason /LIST/MACH does not list the
>> generated code.
>
> MACRO-32 on x86?

Yes.

> You can always (except you compile with /NOOBJECT :-) get the machine code listing with ANALYZE/OBJECT/DISASSEMBLE.

I did not know that.

But also weird.

I do not see a difference between /OPT and /NOOPT at all.

Arne


computers / comp.os.vms / Re: Hard links on VMS ODS5 disks

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor