SDL video on PS2 Linux in console mode

I’m from the PS2Linux community, and no-one there had
any answers for me so I thought I’d post here too :slight_smile:

OK, the PS2 has only 32Mb of RAM, so I’d like to
develop SDL games which run in console mode, no X.

I’ve installed the mipsel version of SDL (and
SDL-devel) and compiled some of the example programs
lovely.

My problem is, the picture seems to be screwed up.
The only problem I can see is that the display starts
in the center of the screen instead of the left edge
of the screen, continues to the right such that the
video which should be at the center of the screen is
on the right edge, then wraps around so that what
should be on the right edge is back in the middle
again. i.e:

Should be

Left---->Center—>Right

But I get
Left->Center
Center->Right

Has anyone else had/fixed these problems? I haven’t
tested it under X yet, but I don’t want to run X just
to run my game.

Thanks in advance for any help

Eratosthenes__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

I’m from the PS2Linux community, and no-one there had
any answers for me so I thought I’d post here too :slight_smile:

OK, the PS2 has only 32Mb of RAM, so I’d like to
develop SDL games which run in console mode, no X.

I’ve installed the mipsel version of SDL (and
SDL-devel) and compiled some of the example programs
lovely.

My problem is, the picture seems to be screwed up.

I’ve never seen this. Does it happen with the SDL test programs?
If it happens with your program, are you locking the screen before
touching pixels?

Does it happen with the latest CVS version?
http://www.libsdl.org/cvs.php

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment