Re: [Tuxnes-devel] A fue minor patches too 0.75.
Brought to you by:
tmmm
From: Mike M. <che...@ya...> - 2004-07-28 21:22:24
|
That's correct, I just used usleep for finding when the event might end. This way where not constintaly looking for the event, just once every time frame. While forward porting this too CVS HEAD I saw that non of the working renderes still had this code. This could be the clue I needed to get GGI working, since it still has this code. --- Jason Dorje Short <jd...@us...> wrote: > Mike Mestnik wrote: > > Today when I built 0.75 I had to add AM_PROG_AS to configure.in. > There > > was several AC_PROG lines and I was not sure witch one I should use AC > or > > AM. > > > > There was also a race condition when the emulator was paused, I'l have > to > > look into adding a select for this. It shoulden't be a big deal to > just > > halt execution inside the input handeler should it? > > For CVS HEAD I'd also like to see if calling a generic input(alarm > signal) > > handeler(or a timer) for emulator type > > events(pause,save,snapshoot,quit,ect) so were not relying on the nes > rom > > to pool these for us. > > It needs to pause while waiting for an "event". > > An "event" may be input from keyboard or mouse or any arbitrary X (or > whatever GUI) event. > > Using a select loop _may_ work here since select will exit when there's > an interrupt/signal received (but I don't know if the above events > generate interrupts). In that case all FD sets should be NULL. > > jason > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Tuxnes-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxnes-devel > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |