#include <stdio.h>
#include <string.h>
#include <ctype.h>
+#include <unistd.h>
#include "segm.h"
#include "intr.h"
#include "mem.h"
qsort(vmodes, nmodes, sizeof *vmodes, modecmp);
for(i=0; i<nmodes; i++) {
+ printf("trying video mode: %x (%dx%d %dbpp)\n", vmodes[i].mode, vmodes[i].width,
+ vmodes[i].height, vmodes[i].bpp);
+ usleep(5000000);
if((fbptr = set_video_mode(vmodes[i].mode))) {
vmode = vmodes[i];
- printf("video mode: %x (%dx%d %dbpp)\n", vmode.mode, vmode.width,
- vmode.height, vmode.bpp);
break;
}
}