Font_ApplyFields
Ralph Corderoy
ralph at inputplus.demon.co.uk
Tue Oct 30 15:19:31 GMT 2001
Hi,
Sorry to but in, it isn't what I'm here for, but...
> > In all versions of FontManager up to and including 3.36,
> > Font_ApplyFields corrupted R5-R7. The OSLib veneers don't know
> > this, so font_apply_fields ends up not being APCS compliant.
>
> The only way I can see of fixing this is produce a hand-crafted
> veneer which saves and restores these registers around the SWI call,
> and pathch it in to the library a similar fashion to
> OSReadVarValSize. Is there a better way?
Given this is the second time it's has been needed why not extend the
grammar to allow `exceptions' to the normal interface to be defined.
Even if it is just a mechanism to say `save lots more registers than
should strictly be necessary'.
Cheers,
Ralph.
More information about the oslib-team
mailing list