Xref: utzoo comp.sys.amiga.programmer:3423 alt.sources.amiga:236 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bloom-beacon!mintaka!olivea!samsung!spool.mu.edu!cs.umn.edu!quest!orbit!pnet51!chucks From: chucks@pnet51.orb.mn.org (Erik Funkenbusch) Newsgroups: comp.sys.amiga.programmer,alt.sources.amiga Subject: Re: Short Hello World Message-ID: <4872@orbit.cts.com> Date: 9 May 91 13:45:04 GMT Sender: news@orbit.cts.com Organization: People-Net [pnet51], Minneapolis, MN. Lines: 35 kilian@cinnet.com (Kilian Jacob) writes: >From article <1804@tardis.Tymnet.COM>, by jms@tardis.Tymnet.COM (Joe Smith): >> In article <1991May5.011748.11595@zorch.SF-Bay.ORG> xanthian@zorch.SF-Bay.ORG (Kent Paul Dolan) writes: >>>dvljrt@cs.umu.se (Joakim Rosqvist) writes: >>>> OpenLib=-408 > >[deleted] > >> But then I remembered that some of them HAVE changed. OpenLibrary used to >> be -408, now it is -552. Offset -408 is still supported, however, as >> OldOpenLibrary. Using the old definitions is works, the program won't get >> the newest features. >> >I think OldOpenLibrary() is used here on purpose. This way you can omit >the moveq.l #0,d0 (or sub.l d0,d0 -- faster, I believe). Since no specific >version (or higher) is need in this example using OldOpenLibrary is perfectly >ok -- saves 2 bytes!! :-) > >-- /-- >Kilian Jacob - Cincinnati, Ohio - VOICE: (513)-489-1891 >UUCP: kilian@cinnet.com or {uceng.uc.edu, ukma!spca6, uunet!sdrc}!cinnet!kilian But NOT guaranteed to continue to be supported. they COULD remove OldOpenLibrary in the next OS release. They tell you not to use it. .--------------------------------------------------------------------------. | UUCP: {amdahl!tcnet, crash}!orbit!pnet51!chucks | "I know he's come back | | ARPA: crash!orbit!pnet51!chucks@nosc.mil | from the dead, but do | | INET: chucks@pnet51.orb.mn.org | you really think he's | |-------------------------------------------------| moved back in?" | | Amiga programmer at large, employment options | Lou Diamond Philips in | | welcome, inquire within. | "The First Power". | `--------------------------------------------------------------------------'