Okay, this is my first patch for DOSBox, this patch
significantly improves the performance of the scalers.
What I did is basically modify the scalers so they
update only the parts of the screen that really changed
since the last time they were processed. This has an
amazingly positive impact on some of the scalers and a
clearly noticeable overall performance boost.
This are some numbers comparing the performance of the
scalers before and after the patch:
Old scalers New scalers Improvement
Normal 127.3 113 13%
Normal2x 356 139 156%
AdvMame2x 825.5 156.5 427%
AdvMame3x 1665 169 885%
AdvInterp2x 841 152.5 451%
Interp2x 868 149.5 481%
TV2x 413.5 141 193%
Hq2x 10480 305 3336%
TVHq2x 10694 310 3350%
I also included in the patch the 16 bits VESA by Moe
and his Hq2x scaler, now optimized as well, and a
modified version of the Hq2x scaller with TV scanlines
called TVHq2x.
Optimized Scalers
Optimized Scalers (improved)
Logged In: YES
user_id=218084
Okay this is an update of my patch, it now makes DOSBox
graphics much faster even without using any scaler!
New numbers:
.............. Old ......... New ........ Improvement
Normal ....... 127.3 ....... 91 ......... 40%
Normal2x ..... 356 ......... 91 ......... 291%
AdvMame2x .... 825.5 ....... 95 ......... 769%
AdvMame3x .... 1665 ........ 100 ........ 1565%
AdvInterp2x .. 841 ......... 95 ......... 785%
Interp2x ..... 868 ......... 94 ......... 823%
TV2x ......... 413.5 ....... 93 ......... 345%
Hq2x ......... 10480 ....... 127 ........ 8152%
TVHq2x ....... 10694 ....... 127 ........ 8320%
Optimized Scalers v.3 (fixed)
Logged In: YES
user_id=218084
This is the patch version 3, it fixes some issues with some
games and greatly improves upon speed. I'm working in some
improvements yet.
Optimized Scalers v.4
Logged In: YES
user_id=218084
The Warcraft 2 (and other games) issue with the palette has
been fixed with the fourth version of this patch.
Optimized Scalers v.5
Optimized Scalers v.6 (RC2)
Logged In: YES
user_id=218084
I worked with gulikoza to make some extra improvements to
the patch and we implemented something, for version 7, that
makes the patch update only the frames that really changed
(this should make DOSBox even faster)
Optimized Scalers v.7 (RC3)
Optimized Scalers v.8 (RC4)
Optimized Scalers v.9 (RC5)
Optimized Scalers v.9b (still RC5)
Optimized Scalers v.10 (RC6)
Optimized Scalers v.11 (RC7)
Logged In: YES
user_id=218084
Okay, RC7 is hopefully the last release candidate, it has
been optimized beyond my dreams and it works very nicely.
This patch now includes the TV mode in the configuration
file, which lets you turn on TV scanlines for any scaler
used whenever it's available.
I truly hope this patch can make you all able to play your
games a lot better. HAVE FUN!!
Regards,
Kronuz.
Optimized Scalers v.11b (still RC7)
Logged In: YES
user_id=535630
Something like this is in the cvs.
Thanks for helping creating it.