gray scale palette changes + com out reversal (want to start counting
[my-code/arm.git] / betty / display.c
index 1248279..916ffa1 100644 (file)
@@ -71,14 +71,15 @@ void display_init(void) {
 
        // gray scale palette
        DISPLAY_SET_WHITE(0,0,0,0);
-       DISPLAY_SET_LGRAY(3,3,3,3);
-       DISPLAY_SET_DGRAY(6,6,6,6);
+       DISPLAY_SET_LGRAY(5,5,5,5);     // obviously 3, but it's too bright!
+       DISPLAY_SET_DGRAY(7,7,7,7);     // obviously 6, but again too bright!
        DISPLAY_SET_BLACK(9,9,9,9);
 
        /* normal mode, display depending ram content */
        DISPLAY_RAM_CONTENTS_ON;
        display_clear_screen();
-       DISPLAY_NORMAL;
+       DISPLAY_NORMAL;                 // 00 -> white, 11 -> black
+       DISPLAY_SET_COM_ODIR_REMAPPED;  // start counting at the top
 
        /* switch on the display */
        DISPLAY_SET_ON;