On Mon, Mar 7, 2011 at 7:23 AM, erik quanstrom <quans...@quanstro.net> 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 dirty work.

huh?  what does libmach (which takes apart executables)
have to do with any of this?

the interface is well defined and portable: it is an x86 Ureg
struct in x86 byte order, because you are executing x86 code.

i think cinap's structuring of realemu as a file server is very
elegant, and i say that as the author of both 8i and /dev/realmode.
it's one of those things that is completely unexpected and yet
falls out quite naturally from the general plan 9 approach.
very very cool.

russ

Reply via email to