Here's the followup message I mentioned. ----- Forwarded message from [EMAIL PROTECTED] -----
Date: Wed, 26 Feb 2003 09:51:23 +0100 From: [EMAIL PROTECTED] Subject: about XV extension in XMAME To: [EMAIL PROTECTED] X-Virus-Scanned: by phobos.aros.net with amavisd-milter (http://amavis.org/) X-MIME-Autoconverted: from quoted-printable to 8bit by phobos.aros.net id h1Q8vr61004160 X-Spam-Status: No, hits=3.4 required=5.0 tests=NO_REAL_NAME,RCVD_IN_MULTIHOP_DSBL, RCVD_IN_UNCONFIRMED_DSBL,SPAM_PHRASE_01_02 version=2.43 X-Spam-Level: *** Ciao Lawrence, yesterday I've found on a Linux' magazine the version 0.62.2 of XMAME. I've readily compiled the MAME stuff with the usual Pentium optimizations and I've discovered, with my dismay, that the new version is much more slower than the 0.37b15 that I already had. But, more important, I've discovered that the "-xv" option heavily slow down the emulator !! example with "bombjack" : ---------------- XMAME 0.37b15 + my XV patch : xmame.x11 -x11 0 -bpp 8 -sf 8192 -ms -noxv, runs at 100% speed without frameskip. xmame.x11 -x11 0 -bpp 8 -sf 8192 -ms -xv, runs at 100% speed without frameskip. (also scaling does not effect speed). xmame.x11 -x11 0 -bpp 8 -sf 44100 -ms -noxv, runs at 100% speed with 1-2 frameskip. xmame.x11 -x11 0 -bpp 8 -sf 44100 -ms -xv, runs at 100% speed with 1-2 frameskip also. ----------------- XMAME 0.62.2 : xmame.x11 -x11 0 -bpp 8 -sf 8192 -ms -noxv, runs at 100% speed with 4-5 frameskip (auto mode). xmame.x11 -x11 0 -bpp 8 -sf 8192 -ms -xv -yuv, runs at 95% speed with 8 frameskip (auto mode). xmame.x11 -x11 0 -bpp 8 -sf 8192 -ms -xv -yv12, runs at 85% speed with 8 frameskip (auto mode). ----------------- As you can see the difference between the two version of XMAME is really big. So now I think that my XV patch is not really "out of the game". In fact we can note that my XV patch does not significantly slow down the emulator like the 0.62.2 XV implementation does. I've not yet studied the relevant portion of the new code but it seems that my code if faster because : - my code does not perform the average of color (see blit.h) (but I've written also the code with color average) - I've modified the routine "sysdep_palette_make_pen_from_info" in src/xmame-0.62.2/src/unix/sysdep so that when YUV display is used the color is given in YUV format instead of RGB. Also here I've used a little trick by packing the Y, U, V data (8 bit each) as in the layout "Y U Y V" (32 bit wide). Let me now what do you think about this question. Have you really studied my patch as you said in your e-mail ? About FMAME : I've found that it works also with the new version of XMAME ;-) Have you tried the 0.8 version ? There are still problems ? Can you post the FMame version 0.8 in the XMAME mailing list for me. I cannot do this myself because I've not internet at home and I cannot lame in the XMAME website at univ. :-) best regards, -- Francesco Abbate <[EMAIL PROTECTED]> __________________________________________________________________ Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light Mega! Tiscali ADSL non teme confronti! Abbonati subito. http://point.tiscali.it/adsl/index.shtml ----- End forwarded message ----- _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
