Path: utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!ultra!jimh From: jimh@ultra.com (Jim Hurley) Newsgroups: comp.sys.atari.st Subject: Re: Calling callgulam from TC Message-ID: <1990Mar1.175045.3607@ultra.com> Date: 1 Mar 90 17:50:45 GMT References: <11368@etana.tut.fi> Organization: Ultra Network Technologies Lines: 32 bammi@dsrgsun.ces.CWRU.Edu (Jwahar R. Bammi) writes: >In article <11368@etana.tut.fi> av74381@korppi.tut.fi (Vesterinen Arto) writes: >> Unfortunately have not been able to call gulam from a Turbo-C >> program. I have tried out Michal Jaegermann's method for >> MWC but it does not work out for TC. If anyone has figured out >> how to call gulam from TC, please e-mail me how to do it. > 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??) > on a related note: ..... >-- >bang: {any internet host}!dsrgsun.ces.CWRU.edu!bammi jwahar r. bammi >domain: bammi@dsrgsun.ces.CWRU.edu >GEnie: J.Bammi There are some gulam parameters that can be set in a startup file. They are called, I believe: 'set env_style