Search found 307 matches

by cosmito
Mon Feb 15, 2010 3:49 am
Forum: Patch Submissions
Topic: [PS2] Fix for debug library for proper video mode selection
Replies: 0
Views: 1494

[PS2] Fix for debug library for proper video mode selection

This fixes debug lib for proper PAL/NTSC screen mode initialization. It's just what gsKit currently uses that works equally well at PS2 fat and slim models. Index: src/scr_printf.c =================================================================== --- src/scr_printf.c (revision 1664...
by cosmito
Mon Feb 08, 2010 8:42 am
Forum: PS2 Development
Topic: Let's correct FCEUltra screen aspect ratio?
Replies: 9
Views: 5030

As for threas, that is way beyond my free time to investigate, so I'll have to live with it. My only real problem in PS2 front is that when I do a loop to read user input, the sound is choppy, as I am not using threads at this time (it make harder to code the parts I am really interested in). So it...
by cosmito
Mon Feb 08, 2010 2:57 am
Forum: PS2 Development
Topic: GDB on PS2
Replies: 7
Views: 15046

Hello Cosmito, are you still there ... ? What is the status of your patches on ps2gdb ? Does it still work with the latest ps2sdk ? Hi, I haven't done no more modifications since the last. I sort of gave up using gdb since it's too little user-friendly and very slow due to the network performance o...
by cosmito
Sun Jan 31, 2010 9:42 am
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 4861

You saved my sanity! I was looking for cdvd.irx for more than a hour now :) EDIT: Funny enought, if I run my elf from mass, and force all files to load from cdfs, it works. If I just boot the same elf from the cdrom, it freezes in the loading of files. Looks like I'll have to buy a lot of CDs tomor...
by cosmito
Sun Jan 31, 2010 2:14 am
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 4861

Just a quick question. I was looking at the forum for answers, but did not something more clear about running from CD. Is there a way to access cdrom: like I do for mass:? Once I did an quick example on how to load files from cdrom: device and put it into my 4shared folder (http://www.4shared.com/d...
by cosmito
Tue Jan 26, 2010 12:42 am
Forum: PS2 Development
Topic: Ps2 programming help
Replies: 8
Views: 4409

If you want to code multi-platform games, I suggest you to learn SDL, a kind of directx for multiple systems (www.libsdl.org). You can port a SDL app to PS2 without *much* problems (there are some tricks such as a maximum of 4 file handlers open at same time). SDL can be used to port your game to W...
by cosmito
Wed Jan 20, 2010 9:17 am
Forum: PS2 Development
Topic: help getting started
Replies: 3
Views: 2616

The infamous toolchain installation :)

----
edited

BTW: Search the forums for the installable SDK by LBGSHI if you're using Windows.
by cosmito
Tue Jan 05, 2010 12:39 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 8906

Will you amends give a general boost of performances when using SDL on the PS2? That would be great :) I do not think so, what would give SDL a performance boost, is having a better SDK, that I hope, will happen when ragnarok finishes his new libdraw. But then, we´ll have to port SDL to use it inst...
by cosmito
Sun Dec 20, 2009 8:53 am
Forum: PS2 Development
Topic: PSX software emulator on PS2
Replies: 9
Views: 5675

maybe because there is not many accomplished ps2 developer left? i think in this forum in early times there was alot very knowledgeable people like mr.brown, gustavo and herben and some other, but they all move on long time ago, no? if you look at old threads you will find very many interesting one...
by cosmito
Thu Dec 17, 2009 9:49 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 8906

You can remove "striped" from the primitive name, so it's gsKit_prim_sprite_texture..., to see if that helps. It'll treat the surface texture as one entire texture, instead of splitting it up into 64-pixel wide strips. That's odd... I always thought the splitting was a trick to improve pe...
by cosmito
Tue Dec 15, 2009 9:51 am
Forum: PS2 Development
Topic: PSX software emulator on PS2
Replies: 9
Views: 5675

Potentially, a PSX emu for PS2 could be like the ones from PC that even improve speed and graphics: - no need to emulate CPU - more ram and vram - but needs to emulate the GPU, so the graphics can be improved. I think no one will be doing this, but it is fun as a "science school project" ...
by cosmito
Mon Dec 07, 2009 1:43 am
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 4863

I'll post a PS2 build once I find out how to load files independently from the place (CD, DVD, HD, MC or MASS) you run the elf. You can parse the argv[0] path/filename string to figure out from which device your program was started. For the HDD case, the things are trickier, since it's reported as ...
by cosmito
Wed Dec 02, 2009 8:14 pm
Forum: PS2 Development
Topic: Run ELF within an ELF?
Replies: 6
Views: 4561

It's not that simple. You have to understand ULaunchELF source code. We will not do it for it, of course :) . If you don't, the only way is to start learning programming.
by cosmito
Mon Nov 09, 2009 7:24 pm
Forum: PS2 Development
Topic: error with ps2-packer
Replies: 2
Views: 2280

