Added PARAM_DEREF for more flexibility
Fixed bug in VESA get modeinfo command
Added the NRE specific part.