 let gpu_sprite_enable: bool;
 let gpu_bg_enable: bool;
 
+let gpu_stat_lyc_compare_enable: bool = false;
+let gpu_stat_oam_enable: bool = false;
+let gpu_stat_vblank_enable: bool = false;
+let gpu_stat_hblank_enable: bool = false;
+
 // 0=9800-9BFF, 1=9C00-9FFF
 let gpu_window_tm_select: bool;
 let gpu_bg_tm_select: bool;

        gpu_mode = 1;
        vblank_begin = true;

        // TODO: VBLANK Interrupt
        IF |= 0x01;
      } else {
        gpu_mode = 2;

  }

  // Set instruction time to the base/min
  CYCLES += *(cycletable + opcode);

  // Execute instruction
  (*(optable + opcode))();
