     pinMode(B, OUTPUT);
     pinMode(C, OUTPUT);
     pinMode(D, OUTPUT);
+#ifdef E
+    pinMode(E, OUTPUT);
+#endif
 
     pinMode(IR1, OUTPUT);
     pinMode(IG1, OUTPUT);

#define B   A1
#define C   A2
#define D   A3

// Button input
#define CLOCK 11

void game_draw_sprite(const struct game_sprite *s, int x, int y, uint8_t color)
{
    uint8_t height = game_sprite_height(s);
    uint8_t ry = game_render_y + (y & ADDR_HIGH);
    if (ry < y) ry += ADDR_LOW + 1;
    if (ry >= HEIGHT) return;
    if (ry < (y + height))
    {
