OSHeap_Resize Should Have R3 as Output.

Jonathan Coxhead jonathan at doves.demon.co.uk
Wed Nov 7 18:18:43 GMT 2001


On 7 Nov 2001, at 12:04, Tony van der Hoff wrote:

> On 6 Nov 2001, in message <3BE7D890.18136.5BFCA0 at localhost>,
> "Jonathan Coxhead" <jonathan at doves.demon.co.uk> wrote:
> 
> >    For OS_ReadVarVal we just wrote a veneer by hand, called
> > riscos_var_len(),  and put it in the support directory. I think a similar way
> > forward would be  best here: functions riscos_resize_heap(),
> > riscos_change_dynamic_area() in  Support, with comments in the real veneer
> > telling you about the "gotcha"  involved and pointing you at the new function.
> > 
> Ah, no, that's what you did a long time ago; but since then (I'm sure it was
> your suggestion) I wrote a new veneer (OSReadVarValSize), in assembler, which
> gets patched in to the library, replacing the DefMod-generated veneer. It's in
> core.oslib.asm, and has been in use since ooh, 5.51, or so, although the
> 'maintainer wars' rather obscured its introduction ;-).

   Well, that's much better, of course.

> It would be quite straightforward to do this for the other two SWIs.

   Fab!

        /|
 o o o (_|/
        /|
       (_/



More information about the oslib-user mailing list