12 byte patch for speeding up tiny msdos intros
category: code [glöplog]
@TomCat, thanks again for the detailed benchmarking & research! =)
Regarding the benchmarking I think we should look at the FPS of intros here also. I guess that 'seashell' and 'colourful' are at a very low FPS already, more like slideshow, or ?
So the amount of cycles used for calculating the pixels is already superhigh compared to the others...so the screen plotting isn't the bottleneck in those cases.
I tested one unpublished heavy load FPU intro at 640x480 true colour and run it first normally (around 30 FPS) then I replaced the 'stosd' by simply 'add di,4', so no screen output...and received almost the same timings.
I guess one has to see in each case if the FPS isn't already good enough before investing the 12 Bytes.
So the amount of cycles used for calculating the pixels is already superhigh compared to the others...so the screen plotting isn't the bottleneck in those cases.
I tested one unpublished heavy load FPU intro at 640x480 true colour and run it first normally (around 30 FPS) then I replaced the 'stosd' by simply 'add di,4', so no screen output...and received almost the same timings.
I guess one has to see in each case if the FPS isn't already good enough before investing the 12 Bytes.
Easy to convert the measured times to fps, if you know how many frames were drawn.

