🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5697

Re: SAS/C 5.10 and amiga.lib - Help!

#5697
From: Peter Kittel GERMANY
Date: Mon, 08 Oct 1990 10:18
18 lines
1516 bytes
In article <eDkJq11w163w@valnet> joseph@valnet.UUCP (Joseph P. Hillenburg) writes:
>How DO you call C routines from BASIC?

If you mean functions that are part of a normal Amiga runtime library,
then you just need to build a .bmap file and use the same mechanism as
for other system function calls. (Look at the manual and into the prog
basicdemos/ConvertFD for details of building a .bmap file.)

But I'm afraid you speak about amiga.lib which is a link library.
I see no easy way to access this. Hard way would be, take SAS/C 5.10,
use library creation feature, make up functions for every function
you want to include from amiga.lib, compile this to a library and
procede like above. (Has anybody done this already?) I can't guess
about timing penalties of such procedure.

-- 
Best regards, Dr. Peter Kittel  // E-Mail to  \\  Only my personal opinions... 
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
Technical Details
Message-ID: <481@cbmger.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uakari.primate.wisc.edu!sdd.hp.com!decwrl!uunet!cbmvax!cbmehq!cbmger!peterk
References: <6697@sugar.hackercorp.com> <eDkJq11w163w@valnet>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uakari.primate.wisc.edu!sdd.hp.com!decwrl!uunet!cbmvax!cbmehq!cbmger!peterk
From: peterk@cbmger.UUCP (Peter Kittel GERMANY)
Newsgroups: comp.sys.amiga.tech
Subject: Re: SAS/C 5.10 and amiga.lib - Help!
Keywords: SAS C amiga.lib LIBRARIES
Message-ID: <481@cbmger.UUCP>
Date: 8 Oct 90 10:18:43 GMT
References: <6697@sugar.hackercorp.com> <eDkJq11w163w@valnet>
Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY)
Organization: Commodore Bueromaschinen GmbH, West Germany
Lines: 18