View Single Post
Old 28 December 2013, 08:27   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,534
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.04610 seconds with 9 queries