> This is a request for bug conformation/clarification on the efig and
> Japanese ROMs of PalmOS4.0 given at PalmSource:
> 
> ScrDisplayMode() call causes a crash in the OS when the depth is being set
> to 2 as in the following example:
> 
> DWord depth = 2;
> ScrDisplayMode(scrDisplayModeSet, NULL, NULL, &depth, NULL);
> 
> Is that a bug in the ROM (seems like) and what is causing it? We need the
> information to prevent further incompatibility in a animation engine in our
> games.
> 
> The code is working properly in all other ROMs we have (about 20).

  Liberty - god forbid of all the apps to run on 4.0 :) runs ok :P

  it does a simple switch into 2bpp, and it looks sweet and dandy to me.
  sounds like its a problem with something else in your app :(( or it
  could a bug specific to the rom you are using.

---
// only OS 3.0 and above have > 1bpp display via API's
if (DeviceSupportsVersion(romVersion3)) {

  UInt32 depth = 2;

  // save the current display state
  WinScreenMode(winScreenModeGet,NULL,NULL,&globals->depthState,NULL);

  // change into 2bpp display mode
  WinScreenMode(winScreenModeSet,NULL,NULL,&depth,NULL);
}
---

  now.. looks like you are still using pre-3.5 headers :)) tut tut..
  time to upgrade boris!! :P

  i tested this on the following rom images: 

    PalmOS40dr3-efigs-colordbg.rom
    PalmOS40dr3-jp-colordbg.rom
    PalmOS40dr3-jp-v-fulldbg.rom
    .. i aint testing any more.. tedius :)

  without any problems.. dr2 was released @ PalmSource 2000.. i never
  played with it.. :)) dr1 worked fine :) i doubt it is a rom issue..

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to