From owner-freebsd-current@FreeBSD.ORG Mon Sep 15 20:43:33 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D83A106567E for ; Mon, 15 Sep 2008 20:43:33 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32701.mail.mud.yahoo.com (web32701.mail.mud.yahoo.com [68.142.207.245]) by mx1.freebsd.org (Postfix) with SMTP id C85858FC0C for ; Mon, 15 Sep 2008 20:43:32 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 54799 invoked by uid 60001); 15 Sep 2008 20:43:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=OMrAYdMYxIY0YXYjnKq37BlPU2lX/ussgLdxclkVU3SJwy0rnMDtmaqTKWkPer0AJeWsRUH6Q6ioWSacOYDbkoRlIdXB+0+IMnwCtWOq+db57O671ZLlTQxUaHL8EmyBgW4gQ3S5LzeLH27Twig4/fr1nnfqT4CdTKhDPM3xs70=; X-YMail-OSG: yEha468VM1l0oFYtwjFJu6606yF9b_q3LDprWqjft2m8ol8Q9rAsFxa3So7v2KguXQFxQ1vgYJDzlv3lWgeO2MrieBDrKBn_KwcOVhCRoapvI9Ml2EMDqWbEoHH8kJh6wFNEOXKIp5oWqxuyo4kzOt4- Received: from [190.158.44.173] by web32701.mail.mud.yahoo.com via HTTP; Mon, 15 Sep 2008 13:43:31 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 15 Sep 2008 13:43:31 -0700 (PDT) From: Pedro Giffuni To: Jung-uk Kim MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <179579.54770.qm@web32701.mail.mud.yahoo.com> X-Mailman-Approved-At: Mon, 15 Sep 2008 20:50:28 +0000 Cc: Oliver Fromme , freebsd-current@freebsd.org, Xin LI Subject: Re: Why VESA and DPMS are available only for i386? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 20:43:33 -0000 On Mon, Sep 15, 2008 at 1:32 PM, Jung-uk Kim 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 mo= de AMD64 is able to run 16-bit (or 80286) protected mode applications: http://en.wikipedia.org/wiki/AMD64#Operating_modes Pedro.=0A=0A__________________________________________________=0ADo You Yah= oo!?=0APoco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da= tanto spazio gratuito per i tuoi file e i messaggi =0Ahttp://mail.yahoo.it=