if inline asm has ANY speed increase, you should post a patch. :-P
Kenneth Wall wrote:
>
> FYI: love your work! keep it up.
>
> I replaced your memcpy with inline asm and it didn't help much.
> Makes me wonder if the entire bitmap area could be processed ahead of
> time,
> so during emulation no image tweaking would be needed.
>
> Ken
>
>
>
>
> Ben Saylor wrote:
>
>> Thanks, applied. Thanks for catching the errors in the code. :)
>>
>> On Fri, Sep 21, 2001 at 10:02:55AM +0900, Shyouzou Sugitani wrote:
>> >
>> > Ben Saylor wrote:
>> > > - fixed some DGA bugs (hopefully)
>> >
>> > Your new patch works with DGA. Great job, Ben.
>> > Attached is a small fix (Added effect_dbbuf initialization).
>> >
>> > ----
>> > Shyouzou Sugitani <[EMAIL PROTECTED]>
>> > <[EMAIL PROTECTED]>
>>
>> > --- src/unix/effect.c.dist Thu Sep 20 19:36:56 2001
>> > +++ src/unix/effect.c Thu Sep 20 20:06:35 2001
>> > @@ -102,8 +102,12 @@
>> > void effect_init2(int src_depth, int dst_depth, int dst_width)
>> > {
>> > if (effect) {
>> > + int i;
>> > +
>> > printf("Initializing video effect %d: bitmap depth =
>> %d, display depth = %d\n", effect, src_depth, dst_depth);
>> > effect_dbbuf = malloc(dst_width*DBBUF_SIZE*dst_depth/8);
>> > + for (i=0; i<dst_width*DBBUF_SIZE*dst_depth/8; i++)
>> > + ((char *)effect_dbbuf)[i] = 0;
>> > switch (dst_depth) {
>> > case 15:
>> > case 16:
>>
>> _______________________________________________
>> Xmame mailing list
>> [EMAIL PROTECTED]
>> http://toybox.twisted.org.uk/mailman/listinfo/xmame
>>
>--
>-------------------------------------
>a funny comment: 1 karma
>an insightful comment: 1 karma
>a good old-fashioned flame: priceless
>
>
_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame