Re: [ql-users] Pointer read

2001-02-27 Thread Dave Westbury

 ...But QPTR is only a BASIC toolkit to access the IOP  WM calls. This only
would have made QPTR able to use events under SMSQ v2.71+

No, QPTR is just the basic interface to the PE, so it can't do more than the PE
itself...

Sorry if I'm being pedantic, but I said QPTR (the file) is the BASIC toolkit:
I assume that the update to it was simply to change the RPTR BASIC Proc to now
include (rather than ignore) the event bits (ie, as a terminating parameter to,
and a return parameter from, the BASIC parameter list). The underlying PTR_GEN
trap IOP.RPTR would need to support the previously unused term bits (which must
have been ignored by Qptr until the update - as is/are bits 23 to 8 which are
used by WMAN only (see QPTR manual Update page 2))).

Regards,
Dave.





RE: [ql-users] Pointer read

2001-02-27 Thread Dent Jonathan



-Original Message-
From: Wolfgang Lenerz [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2001 08:25
To: [EMAIL PROTECTED]
Subject: Re: [ql-users] Pointer read


On 24 Feb 2001, at 12:23, Dave Westbury wrote:


 Chicken and egg situation: If latest QDOS PTR_GEN (v1.71?) did return
IOP.RPTR
 for an Event (bits 24-31 set in event vector), how would you send one?
You need
 SMS.SEVT which is only in SMSQ 2.71+ (the only way to prevent ERR.NC
return?).
 
 I think you might mean latest QPTR was updated to deal with events. But
QPTR is
 only a BASIC toolkit to access the IOP  WM calls. This only would have
made
 QPTR able to use events under SMSQ v2.71+


No, QPTR is just the basic interface to the PE, so it can't do more than
the PE
 itself... Actually I thought the PE / OS had been upgraded, but you're
right,
I just checked the documentation and  events don't work on QDOS, 
you need SMSQ for that.

To get around that, FiFi uises a timeout on machines that don't 
support events.

Wolfgang

Maybe this is where Richard Zidlicky's signal handling extension 

http://www.itimpi.freeserve.co.uk/qdosdown.htm#SIGEXT 

would come in. IIRC it's not just for C programs.

Jon.



Re: [ql-users] Pointer read

2001-02-26 Thread Wolfgang Lenerz

On 24 Feb 2001, at 12:23, Dave Westbury wrote:


 Chicken and egg situation: If latest QDOS PTR_GEN (v1.71?) did return IOP.RPTR
 for an Event (bits 24-31 set in event vector), how would you send one? You need
 SMS.SEVT which is only in SMSQ 2.71+ (the only way to prevent ERR.NC return?).
 
 I think you might mean latest QPTR was updated to deal with events. But QPTR is
 only a BASIC toolkit to access the IOP  WM calls. This only would have made
 QPTR able to use events under SMSQ v2.71+


No, QPTR is just the basic interface to the PE, so it can't do more than the PE
 itself... Actually I thought the PE / OS had been upgraded, but you're right,
I just checked the documentation and  events don't work on QDOS, 
you need SMSQ for that.

To get around that, FiFi uises a timeout on machines that don't 
support events.

Wolfgang