[Info-vax] BASIC and AST routines

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Mon Nov 22 16:46:31 EST 2021


In article <sngp1p$aud$2 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2021-11-19, Dave Froble <davef at tsoft-inc.com> wrote:
>>
>> I'm going to confess to curiosity.  Why are R0, R1, SP, and PC passed to an AST 
>> routine?
>>
>
>Because it's another example of VMS functionality being implemented
>at way too low an abstraction level because of the need to support
>Macro-32 as an application programming language.

BULLSHIT!  If you believe that's true, please provide an illustrating example.
I'll be waiting...



>In a modern version of VMS, that would be hidden from the application
>programmer as an implementation detail and the most you would have to
>do would be to tag the AST routine with a pragma or some type of __ast__
>attribute that the compiler understood and then automatically generated
>the right code for you.

Most will NEVER need to access those parameter and attempts to change them will
do nothing.  ASTPRM is first and that's all you may need.  Consider the others
gratuitous FYI.

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

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list