Quote:
Originally Posted by FrodeSolheim
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.