From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 31 05:36:29 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94D4316A422 for ; Tue, 31 Jan 2006 05:36:29 +0000 (GMT) (envelope-from frol@nerve.riss-telecom.ru) Received: from nerve.riss-telecom.ru (nerve.riss-telecom.ru [80.66.65.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B46843D48 for ; Tue, 31 Jan 2006 05:36:25 +0000 (GMT) (envelope-from frol@nerve.riss-telecom.ru) Received: from nerve.riss-telecom.ru (ea7orlr235dntblm@localhost [127.0.0.1]) by nerve.riss-telecom.ru (8.13.1/8.13.1) with ESMTP id k0V5WtHF072434; Tue, 31 Jan 2006 11:32:55 +0600 (NOVT) (envelope-from frol@nerve.riss-telecom.ru) Received: (from frol@localhost) by nerve.riss-telecom.ru (8.13.1/8.13.1/Submit) id k0V5WtCQ072432; Tue, 31 Jan 2006 11:32:55 +0600 (NOVT) (envelope-from frol) Date: Tue, 31 Jan 2006 11:32:55 +0600 From: Dmitry Frolov To: Dan Nelson Message-ID: <20060131053255.GB19569@nerve.riss-telecom.ru> Mail-Followup-To: Dan Nelson , "Loren M. Lang" , FreeBSD Hackers References: <20060128071038.GA17471@alzatex.com> <20060131050446.GA19569@nerve.riss-telecom.ru> <20060131051520.GA38470@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060131051520.GA38470@dan.emsphone.com> Organization: RISS-Telecom, JSC X-PGP-Fingerprint: 5232 98E7 596E 21C2 52B5 FCAE 8088 3F87 88BC 27B0 User-Agent: Mutt/1.5.6i Cc: FreeBSD Hackers , "Loren M. Lang" Subject: Re: FreeBSD Real Mode interface X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 05:36:29 -0000 * Dan Nelson [31.01.2006 11:13]: > In the last episode (Jan 31), Dmitry Frolov said: > > * Loren M. Lang [28.01.2006 13:09]: > > > > > Is there any equivalent to the Linux Real Mode interface in FreeBSD? I > > > would like to port a program called atitvout to FreeBSD, but it uses > > > calls to the vesa bios in real mode on the x86 arch. I can't seem to > > > find out how to do this in FreeBSD. > > > > LRMI should work > > on FreeBSD since version 0.8. And here is my FreeBSD/NetBSD patch > > for atitvout (with instructions inside): > > > > http://kaya.nov.net/frol/patches/atitvout-0.4-bsd2.diff > > If this is anything like vm86 mode, check out the i386_vm86 manpage. Yes, LRMI uses i386_vm86 on FreeBSD. In addition to vm86 calls LRMI emulates instructions, that doesn't emulated in vm86, and does memory management. wbr&w, dmitry. -- Dmitry Frolov RISS-Telecom Network, Novosibirsk, Russia 66415911@ICQ, +7 3832 NO WA1T, DVF-RIPE