/* -============================ Functions =============================- */
/* mode switching, page, and plane functions */
-void VGAmodeX(sword vq, global_game_variables_t *gv);
-void modexEnter(sword vq, global_game_variables_t *gv);
+void VGAmodeX(sword vq, byte cm, global_game_variables_t *gv)
+void modexEnter(sword vq, byte cm, global_game_variables_t *gv);
long vgaGetMode();
void modexLeave();
void modexsetBaseXMode(page_t *page);