View Single Post
Old 28 December 2013, 14:06   #12
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 20,440
Originally Posted by FrodeSolheim View Post
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...
Because I want some kind of spec, not just random parameters, "do what you want". Data structure can also contain pointer to table(s) that contain useful parameters that native code can use directly, including all kinds of pointers to helper functions (in native C code).

It really needs to have official way to support new features and extensions.
Toni Wilen is online now  
Page generated in 0.04706 seconds with 9 queries