Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!sdrc!cinnet!kilian From: kilian@cinnet.com (Kilian Jacob) Newsgroups: comp.sys.amiga.programmer Subject: Short Hello World Message-ID: <1991May21.030058.9972@cinnet.com> Date: 21 May 91 03:00:58 GMT Organization: Cincinnati Network, Cinti. OH Lines: 51 Subject: Re: Short Hello World Newsgroups: comp.sys.amiga.programmer,alt.sources.amiga References: <1991May17.170132.23862@starnet.uucp> From article <1991May17.170132.23862@starnet.uucp>, by sschaem@starnet.uucp (Stephan Schaem): > > Lets hope not! Lets hope they will optimize the rom instead of removing > oldfunction.Or go to 1 meg if really needed! > And the original OpenLibrary was a mistake from CBM and should have > never been without vesion... And removing it or replacing it would be > another mistake. > Come on how short could they be to remove a function that take them 6 > bytes! (+6 for lib jump). > Doesn't make ANY sens. You're absolutely right. If they get rid of OldOpenLibrary they probably save 6 bytes of ROM code and 6 bytes of used RAM. And that's only if they use the offset -408 for a new exec function!! I bet the ROM code of the exec.library looks about like this ... Functions: dc.l Open dc.l Close dc.l Expunge dc.l ExtFunc ... dc.l OldOpenLibrary ; 4 bytes: address of the function in ROM ... dc.l OpenLibrary ... ... OldOpenLibrary: moveq.l #0,d0 ; any version number -- this takes up two bytes OpenLibrary: ... ; just continue using the new OpenLibrary code rts ... Bis dann, -- /