[hatari-devel] Blitter interrupt CPU usage

Jean-Baptiste Berlioz jb.berlioz at freemind-tobe.com
Sun Jul 19 17:08:42 CEST 2009


 > Actually, although handling of Timer-D interrupts is a common issue,
 > it's not the only interrupt that can cause huge CPU usage.  I noticed
 > that in the STE mode, the Blitter emulation can cause Hatari to take
 > 76% of CPU on my  machine when running the "Tribute to Rainbow TOS"
 > demo from http://atari.freemind-tobe.com/.

My nice little screen full of colors :) It use the blitter to change 2 
palette registers every 16 pixels.

I did test it when i rewrote the blitter emulation, as far i as 
remember, the extra cpu load was caused by abusing the palette registers.

>> Also the timing of the Blitter emulation is not accurate according to
>> the Paradox boys (and they are heavy Blitter abusers on their STE
>> productions).
> 
> The Hatari compatibility.html page lists couple of demos where the blitter
> timing isn't yet accurate enough.
> 

Ah ok i must have a look at this :)

It would be easier if blitter-addicts communicate their blitter settings 
when they notice wrong timings. I'll try to get some informations on 
#atariscne this evening.

Tobé

PS: sorry for not being active on hatari development lately, you know, 
girlfriend, work, a demo to finish :)




More information about the hatari-devel mailing list