FreeCalypso > hg > tcs211-c139
changeset 39:acba9be2fc15
gdi display.c: really configure it for the C-Sample LCD this time
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 05 Nov 2015 00:56:18 +0000 |
parents | d40d3fcff946 |
children | 58d50d1f238d |
files | g23m/condat/com/src/driver/display.c |
diffstat | 1 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/g23m/condat/com/src/driver/display.c Thu Nov 05 00:49:23 2015 +0000 +++ b/g23m/condat/com/src/driver/display.c Thu Nov 05 00:56:18 2015 +0000 @@ -152,7 +152,8 @@ *************************************************************************/ #if (defined(_TARGET_)) //#if (BOARD==33) -#if ((BOARD == 8) || (BOARD == 9)) +/* C139: force C-Sample configuration */ +#if 1 //((BOARD == 8) || (BOARD == 9)) #define CSAMPLE #elif ((BOARD == 40) || (BOARD == 41)) #define DSAMPLE @@ -228,6 +229,13 @@ */ +/* + * C139: we have to use the USE_PLOT configuration for now, + * as the other is bitrotten: r2d_fast_blit() is gone. + */ +#define USE_PLOT 1 +#define MAX_NUMBER_PLOTS 84*48 + /*==== CONSTANTS ==================================================*/ // Mar 30, 2005 REF: CRR 29986 xpradipg // removed the static qualifier to be accessed by the ATB module. @@ -2678,7 +2686,12 @@ */ void scrUnfocusDisplay(void) { -#ifndef _SIMULATION_ // Turn off this BMI Schnickschnack ... +/* + * C139: this code is bitrotten for the C-Sample configuration + * (doesn't compile), and appears to not handle vertically oriented + * framebuffers at all. So we are disabling it for now. + */ +#if 0 //#ifndef _SIMULATION_ // Turn off this BMI Schnickschnack ... int x,y; UINT32 *picPtr; #ifndef DSAMPLE_COLOUR