Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!tut!av74381 From: av74381@tut.fi (Vesterinen Arto Tapio) Newsgroups: comp.sys.atari.st Subject: Re: Calling callgulam from TC Message-ID: <3140@tutor.tut.fi> Date: 2 Mar 90 08:46:28 GMT References: <11368@etana.tut.fi> Reply-To: av74381@tutor.tut.fi (Vesterinen Arto Tapio) Organization: Tampere University of Technology, Finland Lines: 9 In article bammi@dsrgsun.ces.CWRU.Edu (Jwahar R. Bammi) writes: > your example is correct. the reason it does'nt work from Turbo C >is that Turbo C passed the arguements in registers by default, while >gulam is expecting them to be on the stack (like the normal C stack >frame conventions). (is there a option in TC to do this??) > There is a TC compiler option Standard stack frames. I tried it out, but I still get two bombs, oh well... :-(