FreeBSD Real Mode interface

Dmitry Frolov frolov at riss-telecom.ru
Mon Jan 30 21:36:29 PST 2006


* Dan Nelson <dnelson at allantgroup.com> [31.01.2006 11:13]:

> In the last episode (Jan 31), Dmitry Frolov said:
> > * Loren M. Lang <lorenl at alzatex.com> [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 <http://sourceforge.net/projects/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 <frolov at riss-telecom.ru>
RISS-Telecom Network, Novosibirsk, Russia
66415911 at ICQ, +7 3832 NO WA1T, DVF-RIPE


More information about the freebsd-hackers mailing list