 #error Unknown screen
 #endif
 
-// 32x32 great for EBPMK2
 
 // Beware of RAM limitations
+#if defined(HX8353E)                                                            // Educational BoosterPack MKII
+
+#if defined(__MSP430F5529__)
 #define ROWS 32 // max 80
 #define COLS 32 // max 60
+#elif defined(__LM4F120H5QR__)
+#define ROWS 64 // max 80
+#define COLS 64 // max 60
+#else
+#error Board not supported
+#endif
+
+#else                                                                           // general case
+
+#define ROWS 80 // max 80
+#define COLS 60 // max 60
+
+#endif
+
 #define PERCENT 70 // % dead
 
 // bits 7 . 6 . 5 . 4 . 3 . 2 . 1 . 0

    
    myScreen.begin();
    
    xSize = myScreen.screenSizeX() / ROWS;
    ySize = myScreen.screenSizeY() / COLS;
    
    delay(10);
    myScreen.setPenSolid(true);
    
    
    // 0-7 dying: cold colours
    // from green to blue to black

        for (j=0; j < COLS; j++) {
            if (random(100) > PERCENT)  _screen[page^1][i][j] = ALIVE;
            else                        _screen[page^1][i][j] = DEAD;
            myScreen.dRectangle(i*rowSize, j*colSize, rowSize, colSize, colours[_screen[page^1][i][j]]);
        }
    }
    
