Starting COGS with an arbitrary number of parameters
ErNa
Posts: 1,752
This little demo shows (in german language, but if there is some resonance, I will to my best to translate it) a small routine, that calls a start.method, transfering an array, containing pointers to variables. The start method copies the pointers to local variables, so all relevant variables can be accessed in the common way. This scheme also works for ASM. The demo application needs to be improved, the catcher is blind, dump and stupid too. If this demo were intended to run on windows or vista, I would have recommeded to start over and over, maybe it works !
Comments