[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Missing clobbered register in gemlib



Am 20.12.2009, 12:40 Uhr, schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:

First: thank you once more ;)

The registers d0/d1/a0/a1 are not backuped because it is legal to modify them. d2 is automatically backuped by GCC because it needs a free data

So if fvdi changes d0-d1/a0, there should never be a problem from this if called from C, and the bus-error I get on v_clswk must come from somewhere else.

a0. At the beginning of graf_handle(), GCC put important data into a0. Then it calls the trap #2. And after that, it uses a0 at the end of

What AES - that one from EMUTOS?

-Helmut