View Single Post
Old 08 August 2014, 21:50   #28
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,524
Those two functions are in ppc.library but they are marked private between PPCSetAttrs and PPCCacheTrashE. Bah.

Quote:
...
#pragma libcall PPCLibBase PPCSetAttrs 19e 801
/* Private entries
* 1a4
* 1aa
*/
#pragma libcall PPCLibBase PPCCacheTrashE 1b0 10803
...
EDIT: It may be some kind of semaphore feature (CPU that clears the bit prevents other CPU from doing any memory accesses?). There is code sequence like this:

ppc.library/1a4
exec.library/Remove
ppc.library/1aa

EDIT2: It has to be hardware semaphore. I think this problem is now solved.

It would be interesting to see if you can lock yourself out by clearing the bit twice (Probably not)

Last edited by Toni Wilen; 09 August 2014 at 08:47.
Toni Wilen is online now  
 
Page generated in 0.04742 seconds with 9 queries