Dave Westbury wrote: 
> Thanks. BTW I have one small query about SMS.RESRI error return.

QA.RESRI.

> QDOS does not return any error (according to docs), but SMSQ can
> return ERR_OM. The problem is; if there is enough space already on
> RI stack then SMSQ code doesn't return d0=0. Can I guarantee that if
> I zero d0 on entry to SMS.RESRI it will only get set to err_om if it
> occurs?

Well, D0 doesn't necessarily stick to your zero because it's value is
more or less undefined, but I'm quite positive it can never be
ERR_IMEM by accident. If it's negative on return, there really was an
error. If everything was ok D0 should either be untouched or between 0
and some sensible positive value (in fact the amount of basic memory
moved around).

> I haven't tried QDOS/Minerva on this yet, I hope they do the
> same.

This I don't know.

Marcel


Reply via email to