🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Calling callgulam from TC

#41464
From: Vesterinen Arto Tapio
Date: Fri, 02 Mar 1990 08:46
9 lines
963 bytes
In article <BAMMI.90Mar1044130@dsrgsun.ces.CWRU.Edu> 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... :-(
Technical Details
Message-ID: <3140@tutor.tut.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!tut!av74381
References: <11368@etana.tut.fi> <BAMMI.90Mar1044130@dsrgsun.ces.CWRU.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <BAMMI.90Mar1044130@dsrgsun.ces.CWRU.Edu>
Reply-To: av74381@tutor.tut.fi (Vesterinen Arto Tapio)
Organization: Tampere University of Technology, Finland
Lines: 9