The way I understand it I have to implement the ARGV protocol. Unfortunately I didn't understand how I am supposed to do it from the specs so if someone could explain it to me I'd be grateful.
Do you know this? http://mikro.umpc.sk/docs/GEM/ARGVSPEC.TXT -- it's quite clear, example in both asm and C... btw if you know something about C, you can also look into mintlib startup code, it's pretty straightforward.