Re: [AD] small bug in 15 and 16 bit asm color converters

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2004-10-23 at 16:31 +0200, Elias Pschernig wrote:
> > MMX is disabled in interrupt handlers because the FPU state is not saved
> > across interrupts.  Of course this probably only makes sense for DOS.
> > 
> >       else {
> >          /* bodge to avoid using non legacy 386 asm code inside a timer handler */
> >          int old_capabilities = cpu_capabilities;
> >          cpu_capabilities = 0;
> > 
> >          draw_mouse(TRUE, TRUE);
> > 
> >          cpu_capabilities = old_capabilities;
> >       }
> > 
> 
> Ah. Attached another patch, which fixes this problem. This one should
> be applied in any case.

Applied now. This fixes the mouse droppings. The MMX conversion still
needs someone to implement Bob's method, and time against the LUT
solution :)

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/