From 86c9feb7e11b05f9ed7134cb3ba665672fecc472 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Januszewski?= Date: Sat, 21 Jul 2007 15:14:15 +0200 Subject: [PATCH] testvbe: remove unused headers --- testvbe.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/testvbe.c b/testvbe.c index 8aa3931..76e7a99 100644 --- a/testvbe.c +++ b/testvbe.c @@ -6,24 +6,16 @@ #include #include -#include -#include - -#include -#include - -#include - #include "v86.h" int main(int argc, char *argv[]) { struct uvesafb_task tsk; + u8 *t; u8 buf[4096]; if (v86_init()) return -1; - tsk.regs.eax = 0x4f00; tsk.flags = TF_VBEIB; tsk.buf_len = sizeof(struct vbe_ib); @@ -34,14 +26,14 @@ int main(int argc, char *argv[]) printf("%s\n", ((struct vbe_ib*)buf)->oem_vendor_name_ptr + buf); tsk.regs.eax = 0x4f02; - tsk.regs.ebx = 0x0118; + tsk.regs.ebx = 0xc161; tsk.buf_len = 0; tsk.flags = 0; v86_task(&tsk, buf); printf("got eax = %x\n", tsk.regs.eax); - + v86_cleanup(); return 0; -- 2.11.4.GIT