🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #41439

Re: Calling callgulam from TC

#41439
From: Jim Hurley
Date: Thu, 01 Mar 1990 17:50
32 lines
1778 bytes
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 <style>' where
style can be three separate flavors. (Here my memory is faulty about
the types, but I use 'gulam' style).
 
I don't know quite what this means, I don't recall reading a description
in the docs. Anyone know more about this?
-- 
Jim Hurley --> jimh@ultra.com  ...!ames!ultra!jimh  (408) 922-0100
Ultra Network Technologies / 101 Daggett Drive / San Jose CA 95134
Technical Details
Message-ID: <1990Mar1.175045.3607@ultra.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!ultra!jimh
References: <11368@etana.tut.fi> <BAMMI.90Mar1044130@dsrgsun.ces.CWRU.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <BAMMI.90Mar1044130@dsrgsun.ces.CWRU.Edu>
Organization: Ultra Network Technologies
Lines: 32