Rockbox Development > New Ports

SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2

<< < (159/386) > >>

cyclon1978:
i drawed only the first line and tried all HORZ/VERT modes:

#define R_ENTRY_MODE_HORZ_NORMAL 0x7030
#define R_ENTRY_MODE_HORZ_FLIPPED 0x7000
#define R_ENTRY_MODE_VERT 0x7038
#define R_ENTRY_MODE_SOLID_VERT  0x1038

but every time i got the same result: two lines from upper left to upper right. i expected i would get two lines from upper left to lower left with VERT modes... so i assume both VERT modes are not working  :-\

FlynDice:
This snippet from plugin.lds seems to me to pass by as3525 with MEMORYSIZE > 2 or am I missing something?

http://pastie.org/450159

EDIT:  Ah, I guess it gets taken care of for us as a catch all but it makes the code a bit obscure.  Doesn't this set  #define DRAMSIZE for all the targets that follow though?  That could irritate a few people.

funman:

--- Quote from: cyclon1978 on April 17, 2009, 02:40:12 PM ---i drawed only the first line and tried all HORZ/VERT modes:

but every time i got the same result: two lines from upper left to upper right.
--- End quote ---

That's normal, the pixels are written into the window previously specified with lcd_window_x() & lcd_window_y(), using the orientation you chose with HORZ/VERT mode.
For e200v2 you also have to change these windows (I think 2 pixels wide and 220 pixels high)

@ Flyndice : indeed this is a bit obscure and should be changed to
#elif CONFIG_CPU == AS3525
#if MEMORYSIZE >= 2
..
#else
..
#endif
#else
#   error
#endif

FlynDice:
I posted FS#10141 to change plugin.lds.  Someone take a look and see what you think.

sko:
Here is a patch by kugel and me which enables scrollwheel acceleration on e200v2: FS#10151. Maybe someone with an e200v2 can have a look at it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version