From 93b9795a5a6254cc32b2f226315ed05342911a0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Januszewski?= Date: Sun, 2 Dec 2007 12:00:16 +0100 Subject: [PATCH] Include the video mode list location in the debug messages. --- v86_common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/v86_common.c b/v86_common.c index 87f4eb2..56f7361 100644 --- a/v86_common.c +++ b/v86_common.c @@ -57,6 +57,7 @@ int v86_task(struct uvesafb_task *tsk, u8 *buf) t = addr(ib->mode_list_ptr); /* Mode list is in the buffer, we're good. */ if (t < bufend) { + ulog(LOG_DEBUG, "The mode list is in the buffer at %.8x.", t); ib->mode_list_ptr = t - lbuf; /* Mode list is in the ROM. We copy as much of it as we can @@ -64,6 +65,8 @@ int v86_task(struct uvesafb_task *tsk, u8 *buf) } else if (t > 0xa0000) { u16 tmp; + ulog(LOG_DEBUG, "The mode list is in the Video ROM at %.8x", t); + td = (u16*) (buf + 512); while (fsize > 2 && (tmp = v_rdw(t)) != 0xffff) { -- 2.11.4.GIT