# HG changeset patch # User Mychaela Falconia # Date 1446684978 0 # Node ID acba9be2fc15069cc93bd8061e57e14457eb5a25 # Parent d40d3fcff946bd48f647995f675a1964a7e1cd68 gdi display.c: really configure it for the C-Sample LCD this time diff -r d40d3fcff946 -r acba9be2fc15 g23m/condat/com/src/driver/display.c --- 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