[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AmigaOne / Pegasos ?

On Fri, Nov 15, 2002 at 08:22:54PM +0100, Michel Lanners wrote:
> >> Has the Pegasos such an emulator as well?
> > 
> > I don't really know about this, but there is also the int10 module in
> > the X server, which, if i am not wrong, also is an x86 emulator, which
> > is used by X to initialize the firmware of x86 only graphic boards.
> I'd be _really_ amazed if X had an x86 emulator. AFAIK, the int10 module
> is used for access to BIOS code of the board. It uses the int10
> mechanism (_very_ x86-platform-specific) to call BIOS functions.
> Needless to say, this is of no use on platforms other than x86 (maybe
> Alpha, but that's it then...).

I don't remember well, but there was discution about this a year or so
ago on the X devel list.

... looking at the X source code ...

/xc/programs/Xserver/hw/xfree86/int10/INT10.HOWTO says :

The int10 real mode executor is  designed to run on top of various x86
CPU emulators as well as in vm86  mode of a real x86 CPU. If used with
a CPU  emulator the emulator and  CPU specific interfaces  can be held
separate thus  requiring minimal efforts  to port the int10  module to
new  platforms.   Currently  an  interface  to the  x86emu  real  mode

So maybe there is not yet an x86 emulator, but it should be relatively
easy to add one.

That said, on linux/ppc, it would be more logic to do this kind of
things in the fbdev modules or something such. I still prefer to have
the information and write it myself instead of depending on i386


Sven Luther

Reply to: