Re: [AD] Porting Allegro to the PS2

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Hmm... it seems that the 'iopl()' (I/O privilege level) call is not
> available on PS/2 linux.

Obviously.

> But I think these iopl() calls are only used in the VGA/ModeX type
> things again.

Right.

> In the long run, these bits need to be wrapped in an autoconf test and
> not compiled if Allegro is compiled without VGA (ie. `--disable-vga').
> The patch should be trivial; only I don't know how autoconf works.
> (Presumably it defines a preprocessor macro if VGA is required?).

ALLEGRO_LINUX_VGA (see alunixac.hin for the list of all macros manipulated
by the autoconf machinery).

I think we have to fix the machinery so that ALLEGRO_LINUX_VGA is not
defined if ALLEGRO_NO_ASM is defined.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/