OpenAmiga (544/959)

From:Jesse McClusky
Date:22 Aug 2000 at 23:07:14
Subject:Re: AMIOPEN: Retooling existing applications

> From: "Rudi Chiarito" <rudi@amiga.com>
> > > Also the Quick Reference Guide (P32) says "Do not .. modify special
> > > registers."
> > It does say it's possible to do though.
<snip>
> > From a bit of testing, it appears you're pretty much in the clear if you
> > save the former value first, and restore it again *before* returning
*or*
> > making any calls. That doesn't, however, mean this will still be true
in
> > future revisions, so I highly advise against it unless you're doing
>
> It's a good thing that in the end you do not recommend it. ;)

Of course I wouldn't! I put in the statement there for the only reason
I could think of where doing so would be even slightly acceptable.
(the movable tool hack -- in which case, you're already messing with
how the kernel makes calls.) Those of you who know me know I
have this tendency to push people out of their little boxes of thinking.
(: I'm never careless about it, though.

Jesse

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html