[Info-vax] BASIC and AST routines

Dave Froble davef at tsoft-inc.com
Fri Nov 26 17:01:03 EST 2021


On 11/26/2021 12:19 PM, Johnny Billquist wrote:
> On 2021-11-25 06:42, Dave Froble wrote:
>> On 11/24/2021 5:34 PM, Bob Gezelter wrote:
>>> On more than a few occasions, particularly when using ASTs with QIO on the
>>> RSX-11 family using 16-bit integers, where ASTPARM was not available, the
>>> straightforward solution was to use a data structured headlined by the IO
>>> Status Block.
>>
>> That is a neat idea.  Of course, I'd not like the concept of messing with the
>> IOSB, but, when all else fails, it is a solution.
>
> ??? You're not messing with the IOSB. It's just that your I/O have some context
> and information, and you keep that in a structure that also contains the IOSB.
> And when the AST comes, you get the pointer to the IOSB, and hence also the
> pointer to your data structure with all the rest of the context for your I/O.
>
>   Johnny

The IOSB is a structure that you set up, and pass a pointer to the structure. 
Yeah, as you mention.

1) neat idea to use the structure

2) offends my sense of how things should be to use the structure for other than 
intended

All I was trying to say.  I try to avoid such "smart ideas", since they can be 
obscure.  But I'd use if if that was the only solution, with lots of comments.

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



More information about the Info-vax mailing list