Date: Mon, 17 Mar 1997 10:42:20 +1200 From: Bill Currie Subject: Re: Question about future of Allegro. To: zager AT post DOT comstar DOT ru Cc: shawn AT talula DOT demon DOT co DOT uk, DJGPP Mail List Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <332C774C.3E2C@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <3329E6C5 DOT 531E AT post DOT comstar DOT ru> Dim Zegebart wrote: > > Hi, > I deeply (I hope so ;) ) study your code dialling with > keyboard, mouse and timer. And also I study GUI part. > IMHO, it's lack of some messaging system. I already done > such a system with my previous work (not with Allegro and DJGPP). > Hardware interrupt handlers collect events and put them into > FIFO queue (separate queue for each device). And user write > functions for each type of hardware (software too) events which called > by SendMsg() in DispatchMsg() loop. Also, it's possible to > assign a priority level for each queue (what is first mouse, keyboard, > etc.) So, I can implement it in Allegro. > My questions are : > 1. Does anybody needed in such system (not only me) ? > 2. Will future version of Allegro contain this feature ? > 3. May be someone implement similar mechanism ? > > Any comments ? > Sound's good and would be usefull for much more than just Allegro. Would you be willing to send me a copy of your code, as this sounds like somethink I could use in my kernel code (pure djgpp, no dos at all!). I could port it to djgpp in gerneral as I port it to my os. Bill -- Leave others their otherness.