RE: [AD] Porting Allegro to the PS2 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> aslo have no access to the IOP which controlls copyprotection
> and the
> boot process. I did get 6 of the 7 devopers manuals (IOP one
> is missing)
Do you have libraries supplied to access the IOP though ?
Or is the sound processing bit moved to the EE ?
> What the best course of action then is to make the ./configre
> script
> flag that my linux is not a linux, but should be treated as a
> generic
> unix. 'uname -s -m -p' returns "Linux mips unknown" But the
> cool linux
> stuff like keyboard and mouse would be useful.
sed comes to mind. A quick starting point would be to add a
simple --enable-ps2 switch to configure, and worry about
autodetection afterwards.
> also My "joystick" is a little more strange than your normal PC
> joystick. (analage butotns, two analage joysticks and a
> d-pad) so there
> might me a bit of an altercation to the joystick code.
Allegro already supports the original PSX controller, I think,
so that should be not too painful (I've never looked at the
joystick code as I don't have one, so YYMV). But, again, due
to the vtable use, special code for the DS2 would be PS2
specific, so would be shielded from other code/drivers and
other code/drivers would be shielded from it. You might have
to add a bit to the exposed API, to increase the number of
buttons on a device though.
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |