I made two functions for bitmap rotation of images to avoid using the PlgBlt API function. My functions work on Windows 95. BMP_ROTATE changes quite well, but there is still room for optimization. BMP_ROTATE_3PHASE slows down and rotates the image I don't like much (this function is only left because it would be a shame to remove it).
UPD. Sorry for the rush, I read that I should use only ASM and pure API after the post was published. There is not a single line of ASM code here.
Yes, not many of us speak BASIC here. Please post some assembly-language code.
Quote from: NoCforMe on June 14, 2025, 04:43:21 AMnot many of us speak BASIC here
Some do (http://masm32.com/board/index.php?topic=94.0), and Hutch, the founder of this forum, was a PowerBasic fan.
However, posting small routines will trigger more and better reactions. PowerBasic is ok in this sub-forum, but keep it very, very simple and add lots of comments. We are good at doubling the speed of an innermost loop, but we insist to do it in Assembly ;-)