All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 28-03-2004, 04:04 AM
redshift redshift is offline
Registered User
 
Join Date: Oct 2002
Posts: 124
redshift is on a distinguished road
Direct screen write - 9200, 9500

Hello!

I'm just porting our game, Legacy, for the Communicator (www.redshift.hu). I used this code in the past to access 9200's screen directly:

#ifdef __WINS__
bScreen=new(ELeave) CFbsBitmap();
bScreen->Create(TSize(640,200),EColor4K);
pbScreen=(Uint8 *)bScreen->DataAddress();
dScreen->CreateContext(cScreen);
pBuf=new(ELeave) TUint8[640*200];
#else
pBuf=new(ELeave) TUint8[640*200];
TScreenInfoV01 iScreenInfo;
TPckg<TScreenInfoV01> sI(iScreenInfo);
UserSvr::ScreenInfo(sI);
pScreen=(Uint8 *)(iScreenInfo.iScreenAddress)+32;
#endif

So... that was 9200 series. 4r/4g/4b, 2 bytes for each pixel, only 12 bits used. What about the 9500? How can I access the pixels, and what are the bit mapping? With 5/5/5, then it would 32768 colors.

Another question: I have the Nokia 9200 SDK, and the Series 80 SDK for 9500. Can I use only the 9200 SDK to compile our game for both 9200 and 9500 ?
I won't use too many APIs, we have a strong engine, with system-independent routines.

Thank you!

Stewe/Redshift
Ads
 

Bookmarks

Tags
9200, 9500, direct, screen, write

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting on a Screen Protector Sony Ericsson P800, P900 and P910 6 09-05-2007 09:56 AM
Nokia to unwrap the new communicator!!!! n1ghtFLY Nokia 9300 and 9500 134 16-03-2004 03:28 AM
New: SCap - free screen capture for the P800 Rafe UIQ 1 25-02-2003 12:01 PM



All times are GMT. The time now is 11:43 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy