In OS 3.5 (only) I'm getting a warning from POSE like this:
"Applications" 3.5 has just read directly from
memory manager data structures. [Bummer.]
This happens in List mode (small icons) when the launcher is drawing my
app's icon. I can't get a stack trace right now due to CW R6 problems,
but it's clearly somewhere in the launcher draw code.
It seems to be caused by my icon being the maximum allowed size of 15x9,
and the resource being the minimum size, with only a 1-bit image (no
colors) and no pad bytes at the end. If I modify the icon to make it
one pixel smaller in either direction (14x9 or 15x8) or if I add one
garbage pad byte at the end of the resource, then this warning goes
away. This problem does not happen in OS 3.3 or earlier.
Here is my icon which causes the warning, in Rez format:
data 'tAIB' (1001)
{
$"0F 00" // width = 15
$"09 00" // height = 9
$"02 00" // rowBytes = 2
$"00 00" // flags = 0
$"01" // pixelSize = 1
$"01" // version = 1
$"00 00" // nextDepthOffset = 0
$"00 00 00 00" // reserved
$"AA AA 55 55 AA AA 55 55" // checker pattern
$"AA AA 55 55 AA AA 55 55"
$"AA AA"
};
(The first 3 values are byte-swapped to work around a bug in PalmRez.
They end up in the correct order in the final PRC. Ignore that.)
This doesn't happen if I WinDrawBitmap the icon directly on the screen
from my own code, but only when the launcher draws it.
This is with palmos35-bld8-color.rom and POSE 3.0a1e7c.
-slj-