OSHeap_Resize Should Have R3 as Output.

Tony van der Hoff tony at mk-net.demon.co.uk
Tue Nov 6 15:06:04 GMT 2001


On 6 Nov 2001, in message <1b9131d54a.kbracey at kbracey.cam.pace.co.uk>,
Kevin Bracey <kevin.bracey at pace.co.uk> wrote:

> In message <0e712dd54a.Tony at mk-net.demon.co.uk>
>           Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
> 
> > We had to patch round this for OS_ReadVarVal, and I guess we could do
> > something similar here, if there was demand for it. It would be possible to
> > define new veneers, say OSHeap_ResizeReturnAmount, and
> > OS_ChangeDynamicAreaReturnAmount, which could interpret any error return,
> > and if appropriate, then return R3 with V clear, and R0 preserved, as if no
> > error occurred.
> > 
> > Is this worth doing?
> 
> I would wholeheartedly say yes. Ideally with a standard suffix for the
> "returning registers even after an error" form. Just for the SWIs that need
> it though.
> 
I certainly wouldn't expect to do it for any others ;-)

Are these the only two?

-- 
Tony van der Hoff         | MailTo:tony at mk-net.demon.co.uk
                          | MailTo:avanderhoff at iee.org
Buckinghamshire, England  | http:www.mk-net.demon.co.uk



More information about the oslib-user mailing list