smdk2410 lcd rotation problem
From: manas (anonymous_at_discussions.microsoft.com)
Date: 08/28/04
- Next message: Masoud Amiri: "Re: How to change display mode?"
- Previous message: Gowhawk: "Re: Copy Files to ResidentFlash but eboot overwrited"
- In reply to: Tim Schuerewegen: "smdk2410 lcd rotation problem"
- Next in thread: Tim Schuerewegen: "Re: smdk2410 lcd rotation problem"
- Reply: Tim Schuerewegen: "Re: smdk2410 lcd rotation problem"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 28 Aug 2004 03:11:21 -0700
yes the rotation does work, modifying only the registry
and the the defineing ROTATE will not work, you have to
modify the code, almost every function. follow the sample
display driver code. Easier to follow MQ200.
>-----Original Message-----
>Platform Builder 5.0
>
>Problem:
>According to the SMDK2410 display driver source code you
can enable rotation
>support by defining "ROTATE". Unfortunately this did not
have any effect on
>my "tiny kernel" image with touch/mouse/lcd support that
launches the
>default "hello world" application from eVC on startup.
Then I discovered
>that I needed to add the "angle" registry key entry
under
>"HKEY_LOCAL_MACHINE\System\GDI\Rotation" telling how the
screen should be
>rotated. Again, without effect. Then I concluded from
looking at other
>display drivers that the display driver itself should
retrieve this "angle"
>entry from the registry and use it, which the SMDK2410
display driver does
>not, so I added the necessary code. On my 3rd attempt
the mouse pointer was
>rotated but my hello world application was not. To be
more exact, the hello
>world application was only partly drawn, the bottom 80?
(320-240) or so
>scanlines were black/missing.
>
>Question:
>Can anyone confirm that the SMDK2410 display driver in
rotation mode work as
>desribed? Am I doing something wrong?
>
>
>.
>
- Next message: Masoud Amiri: "Re: How to change display mode?"
- Previous message: Gowhawk: "Re: Copy Files to ResidentFlash but eboot overwrited"
- In reply to: Tim Schuerewegen: "smdk2410 lcd rotation problem"
- Next in thread: Tim Schuerewegen: "Re: smdk2410 lcd rotation problem"
- Reply: Tim Schuerewegen: "Re: smdk2410 lcd rotation problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|