applied, thank you. also fixed some bugs in code:
properly convert the register values from the 386 ureg.
read back #P/realmodemem on every access as some graphics cards
use the a segment as memory mapped i/o. (Matrox MILLENNIUM)
we dont use #v/vgabios anymore and rely on #P/realmodemem to
h
Cinap suggested invoking realemu in a subshell so that the
process exits after aux/vga completes. The following is a patch
for the man page.
-sl
% diff -n -c /sys/man/8/realemu.orig /sys/man/8/realemu
/sys/man/8/realemu.orig:84,89 - /sys/man/8/realemu:84,102
the
.I srvname
argument then it
With the latest realemu, graphics and rio are finally working in my
VMware Workstation 6.5.1 guest:
% aux/vga -m vesa -p
vesa flagUlinear|Hlinear
vesa sigVESA 2.0
vesa oemV M ware, Inc. VBE support 2.0 2.0
vesa vendor VMware, Inc
vesa productVMw
>> huh? what does libmach (which takes apart executables)
>> have to do with any of this?
>>
> Did I get the wrong impression when I perceived libmach, as released
> with GoLang - cause that's where I looked - seemingly quite capable of
> synthesising as well as analysing binary images?
i think y
On Mon, Mar 07, 2011 at 09:19:58AM -0500, Russ Cox wrote:
>
> huh? what does libmach (which takes apart executables)
> have to do with any of this?
>
Did I get the wrong impression when I perceived libmach, as released
with GoLang - cause that's where I looked - seemingly quite capable of
synthe
On Mon, Mar 7, 2011 at 7:23 AM, erik quanstrom wrote:
>> in /dev/realmode, you write a struct Ureg (from /386/include/ureg.h)
>> (in x86 machine byte order?) containing the register contents and the
>> interrupt number of the bios call you want to make.
>
> yes. you should use libmach to do this
On Mon, Mar 07, 2011 at 07:23:36AM -0500, erik quanstrom wrote:
>
> > in /dev/realmode, you write a struct Ureg (from /386/include/ureg.h)
> > (in x86 machine byte order?) containing the register contents and the
> > interrupt number of the bios call you want to make.
>
> yes. you should use lib
> in /dev/realmode, you write a struct Ureg (from /386/include/ureg.h)
> (in x86 machine byte order?) containing the register contents and the
> interrupt number of the bios call you want to make.
yes. you should use libmach to do this dirty work.
- erik
> On Mon, Mar 07, 2011 at 11:39:10AM +0100, cinap_len...@gmx.de wrote:
> > /dev/realmodemem is just an image of the first megabyte of
> > physical memory that is addressable from 16 bit realmode.
> >
> That being where the machine's BIOS resides, if memory serves.
> Plus whatever can fit in there
On Mon, Mar 07, 2011 at 11:39:10AM +0100, cinap_len...@gmx.de wrote:
>
> the /dev/realmode intraface was not documented, but it is very simple.
>
Thank you for explaining this.
> /dev/realmodemem is just an image of the first megabyte of
> physical memory that is addressable from 16 bit realmode
the /dev/realmode intraface was not documented, but it is very simple.
/dev/realmodemem is just an image of the first megabyte of
physical memory that is addressable from 16 bit realmode.
plan9 reserves a 4k page at 0x9000 (defined as RMBUF) that can be
refered to in the bios call as data buffer.
> mkfile is fixed now. will install itself into /$objtype/bin/aux/realemu
> and install realemu (8) manpage.
>
> impovement on the manpage is welcome as my english is not so good :)
Again, I'm delaying testing because I need to install a different
video card in the available hardware, but I'm lo
yes, this started as 8i from russ. it was renamed to realemu after i
made it into a fileserver providing /dev/realmode and
/dev/realmodemem. this way i dont have to reimplement aux/vga's vesa
code and it can be used as drop in replacement. (just start it before
running aux/vga)
mkfile is fixed n
> for everyone running realemu, please try with the new version to
> see if i broke something.
Why TARG=qi in the mkfile (I would have guessed 8i, but I could be
wrong)? and I think the error:
term% mk install
cp 8.out $BIN/qi
rc: null list in concatenation
mk: cp
for everyone running realemu, please try with the new version to
see if i broke something.
the changes include:
switch back to textmode works now, as we use #P/realmodemem to
wite back changes to physical memory in the range B-A.
with realemu and the patch (see below), i'm able to switch
15 matches
Mail list logo