Le Mon, 1 Sep 2008 17:56:13 +0800,
ZelluX <[EMAIL PROTECTED]> a écrit :

> I want to enter v86 mode and switch to VGA Mode 13h to draw some
> pictures. Now i can enter v86 mode with IRET instruction setting VM
> flag in the eflags register.
> 
> But since v86 mode supports only 16-bit address, how can i let the cpu
> executes instructions beyond 0x100000 which includes setting VGA Mode
> 13h and drawing pictures?

Why would you want to do that under Linux ? Linux exposes a generic
framebuffer API to userspace, using which you can draw anything on the
screen. However, most people are using a high-lever library like
DirectFB, which makes the use of the framebuffer much easier.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to