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

#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:


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 offline  
Page generated in 0.04681 seconds with 10 queries