From mint-bounce@lists.fishpool.fi Fri Dec 11 20:52:21 2009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=oV3f6cGsNv/21C6kbH8oJz1/u/nMM4D8NnMdjSEuq0U=; b=pwSDzxVvEXq6JVUYLHax9qvgxe8HwvQf6m3s/oWUvEBOvHKIPzkcdQz48YdSMS8AJj IdMkKRLX+bhXMPpcSBCcDybMbtmFlx6/3PttaBrLItLauchKZ33nX+Dim7h+jKY6BqJv F1CZV5/BoIUnlz6xV6L1eRGAmyRyFqh7bZ2mM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=QdR61/yhnyIRmNjpslcczaALdxF67upcaDDJHhAN1I57z2meog0l+3uYlUov5Bfzo3 n0ekJYSTlGnSjDNrKGt3gan6up0iSskih7iRzphnu6qUqe4/e1eb15A+E7/JrYbrx95u oGSx2oLs78p4z9QfrEc1zpyd4eKRJxW7VwFjI= From: Peter Persson Content-Type: text/plain; charset=us-ascii Subject: [MiNT] Mintlib: Bindings for EsetShift() and VsetMask() Date: Sat, 12 Dec 2009 02:49:23 +0100 Message-Id: <0944D844-C44A-41C0-9835-EE146E4BEF16@gmail.com> To: mint Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: pep.fishmoose@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id nBC1qLhB025962 Howdy, 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.. -- PeP