Re: Why VESA and DPMS are available only for i386?

From: Pedro Giffuni <pfgshield-freebsd_at_yahoo.com>
Date: Mon, 15 Sep 2008 13:43:31 -0700 (PDT)
On Mon, Sep 15, 2008 at 1:32 PM, Jung-uk Kim <jkim_at_freebsd.org> wrote:
...
>> Another way would be to write a 32bit x86 instruction
>> emulator (similar to what programs like qemu or bochs do),
>> so you can execute the VESA functions within an emulated
>> virtual machine that programs the VGA hardware registers.
>> This isn't exactly trivial either.  Note that there are
>> already such emulators, but I'm not aware of a BSD-licensed
>> one that could be included in the FreeBSD kernel without
>> problems.
>
> doscmd(1) had a rudimentary 16-bit CPU emulation:
>

FWIW,

I can't find any reference, but according to the Wikipedia, even in long mode AMD64 is able to run 16-bit (or 80286) protected mode applications:

http://en.wikipedia.org/wiki/AMD64#Operating_modes

Pedro.

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
Received on Mon Sep 15 2008 - 18:43:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC