Menu

#625 "Old" graphic array not compatible with Quick Basic

open
nobody
None
2012-10-09
2012-09-30
Otter
No

You say there is no padding in old format, invoked by the QB dialect. But should it be so? There was the padding, because in screen 12 and many others at least pixels were layered. If there are 4 layers, 1 bit on layer, then every single pixel can snatch 8 bits. Pixels got padded by 8 (or by 4 in 2BPL modes) on the end of the bytes suited for a layer. Even the help noted it in the formula (was it wrong?).
Anyway also, why in the old format, FB ("GET help") has this W * H * BytesPP thing? If colors are only 16, shouldn't it occupy just a half of the byte? In old DOS such memory overuse wouldn't appear.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB