I think that we found a bug in the P96 (or maybe drivers, or maybe RTG at all, dunno), which happenes in the p96GetBitMapAttr(Width) .
Of course i cant say that is 100% bug, because usually there can be problems with code, but , we also make a simple test-source file/makefile/binary, to easy reproducing of the problem.
The problem is that p96GetBitMapAttr(Width) returns the following values depending on screen/bitmap attributes:
- screen and bitmap 800x600x16-bit --> expected value Width=800 --> returned value Width=832 (+32 pixels)
- screen and bitmap 1440x900x16-bit --> expected value Width=1440 --> returned value Width=1472 (+32 pixels)
- screen 1920x1080x32-bit, bitmap 2000x3000x24-bit --> expected value Width=2000 --> returned value Width=2016 (+16 pixels)
There is test archive with all the stuff. Source are very small, so, if some bugs in code are present (or maybe we not do something what we should to do), it will be easy to detect. But if it still a bug, then its good as well for bugs-database of os4.
Will be cool if any of os4 developers can test it and submit a bug-report if there is indeed a bug. Thanks for.