Not sure about new arrangements for colour but the BW arrangement is a
simple array of pixels starting at the address pointed to by a processor
register.  The following c snipped defines a dummy function to access the
array.

// LCD Screen Start Address Register
#define lcdStartAddr ((unsigned long *)0xFFFFFA00)      
// dummy function to return start address
#define ScreenStart() ((Byte *) *lcdStartAddr)

Regards, Nick


-----Original Message-----
From: Tom Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 December 1999 4:32
To: palm-dev-forum
Subject: Newbie question on 'address' of screen pixels...


I'm trying to understand how all this works...

Is there a particular (unique/exclusive) storage address (pointer) for each
pixel of the screen?

If so, what are those pointers?

What is the content of each such pointer? I would assume that it contained
the color of that pixel....

If so, what are the 'codes' for each color? ...

I'm trying to get access to the color of a pixel on the screen... and I am
NOT using CodeWarrior nor GCC...

Tom

Reply via email to