View Single Post
Old 28 December 2013, 09:27   #10
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,626
Most importantly it MUST NOT freeze the emulation while native code is running.

UAE "boot rom" native wrapper code that m68k code calls would first pass parameter structure (not registers) to separate thread (or thread pool in future) which executes native code, then calling Amiga task is put to sleep by calling exec/Wait(some standard reserved signal bit). When native code returns, m68k-side parameter structure is updated and task is woken up by exec/Signal().
Toni Wilen is online now  
Page generated in 0.10966 seconds with 9 queries