Search found 36 matches

by BiB
Fri Jul 22, 2005 5:50 pm
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32733

Hi all, I have problems with textures. 1°)When i upload a texture (400*400) i get the following message : Not Enough VRAM for this allocation I have only on texture to upload and when i try to upload a smaller, it works. 2°) After uploading a (small) texture, i display it with gsKit_prim_sprite_text...
by BiB
Tue Jun 14, 2005 6:29 pm
Forum: PS2 Development
Topic: Problem with pointers on functions
Replies: 12
Views: 4261

I'll try when i repair my ps2 :S
by BiB
Mon Jun 13, 2005 5:23 pm
Forum: PS2 Development
Topic: Problem with pointers on functions
Replies: 12
Views: 4261

You're right urchin. I never tried to pass the adress of scr_printf directly to a pointer.

I pass the adress of a function which contains a scr_printf instruction inside. That's why i find this behaviour very strange.
by BiB
Sat Jun 11, 2005 12:24 am
Forum: PS2 Development
Topic: Problem with pointers on functions
Replies: 12
Views: 4261

Hmmm... it seems to be a "bug" or something strange from the scr_printf function. When i execute this piece of code : int val = 0; void test(int integer) { val = integer; //scr_printf("integer = %d\n",integer); } int main(...
by BiB
Sat Jun 11, 2005 12:08 am
Forum: PS2 Development
Topic: Problem with pointers on functions
Replies: 12
Views: 4261

i didn"t say that i tried my compiled elf on PCSX, not directly on the PS2 (which is .... how to say that.... quite dead for the moment !!! )
by BiB
Fri Jun 10, 2005 11:58 pm
Forum: PS2 Development
Topic: Problem with pointers on functions
Replies: 12
Views: 4261

Same result when i don't take the address of the function.

evilo : i also tried your solution but the result is the same as above
by BiB
Fri Jun 10, 2005 11:09 pm
Forum: PS2 Development
Topic: Problem with pointers on functions
Replies: 12
Views: 4261

Problem with pointers on functions

Hi, I want to use pointer variables who points to functions. I did this piece of code, compile well, but didn't run it correctly :s #include <tamtypes.h> #include <debug.h> typedef void &#40;*proc&#41;&#40;int&#41;; void test&#40;int integer&#41; &#123; scr_printf&#40...
by BiB
Fri Sep 10, 2004 8:53 am
Forum: PS2 Development
Topic: About PS2LINK 1.24 with embedded ELF.
Replies: 16
Views: 5567

I had the same error and this is because in sbv_patches, the lib filename is not libpatches.a but libsbv_patches.a

I just made a copy libsbv_patches.a, named libpatches.a ans it worked
by BiB
Wed Sep 01, 2004 7:07 am
Forum: PS2 Development
Topic: Problem with gslib
Replies: 3
Views: 2544

I saw that you did that for altimit but i don't understand this thing.

Can you explain me what this call does ?

Thanks
by BiB
Tue Aug 31, 2004 11:55 pm
Forum: PS2 Development
Topic: Problem with gslib
Replies: 3
Views: 2544

Problem with gslib

I am making a little sample using GsLib and i have a problem. First, I declare a gsDriver object : gsDriver GS; but when i want to do something with it, the prog hangs. For example : GS.setDisplayMode&#40;.......&#41;; I saw that when i put the declaration inside a function, it works. But i ...
by BiB
Wed Aug 25, 2004 3:55 am
Forum: PS2 Development
Topic: PS2 Emulator for software development?
Replies: 2
Views: 1961

Maybe he doesn't have a network adapter so he must burn his ELF on a cd.

2 emulators : PCSX2 and NeutrinoSX

but even if your code works fine on the emulator, maybe it won't work on your ps2, depending on the way you compiled it
by BiB
Wed Aug 25, 2004 1:24 am
Forum: PS2 Development
Topic: How to include IRX files in .ELF ?
Replies: 4
Views: 2880

ok thanks a lot for your quick and very precise answer. However i still have a problem. I downloaded Altimit 0.1 (src and bin) ans when i compile sources, i don't have the same size as the original ELF (this last works) Mine is 328 Ko (uncompressed) whereas the original is 1 Mb What am i doing wrong
by BiB
Tue Aug 24, 2004 11:48 pm
Forum: PS2 Development
Topic: How to include IRX files in .ELF ?
Replies: 4
Views: 2880

How to include IRX files in .ELF ?

Hi all,

I see that some programs don't have .IRX files but load modules anyway.
I deduce they are included in the .ELF file.

I saw that in the Altimit project, but when reading source code, i don't know how it loads module.

Can someone tell me how does it works ?

thx
by BiB
Fri Jul 23, 2004 12:57 am
Forum: PS2 Development
Topic: Undefined reference to 'main'
Replies: 4
Views: 2367

That's OK now

I remake my makefile including makefile_sample from sdk and it works

Thanks
by BiB
Thu Jul 22, 2004 11:40 pm
Forum: PS2 Development
Topic: Undefined reference to 'main'
Replies: 4
Views: 2367

Yesterday night i made it working but i unfortunately i deleted my directory :S Here ismy makefile : include $(PS2SDK)/Makefile.eeglobal EE_NAME = ps2shell EE_C = $(EE_NAME).c EE_O = $(EE_NAME).o EE_ELF = $(EE_NAME).elf EE_INCS += -I$(PS2SDK)/ee/rpc/keyboard/include EE_LIB += -L$(PS2SDK)/ee/rpc/keyb...
by BiB
Thu Jul 22, 2004 8:34 pm
Forum: PS2 Development
Topic: Undefined reference to 'main'
Replies: 4
Views: 2367

Undefined reference to 'main'

When i compile i have Undefined reference to 'main' in file crt0.o (function _exit)

What's wrong ??? I checked my c file and there is a main function
by BiB
Thu Jul 22, 2004 5:07 am
Forum: PS2 Development
Topic: Building valid elfs
Replies: 19
Views: 6648

I have compiled my own program so i can't compare with another.

In fact, I would like to know if someone already had this kind of problem and if he haf found a solution
by BiB
Thu Jul 22, 2004 3:30 am
Forum: PS2 Development
Topic: Building valid elfs
Replies: 19
Views: 6648

Someone knows where is the problem ?????
by BiB
Thu Jul 22, 2004 2:00 am
Forum: PS2 Development
Topic: Building valid elfs
Replies: 19
Views: 6648

daveb, can you send me your 2 elf files please ?

bib_12345@hotmail.com

thx
by BiB
Thu Jul 22, 2004 12:44 am
Forum: PS2 Development
Topic: Building valid elfs
Replies: 19
Views: 6648

i forgot to tell you that the elf runs fine on an emul

I can't send the .elf file to the ps2 console
by BiB
Thu Jul 22, 2004 12:43 am
Forum: PS2 Development
Topic: Building valid elfs
Replies: 19
Views: 6648

I haver the same problem.

I saw something like a start address ofr a .elf file (i don't remember where i read it)

Maybe the problem comes from this wrong address.

Someone heard about this address ???
by BiB
Fri Jul 16, 2004 6:45 am
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32733

sorry i just read license and readme files :(
by BiB
Fri Jul 16, 2004 4:21 am
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32733

I'm just starting with gsKit ans I would like to know if we can put textures (bmp, jpg , c files).

If it is possible how can we do it ?

Thanks
by BiB
Tue Jul 13, 2004 6:48 am
Forum: PS2 Development
Topic: Graphic lib in ps2sdk ???
Replies: 3
Views: 2293

ok thanks a lot for your answers
by BiB
Mon Jul 12, 2004 9:43 pm
Forum: PS2 Development
Topic: Graphic lib in ps2sdk ???
Replies: 3
Views: 2293

Graphic lib in ps2sdk ???

Hi

I would like to know if there is a graphic library included in ps2sdk because i didn't see it.

If there isn't, the best graphic lib is gsKit isn't it ?
by BiB
Tue Jun 29, 2004 10:55 pm
Forum: PS2 Development
Topic: To compile under Windows
Replies: 9
Views: 4801

Thanks for all your answers but when reading another post, i found a link to a toolchain script. I tried it and it works perfectly under Cygwin.

Now i can compile the hello example without any problem.

:)

Thanks J.F and Drakonite :wink:
by BiB
Tue Jun 29, 2004 1:59 am
Forum: PS2 Development
Topic: How can i build ps2ftpd?
Replies: 6
Views: 3623

if I understood correctly what you say, if i want to configure cygwin to work with ps2 compiler, i just have to run this script, and that's all ???
by BiB
Tue Jun 29, 2004 1:53 am
Forum: PS2 Development
Topic: To compile under Windows
Replies: 9
Views: 4801

Finally i installed Cygwin but i still have a problem. I still want to compile the hello example from the ps2sdk library. When compiling, it doesn't find sio.h but the file is in the include directory which is in -I option. When i comment in the code #include <sio.h> and the call to this library, i ...
by BiB
Mon Jun 28, 2004 8:23 pm
Forum: PS2 Development
Topic: To compile under Windows
Replies: 9
Views: 4801

Ok thanks.

I also tried with dev-cpp, configure the compiler and there was only one problem.

After setting up include path and lib path i had only one error when compiling :
'Unable to run program' line 2
I didn't run the prog, just compiled it.

Do you know where the problem is ?
by BiB
Mon Jun 28, 2004 8:38 am
Forum: PS2 Development
Topic: To compile under Windows
Replies: 9
Views: 4801

Ok thanks

I tried before with Cygwin but it never worked.

I will try with VS6.