Are you *sure* it's a crash? I've seen PalmOS 3.3 debug ROMS throw up
'Memory Manager' dialogs in the emulator in similar situations (while in
4bpp mode on OS 3.1 -> 3.3) but then when you click 'continue' the apps
keeps running just fine (of course I did debug my code religiously the
first few times this happened - but to no end). Not sure if it's a bug
in the OS or a bug in emulator or a bug in the debug ROM or any of the
combinations ;).
Have you tried your app on a real live OS3.3 device in 4bit mode? Does
it kill the device?
Stuart Nicholson
Programmer
Firepad Inc.
-----Original Message-----
From: Carl Fristrom [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 25, 2000 2:19 PM
To: Palm Developer Forum
Subject: Crash in SysGraffitiReferenceDialog?
I have run into what looks like a bug in the Palm OS 3.3 ROM, but I
can't
find any reference to it in the knowledge base or in the list archive. I
want to know if anybody else has run into this problem and if so how to
work around it.
When my application starts up I put EZ-based devices that support it
into
4-bit grayscale mode by calling WinScreenMode. When I run this in the
emulator on a Palm V or Vx using the Palm OS 3.3 ROM image and call
SysGraffitiReferenceDialog I get a crash when the dialog tries to draw
the
graffiti help bitmap. The crash does not occur under older ROMs (which
are
in 2-bit grayscale mode rather than 4-bit, which the system does not
support) or when using the Palm OS 3.5 ROM image (which does support
4-bit
grayscale). A stack trace shows that the crash is happening inside a
routine named PrvConvertDepth1To4, called from PrvCompressedInnerBitBlt.
If
I don't put the display into 4-bit mode the problem does not happen. Is
there any way to call this dialog without crashing on a 3.3 system while
in
4-bit mode?
Thanks for your help!
Carl Fristrom
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/