View Single Post
Old 28 December 2013, 13:54   #11
FS-UAE Developer

FrodeSolheim's Avatar
Join Date: Dec 2011
Location: Førde, Norway
Age: 37
Posts: 3,418
Being able to run native code asynchronously must surely be useful. Perhaps there are some use cases for running a native function synchronously too? A data register could carry a flags bit field which could let the user choose between synchronous and asynchronous call.

Regarding "parameter structure", is that necessary? It seems that saving the registers (similar to the current behavior) and associating those with the native function would work well enough. For return value(s), the Amiga client can pass a pointer in one or more of the registers, and the native function can just write the result(s) directly to Amiga memory? Perhaps I am missing something...
FrodeSolheim is offline  
Page generated in 0.12565 seconds with 9 queries