Judging by your output (gcc -O3 ...) it seems you're not using the ee-gcc from the toolchain. Mostly probabily you forgot the usual mantra : export PS2DEV=/usr/local/ps2dev export PATH=$PATH:$PS2DEV/bin export PATH=$PATH:$PS2DEV/ee/bin export PATH=$PATH:$PS2DEV/iop/bin export...
by cosmito
Wed Oct 28, 2009 8:58 am
Forum: General Discussion
Topic: Dosbox Help
Replies: 3
Views: 5926

Aemil wrote:hope this helps anyone out who comes across this exact same issue!
Thanks, I'll try it soon.
by cosmito
Sun Oct 25, 2009 9:11 am
Forum: PS2 Development
Topic: Handling Files on PS2
Replies: 21
Views: 10317

Next step is to use SDL_ttf so debugging the program will be WAY easier, and setting a subversion to store the code so other people can use or research. Yes that would be handy, at least for me as I'm starting using SDL at the PS2 and I'd prefer not to go through the same issues as you did. Current...
by cosmito
Sun Oct 25, 2009 9:05 am
Forum: PS2 Development
Topic: Handling Files on PS2
Replies: 21
Views: 10317

EDIT: Just after posting, found resetIOP seems to fix the problem. Thanks ragnarok, updating the SDK and recompiling all my libs really helped a lot. But I believe I found a real and nasty bug: When loading SIO2MAN using ret = SifLoadModule("rom0:SIO2MAN", 0, NULL); and also loading Joyst...
by cosmito
Thu Oct 15, 2009 9:07 am
Forum: PS2 Development
Topic: I might be breaking things..
Replies: 33
Views: 15702

ragnarok2040 wrote:The Makefile also uses PS2SDK instead of PS2SDKSRC and was missing some include directories when the variables were switched.
This issue is frequent at other projects... Maybe it would be good someone with admin rights to write some guidelines at the toolchain README.
by cosmito
Wed Oct 14, 2009 7:14 am
Forum: PS2 Development
Topic: I might be breaking things..
Replies: 33
Views: 15702

A IOP debug library would be very handy, indeed. Thanks.
by cosmito
Sat Sep 19, 2009 11:02 pm
Forum: PS2 Development
Topic: Network Driver ps2smap for Slim PTwo v16+ (SCPH-79001)
Replies: 16
Views: 6570

Just for the sake of curiosity, what's the meaning of the term 'smap'?
by cosmito
Sun Sep 13, 2009 8:23 pm
Forum: PS2 Development
Topic: ps2 linux on usb memory
Replies: 420
Views: 210375

The image uses the gamepad as the mouse and uses a virtual keyboard for data entry
Can you made those utils available too or provide a link to those, please?
by cosmito
Fri Sep 11, 2009 8:11 am
Forum: PSP Development
Topic: Cygwin: building libraries, fopen
Replies: 8
Views: 3572

psp-gcc ?
by cosmito
Wed Aug 26, 2009 2:57 am
Forum: PS2 Development
Topic: fileXioOpen() issue
Replies: 2
Views: 2207

I'm not sure if this is the problem, but the path doesn't require '\' or '/' at root level. Examples: mass:program.elf, mass:folder/program.elf.
by cosmito
Sun Aug 16, 2009 1:55 am
Forum: PS2 Development
Topic: apascan - Handy tool for Linux
Replies: 11
Views: 9938

Hi Chewi,

It seems gps2.aura-online.co.uk is not online... Definitely off? Any chance of uploading the apascan to somewhere else?
by cosmito
Mon Aug 03, 2009 5:01 am
Forum: PS2 Development
Topic: ps2 linux on usb memory
Replies: 420
Views: 210375

Unfornunably I cannot fix it for you but the "Patch Submissions" section (http://forums.ps2dev.org/viewforum.php?f=31) is the official place for patches.
by cosmito
Sat Jul 25, 2009 7:54 am
Forum: PS2 Development
Topic: Ifcaro's Tetris for PlayStation 2 version 1.3b
Replies: 7
Views: 6802

Any plans for releasing latest sources?
by cosmito
Wed Jul 08, 2009 8:03 am
Forum: PS2 Development
Topic: Running multiple processes concurrently (also threads)
Replies: 22
Views: 12562

Wow, many thanks EEUG!

Very clever the SleepThread() + highest priority trick :)
by cosmito
Mon Jul 06, 2009 8:42 am
Forum: PS2 Development
Topic: Running multiple processes concurrently (also threads)
Replies: 22
Views: 12562

I've been trying the code listed here and applying EEUG suggestions to do a modified small example where an alarm timer increments a counter besides taking care of thread switching and a thread checks it's value to tell the main thread about its value. It seems there's something wrong with it, and I...
by cosmito
Sun Jun 21, 2009 11:23 pm
Forum: PS2 Development
Topic: PS2 Swap Trick Question
Replies: 14
Views: 6628

As you know this is a development forum. If you have development questions to post, then you're welcome to post them. For any other type of posts you have plenty of other forums.
by cosmito
Thu May 14, 2009 9:23 am
Forum: PS2 Development
Topic: ps2 linux on usb memory
Replies: 420
Views: 210375

Mega Man wrote:NTSC/PAL detection is wrong.
This is fixed in current gsKit, no need to worry. Search for detect_signal.