View Single Post
Old 18 November 2021, 22:41   #13
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,474
Quote:
Originally Posted by Muzza View Post
It's a single word write, so would this be atomic?
Yes, it's atomic.

But why you need to rewrite COP1LC with THIS copper_list?
You can simply setup a small list that set the new COP1LC just in case the new list is needed.

Something like:
Wait for VPOS near_the_end (even 312)
COP2LC = points to chainN
COPJMP2/NOP
END OF LIST

chainN
COP1LC = pointer to the top of NEXT copper list
END OF LIST
ross is offline  
 
Page generated in 0.04471 seconds with 11 queries