Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!dsrgsun.CES.CWRU.Edu!bammi From: bammi@curie.ces.cwru.edu (Jwahar R. Bammi) Newsgroups: comp.sys.atari.st.tech Subject: Re: using evnt_timer() with GCC 1.37.1 Message-ID: Date: 3 Sep 90 21:08:23 GMT References: <13154@netcom.UUCP> Sender: news@usenet.ins.cwru.edu Organization: Case Western Reserve University Lines: 51 In-Reply-To: rcb@netcom.UUCP's message of 3 Sep 90 18:27:11 GMT In article <13154@netcom.UUCP> rcb@netcom.UUCP (Roy Bixler) writes: and the Atari ST. Everything works except for when I call evnt_timer(). sounds like i screwed up the low and high words of the long in the aes bindings. here is a diff: - *** /tmp/,RCSt1a01858 Mon Sep 3 17:06:12 1990 --- aesevnt.c Mon Sep 3 17:02:33 1990 *************** *** 117,124 **** { unsigned short *i = (unsigned short *)&Interval; ! _int_in[0] = i[0]; ! _int_in[1] = i[1]; return __aes__(AES_CONTROL_ENCODE(24, 2, 1, 0)); } --- 117,124 ---- { unsigned short *i = (unsigned short *)&Interval; ! _int_in[0] = i[1]; ! _int_in[1] = i[0]; return __aes__(AES_CONTROL_ENCODE(24, 2, 1, 0)); } *************** *** 170,177 **** _int_in[12] = In2W; _int_in[13] = In2H; ! _int_in[14] = i[0]; ! _int_in[15] = i[1]; #ifdef __MSHORT__ _addrin[0] = MesagBuf; --- 170,177 ---- _int_in[12] = In2W; _int_in[13] = In2H; ! _int_in[14] = i[1]; ! _int_in[15] = i[0]; #ifdef __MSHORT__ _addrin[0] = MesagBuf; -- bang: {any internet host}!dsrgsun.CES.CWRU.Edu!bammi jwahar r. bammi domain: bammi@dsrgsun.ces.CWRU.edu GEnie: J.Bammi