Search found 15 matches

by wing64
Thu Aug 10, 2006 1:05 pm
Forum: PS2 Development
Topic: Fast mirror image
Replies: 3
Views: 2495

Here this code for mirror surface if (SDL_MUSTLOCK(src)) SDL_LockSurface(src); if (SDL_MUSTLOCK(des)) SDL_LockSurface(des); Uint8* sdata = (Uint8*)src->pixels; Uint16 spitch = src->pitch; ...
by wing64
Tue Aug 08, 2006 8:44 pm
Forum: PS2 Development
Topic: Fast mirror image
Replies: 3
Views: 2495

Fast mirror image

Hello guy
I use SDL for display image but when i need mirror my image i locked surface and for-loop width and height to swap pixel and draw to surface.
That's a problem it very slow. Anybody have a fast algorithm for mirror image please help me..... :-(
best regards
wing64
by wing64
Fri Jul 28, 2006 8:19 pm
Forum: PS2 Development
Topic: video with smpeg problem
Replies: 0
Views: 1263

video with smpeg problem

Hello I use smpeg for load video mpeg1 and found problems. If run by network with ps2link program can display video mpeg1 correct but when change prorgam run from memorycard or burn to cd-rom then video mpeg1 not display on screen is show black screen. Why program run by ps2link can display video co...
by wing64
Fri Apr 21, 2006 5:49 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Inlink said message in status bar tranfering file 001.wav at 0% then i wait about 5 minute inlink not tranfer 001.wav file. What happen i don't understand ?

Image
by wing64
Thu Apr 20, 2006 6:21 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Hi
Inlink and ps2ling both work fine (for init audio system only) but load sound i have a problem (see question above post)
best regards
wing64
by wing64
Thu Apr 20, 2006 5:49 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Hi 1. Now... SDL_INIT_AUDIO work ok. When program load my own sound (001.wav) ps2client said load successed (see message below) but sound not going out (i set volume to MIX_MAX_VOLUME by function Mix_Volume and Mix_VolumeMusic but i can't here any sound). How do i ? 2. How do i play mp3 , ogg and mi...
by wing64
Thu Apr 20, 2006 2:54 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Hi
I trace SDL and found error at SDL_ps2audio.c in function spu2_init() when call audsrv_init() my program freeze in this function. So..How should i do fix it ?
best regards
wing64
by wing64
Thu Apr 20, 2006 2:41 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Hi - PSTwo model 70006 cb (NTSC/J) - i define SDL_Main already and add sdl_main.a in EE_LIBS flags but it not work program freeze at SDL: initializing gsKit in NTSC mode (see message from inlink below) [NET] : Executing host:C:\cygwin\home\m13sdl101\sources\m1...
by wing64
Tue Apr 18, 2006 11:32 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Hello
But when i set SDL_INIT_AUDIO flag in function SDL_Init() program will freeze and any flag SDL_INIT_TIMER , SDL_INIT_VIDEO , SDL_INIT_JOYSTICK it work fine. What's happened in my SDL lib ? :-(
beset regards
wing 64
by wing64
Tue Apr 18, 2006 10:44 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Thank you very much. It's work.
best regards.
wing64
by wing64
Mon Apr 17, 2006 1:03 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Hello I don't know this's correct. I add this code to function PS2_UpdateRects() before call gsKit_sync_flip(gsGlobal); in SDL_ps2video.c then it work fine /* execute render queue */ gsKit_queue_exec(gsGlobal); but when run my screen have a black rectangle in left screen (see image b...
by wing64
Sun Apr 16, 2006 3:47 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

screen image problem

Hello
First image is run .elf on InLink.

Image

Second image is run .elf on Ps2Link.

Image

I don't understand this problem with SDL lib or PS2SDK or GSKit. Please help..

best regards
wing64
by wing64
Sat Apr 15, 2006 8:04 pm
Forum: PS2 Development
Topic: Problem with screen when run .elf
Replies: 19
Views: 5927

Problem with screen when run .elf

Hello I compile my own program use SDL already and have .elf file. When i run program by InLink v1.3.7 then screen (on TV) is crash. What's happened ? Please suggest me. best regards wing64 SourceCode Program #include <stdio.h> #include "SDL.h" int main&#40;int argc, char *argv&#91...
by wing64
Tue Apr 11, 2006 12:15 pm
Forum: PS2 Development
Topic: Configure option when compile SDL on ps2
Replies: 2
Views: 1550

thank you for reply :-)
by wing64
Sun Apr 09, 2006 5:37 pm
Forum: PS2 Development
Topic: Configure option when compile SDL on ps2
Replies: 2
Views: 1550

Configure option when compile SDL on ps2

Hello
When i setup PS2DEV and cygwin allready then i want to compile SDL
for use on ps2. How do i compile SDL ? When ./configure in SDL folder i need use what option or not ? Please...explain me.
best regards
wing64