partially revived platform support for PSP (unfinished)

just to have a platform with an unusal screen resolution
- suspend/resume handling probably non-working
- no scaling settings
- no image generation
currently no intentions to finish this.
This commit is contained in:
kub 2021-01-10 12:09:18 +01:00
parent f821bb7011
commit cdc6aac4c0
17 changed files with 961 additions and 2468 deletions

View file

@ -12,6 +12,9 @@
#if defined(USE_BGR555)
#define PXCONV(t) (t)
#define PXPRIO 0x8000 // prio in MSB
#elif defined(USE_BGR565)
#define PXCONV(t) (((t)&m1) | (((t)&(m2|m3)) << 1))
#define PXPRIO 0x0020 // prio in LS green bit
#else // RGB565
#define PXCONV(t) ((((t)&m1) << 11) | (((t)&m2) << 1) | (((t)&m3) >> 10))
#define PXPRIO 0x0020 // prio in LS green bit