Description
Bug found under Linux using Dragon Basic commit ID: d2ce042
When using graphics mode 4 and 5, blitting doesn't work correctly. In graphics mode 4, if you load a 256-index paletted BMP file, blit it to the screen, and perform a flip operation, nothing is shown. In fact, you can attempt to blit / write to both screen buffers and flip between them and nothing will be shown. The same behaviour appears to happen in mode 5 as well. No images will be displayed (proper or corrupt) and no errors will be generated. The user just gets a black screen.
This problem is rather important since mode 4 is the only bitmapped page flipping mode that supports full screen 256 color images (Since mode 3 doesn't have enough free memory to support double buffering/page flipping).