mmmh, i dont like the static vidmode variable...
maybe it would be time to define a struct to handle LDC infos, we could use other features like hardware scrolling and clipping...(using a buffer bigger than the screen res), we could save info like the bpp and the LDC regs like LCDBASEL, LCDBASEU...