From mint-bounce@lists.fishpool.fi Mon Dec 14 00:00:21 2009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=qFQHDWIdOTWTGs++6EEm3vnPlMk5qLN6GetAoWmD2UE=; b=g59cFKMu2G0FV6yzrYDkO7ltBpghu+3iiCmYZBLcdcw+VDsv+qEV3s4nr0aMiqycpR zw5rC9CRbqcWd5rOH0m8fntKXT9Ube+gwtBVvwYiv1poE2jeIouRQEYh5/sLWhrkIMzA v0MePlaNB/RpVDt9xnAS3Kfs1XflryqUCnSj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aFcsMKBm7gUmTOwFDS4DKJ5QGPM7eHvg/Bbv93Yxpm4fw+rV9KAgv3/bHF9pNV2n4u TXZ/T7vuAfghDi0SDrCrzBjP198YPZ/BMfDYFFLGa5jL0QtM906Xo1S5l5xGpXYXxZM9 wd58voFwcfejOWGDW0m6+3H2mxK+cKoeZie2s= MIME-Version: 1.0 In-Reply-To: <4B23D9B7.3903.22FCE8@rfburrows.ymail.com> References: <0944D844-C44A-41C0-9835-EE146E4BEF16@gmail.com> <4B23D9B7.3903.22FCE8@rfburrows.ymail.com> Date: Mon, 14 Dec 2009 15:58:32 +1100 Message-ID: <11a6f2b10912132058xb48492dx743cbd396a76c2e0@mail.gmail.com> Subject: Re: [MiNT] Mintlib: Bindings for EsetShift() and VsetMask() From: Paul Wratt To: mint Content-Type: text/plain; charset=ISO-8859-1 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: paul.wratt@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: On Sun, Dec 13, 2009 at 9:58 AM, Roger Burrows wrote: > Hi Peter, > On 12 Dec 2009 at 2:49, Peter Persson wrote: >> >> The current bindings for VsetMask() (falcon.h) and EgetShift() (osbind.h) >> looks as follows: >> >> #define VsetMask(andmask,ormask) \ >> (short)trap_14_www((short)150,(short)(andmask),(short)(ormask)) >> >> #define EsetShift(mode) \ >> (void)trap_14_ww((short)(80),(short)mode) >> >> >> According to the Atari Compendium and Tos.hyp, it should be as follows: >> >> #define VsetMask(andmask,ormask) \ >> (short)trap_14_www((short)150,(long)(andmask),(long)(ormask),(short)(overlay) >> ) >> >> #define EsetShift(mode) \ >> (short)trap_14_ww((short)(80),(short)mode) >> >> I don't know which procedures are needed to get this into the CVS, but I guess >> it could be a good idea to fix it.. >> > > Hmmm, according to my copy of the Compendium, the binding for VsetMask is: > void VsetMask(long ormask,long andmask,short overlay); > > The Compendium and the TT TOS release notes agree with your revision, i.e.: > short EsetShift(short mode); > > Regards, > Roger > P.S. Nice to see all this activity these days! > Thanks to Vincent documenting the CVS commit procedure.. Yes the activity is good, I am looking forward to the results of it.. Thanks you for your notes, these are essential for ironing out potential and historical issues.. Cheers Paul