Xref: utzoo comp.sys.amiga.tech:14577 comp.sys.amiga:66618 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!cbmvax!valentin From: valentin@cbmvax.commodore.com (Valentin Pepelea) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Re: Making Shared Libraries Message-ID: <14576@cbmvax.commodore.com> Date: 21 Sep 90 02:39:48 GMT References: <259@incstar.uucp> Reply-To: valentin@cbmvax.commodore.com (Valentin Pepelea) Distribution: usa Organization: Commodore, West Chester, PA Lines: 31 In article <259@incstar.uucp> lhotka@incstar.uucp (Glamdring) writes: > >> Anyway, if anyone who has made a library for the Amiga and would >> not mind sharing the how-to's of it all, I would very much appreciate >> it, since I've tried and failed on several occasions to make one. > > I would second this motion - if anyone would like to post an example or > some pointers on this topic it would be very nice. I have read through > several books and such, but it is still somewhat confusing and no one ever > seems to publish an example... You both have pointed out a weakness in the available documentation. While the useage of shared libraries and devices is well explained, the process of creating such beasts is covered with clarity and simplicity exemplified by the KGB documentation bureau. All I can do to help you out for now, it to tell you that there is nothing to it. Shared libraries consist simply of a skeleton, along with a set of functions that accompany them. For an assembler example, look in the ROM Kernel Manual, Includes & Autodocs. For a C example, look in AmigaMail, page III-11. AmigaMail is a tachnical newsletter sent by CATS (Commodore-Amiga Technical Support) to registered devellopers. No, I don't work for CATS. Valentin -- The Goddess of democracy? "The tyrants Name: Valentin Pepelea may distroy a statue, but they cannot Phone: (215) 431-9327 kill a god." UseNet: cbmvax!valentin@uunet.uu.net - Ancient Chinese Proverb Claimer: I not Commodore spokesman be