Seite 81 von 340 ErsteErste ... 31 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 131 181 ... LetzteLetzte
Zeige Ergebnis 2.401 bis 2.430 von 10174

C/C++ Programming Help Thread

This is a discussion on C/C++ Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Do you know what is meant by "call by reference" and "call by value"?! and more general how pointer works? ...

  
  1. #2401
    Developer
    Points: 14.558, Level: 78
    Level completed: 27%, Points required for next Level: 292
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    166
    Points
    14.558
    Level
    78
    Downloads
    0
    Uploads
    0

    Standard

    Do you know what is meant by "call by reference" and "call by value"?!
    and more general how pointer works?
    char *function(char *key)
    {
    sprintf(key, "hi");
    return key;
    }
    1. why is your function type "char *" ?
    void will do the same as the functions return ability is not used in main()
    int main()
    {
    char key[20];
    function(key);
    }
    ->useless
    Therefore the return statement in your function is useless too.
    You already passed key by reference ;)

    proper use would look like this:
    int main()
    {
    char *p;
    p = foo(16);
    }

    char *foo(int size)
    {
    char *t;
    t = (char *)malloc(sizeof(char)*siz e);
    return t;
    }
    This will allocate a char array $size elements.
    You allocate memory dynamically which will stay in memory even if the function returns and then you return the location for your allocated space which will be stored in t, now you are ready to use it ;)



  2. #2402
    Developer
    Points: 5.359, Level: 47
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Ort
    Norway
    Beiträge
    384
    Points
    5.359
    Level
    47
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von tommydanger
    Do you know what is meant by "call by reference" and "call by value"?!
    and more general how pointer works?

    1. why is your function type "char *" ?
    void will do the same as the functions return ability is not used in main()
    ->useless
    Therefore the return statement in your function is useless too.
    You already passed key by reference ;)
    well the use of the return value I were thining of was if you used the funtction like,

    printf("%s", function(key));

    then the return value would be used.

    I ofcourse know that it wouldn't do anything in the code i posted :/

    also, no I don't know what "call by reference" and "call by value" means (I'm going to find out though), but I know how pointers work.


  3. #2403
    QJ Gamer Bronze
    Points: 5.650, Level: 48
    Level completed: 50%, Points required for next Level: 100
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    338
    Points
    5.650
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von tommydanger
    Do you know what is meant by "call by reference" and "call by value"?!
    and more general how pointer works?

    1. why is your function type "char *" ?
    void will do the same as the functions return ability is not used in main()
    ->useless
    Therefore the return statement in your function is useless too.
    You already passed key by reference ;)

    proper use would look like this:
    Code:
    int main()
    {
    char *p;
    p = foo(16);
    }
    
    char *foo(int size)
    {
    char *t;
    t = (char *)malloc(sizeof(char)*siz e);
    return t;
    }
    This will allocate a char array $size elements.
    You allocate memory dynamically which will stay in memory even if the function returns and then you return the location for your allocated space which will be stored in t, now you are ready to use it ;)
    Okay, so you open a portion of memory that won't be cleared before the return by using the malloc and you tell it the number of bytes to prepare to accept. Next, you substitute the open number of bytes to the numbers of characters it will be able to hold including the '\0'.
    This allows you to pass a character or set of characters outside a function, right?
    why does passing characters and strings differ so much from passing integers and other values?
    and t returns the address, correct? Meaning that the actual string will be found it 'p', this is though, like addressing using the '&' or am I lost?
    Does this mean you could pull the string by using '&t'

    and do you have to have a pointer created outside the function to hold the actual value to be read... is there no way to read it directly from the function's return, that's just how it seems.

  4. #2404
    QJ Gamer Green
    Points: 6.697, Level: 53
    Level completed: 74%, Points required for next Level: 53
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    In The PSP
    Beiträge
    804
    Points
    6.697
    Level
    53
    Downloads
    0
    Uploads
    0

    Standard

    Hey everyone im back xD I was redoing some of the tutorials as i suck at coding still....and i cant find my error here. can anyone help me?

    Code:
    //Button Pushing Will this work?
    
    #include <pspkernel.h>
    #include <pspdebug.h>
    #include <pspctrl.h>
    #define printf pspDebugScreenPrintf
    
    PSP_MODULE_INFO("DisplayClearReappear", 0, 0, 1);
    
    
     /* Exit callback */
    int exit_callback(int arg1, int arg2, void *common) {
              sceKernelExitGame();
              return 0;
    }
    
    /* Callback thread */
    int CallbackThread(SceSize args, void *argp) {
              int cbid;
    
              cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
              sceKernelRegisterExitCallback(cbid);
    
              sceKernelSleepThreadCB();
    
              return 0;
    }
    
    /* Sets up the callback thread and returns its thread id */
    int SetupCallbacks(void) {
              int thid = 0;
    
              thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
              if(thid >= 0) {
                        sceKernelStartThread(thid, 0, 0);
              }
    
              return thid;
    }
    
    int main(){
      pspDebugScreentInit();
      SetupCallbacks();
      printf("Push [x] to display \n Push [o] to display something else \n push [^] to display other thing \n push [ ] to display i forgot whhat it displays");
      while(1){
        if(pad.Buttons&PSP_CTRL_CROSS){
          printf("you have found hidden content \n not much of a secret ...");
        }
        if(pad.Buttons&PSP_CTRL_CIRCLE){
          printf("i dont have anything to say but yay");
        }
        if(pad.Buttons&PSP_CTRL_SQUARE){
          printf("what happens now?");
        }
        if(pad.Buttons&PSP_CTRL_TRIANGLE){
          printf("is this for real");
        }
      }
      return 0;
    }
    Heres the result from CYGWIN

    Code:
    $ make kxploit
    psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall   -c -o main.o mai
    n.c
    main.c: In function 'main':
    main.c:42: warning: implicit declaration of function 'pspDebugScreentInit'
    main.c:46: error: 'pad' undeclared (first use in this function)
    main.c:46: error: (Each undeclared identifier is reported only once
    main.c:46: error: for each function it appears in.)
    make: *** [main.o] Error 1

    Thansk everyone
    Linux + Windows = Lindows FTW

  5. #2405
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    It's pspDebugScreenInit() not pspDebugScreentInit()

    Declare a pad variable before your while(1) loop (SceCtrlData pad;)

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  6. #2406
    QJ Gamer Green
    Points: 6.697, Level: 53
    Level completed: 74%, Points required for next Level: 53
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    In The PSP
    Beiträge
    804
    Points
    6.697
    Level
    53
    Downloads
    0
    Uploads
    0

    Standard

    xD thats it. im a bit tired lol. sorry. Thanks so much

    edit: aww crud. i still have a couple of errors still im goiing to try to resolve. does anyonee have any clue?

    thanks insomniac.
    Geändert von Sethis (12-23-2006 um 08:54 AM Uhr)
    Linux + Windows = Lindows FTW

  7. #2407
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    You'll also need to 'sceCtrlPeekBufferPositiv e(&pad, 1);' at the start of your while loop.

    What other errors are you having exactly?

    Your main code should look like this:

    Code:
    int main(){
      pspDebugScreenInit();
      SetupCallbacks();
      SceCtrlData pad;
      printf("Push [x] to display \n Push [o] to display something else \n push [^] to display other thing \n push [ ] to display i forgot whhat it displays");
      while(1){
        sceCtrlPeekBufferPositive(&pad, 1);
        if(pad.Buttons&PSP_CTRL_CROSS){
          printf("you have found hidden content \n not much of a secret ...");
        }
        if(pad.Buttons&PSP_CTRL_CIRCLE){
          printf("i dont have anything to say but yay");
        }
        if(pad.Buttons&PSP_CTRL_SQUARE){
          printf("what happens now?");
        }
        if(pad.Buttons&PSP_CTRL_TRIANGLE){
          printf("is this for real");
        }
      }
      return 0;
    }

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  8. #2408
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    how do you work with font?
    like bigger font size, your own font,....
    Geändert von hallo007 (12-23-2006 um 11:41 AM Uhr) Grund: Automerged Doublepost

  9. #2409
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    You could use my fontloader utility.

    http://insomniac.0x89.org/index.php?id=46

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  10. #2410
    words are stones in my <3
    Points: 35.274, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    Spokane
    Beiträge
    5.008
    Points
    35.274
    Level
    100
    My Mood
    Lonely
    Downloads
    1
    Uploads
    0

    Standard

    Or use that TrueTypeFont library, freetype I think its called (freetype version 2 i think).

    Oh and Insomniac - sceCtrlPeekBufferPositive has a down side besides just faster recognition of a button pressed - if you have too many button's needing checked and you use it, some may not be registered as pressed while some may, so if your using some all at once key combo, dont use PeekBuffer... Rather ReadBuffer...

    Atleast thats what Ive read and changed some sentences here and there ;)

    ...at what speed must I live.. to be able to see you again?...

    Projects

    You can support my Open World 3D RPG for PSP by voting for it here


  11. #2411
    QJ Gamer Green
    Points: 5.712, Level: 48
    Level completed: 81%, Points required for next Level: 38
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    USA SC/NC
    Beiträge
    699
    Points
    5.712
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    I am looking for a way to place a file inside of an eboot. I honestly dont know where to look. What I mean is actually having a file that I need, inside of an eboot.pbp. An example of this is a 2.71/8 hybrid flasher. It was an eboot with 4 PRX's built into it. I just need to know where i need to begin looking.

    Tried PS2DEV search...I cant seem to find what im looking for. Help.
    [CODE]Random Facts:
    irc://irc.malloc.us #wtf #**********
    [/CODE]

    [SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]

  12. #2412
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Code:
    Image* background= loadImage("background.png");  
    blitAlphaImageToScreen(0, 0, 480, 272, background, 0, 0);
    now i want that it is the background , so a screenclear will let it stay
    in, the header file i found this:
    Code:
    void pspDebugScreenSetBackColor(u32 color);

    how do i change i so it loads the image?

  13. #2413
    words are stones in my <3
    Points: 35.274, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    Spokane
    Beiträge
    5.008
    Points
    35.274
    Level
    100
    My Mood
    Lonely
    Downloads
    1
    Uploads
    0

    Standard

    ..... You cant. Thats the debug console, solely there for debugging as in... if !loadImage { printf("error loading whatever image"); }

    There's nothing graphical about it besides its 96 printable characters, and its manipulatable color scheme. Stop using it to make an externally loading image-based game. You can, however, combine graphics with the debug console in a different way, but it requires knowledge of the PSPs Graphic's Utility and setting the Debug consoles framebuffer address to match that of the one youll be using. This is done in those Nehe GU tutorials.

    ...at what speed must I live.. to be able to see you again?...

    Projects

    You can support my Open World 3D RPG for PSP by voting for it here


  14. #2414
    words are stones in my <3
    Points: 35.274, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    Spokane
    Beiträge
    5.008
    Points
    35.274
    Level
    100
    My Mood
    Lonely
    Downloads
    1
    Uploads
    0

    Standard

    ..... You cant. Thats the debug console, solely there for debugging as in... if !loadImage { printf("error loading whatever image"); }

    There's nothing graphical about it besides its 96 printable characters, and its manipulatable color scheme. Stop using it to make an externally loading image-based game. You can, however, combine graphics with the debug console in a different way, but it requires knowledge of the PSPs Graphic's Utility and setting the Debug consoles framebuffer address to match that of the one youll be using. This is done in those Nehe GU tutorials.

    ...at what speed must I live.. to be able to see you again?...

    Projects

    You can support my Open World 3D RPG for PSP by voting for it here


  15. #2415
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    k thnx , because i have a background image and every time I press a button it needs to be reloaded and that's ......

    btw you pressed two times on post repley;)
    -= Double Post =-
    this app works great exept , when i pres one time a button the background stay , when i press a second time a button the background refresh , when i press i third time a button the background stay and so on

    whats the problem????
    Spoiler for g:
    /************************* ************************* ************************* *******************/
    void clearscreen()
    {
    pspDebugScreenClear();
    blitAlphaImageToScreen(0, 0, 480, 272, background, 0, 0);

    }
    /************************* ************************* ************************* ********************/
    void show_menu()
    {


    clearscreen();


    if(main_value==1)
    {

    printg(340,0 , "made by hallo007" , 0xFF0000);
    printg(195,130," Your personel settings" , 0x330000);
    printg(195,140," Other", 0x660000);
    printg(195,150," Exit", 0xAA0000);
    printg(195,160,"--> Dumping Tools <-- ", 0xFF0000);
    printg(195,170," Customize the sony firmware", 0xAA0000);
    printg(195,180," UMD/ISo Tools", 0x660000);
    printg(195,190," toggle USB on", 0x330000);
    flipScreen();
    }
    else if(main_value==2)
    {

    printg(340,0 , "made by hallo007" , 0xFF0000);

    printg(195,130," Other", 0x660000);
    printg(195,140," Exit", 0xAA0000);
    printg(195,150," Dumping Tools ", 0xFF0000);
    printg(195,160,"--> Customize the sony firmware <--", 0xAA0000);
    printg(195,170," UMD/ISo Tools", 0x660000);
    printg(195,180," toggle USB on", 0x330000);
    printg(195,190," Your personel settings" , 0x330000);
    flipScreen();
    }
    else if(main_value==3)
    {
    printg(340,0 , "made by hallo007" , 0xFF0000);
    printg(195,130," Exit", 0xAA0000);
    printg(195,140," Dumping Tools ", 0xFF0000);
    printg(195,150," Customize the sony firmware ", 0xAA0000);
    printg(195,160,"--> UMD/ISo Tools <--", 0x660000);
    printg(195,170," toggle USB on", 0x330000);
    printg(195,180," Your personel settings" , 0x330000);
    printg(195,190," Other", 0x660000);
    flipScreen();
    }
    else if(main_value==4)
    {
    printg(340,0 , "made by hallo007" , 0xFF0000);

    printg(195,130," Dumping Tools ", 0xFF0000);
    printg(195,140," Customize the sony firmware ", 0xAA0000);
    printg(195,150," UMD/ISo Tools ", 0x660000);
    printg(195,160,"--> toggle USB on <--", 0x330000);
    printg(195,170," Your personel settings" , 0x330000);
    printg(195,180," Other", 0x660000);
    printg(195,190," Exit", 0xAA0000);
    flipScreen();
    }
    else if(main_value==5)
    {
    printg(340,0 , "made by hallo007" , 0xFF0000);


    printg(195,130," Customize the sony firmware ", 0xAA0000);
    printg(195,140," UMD/ISo Tools ", 0x660000);
    printg(195,150," toggle USB on ", 0x330000);
    printg(195,160,"--> Your personel settings <--" , 0x330000);
    printg(195,170," Other", 0x660000);
    printg(195,180," Exit", 0xAA0000);
    printg(195,190," Dumping Tools ", 0xFF0000);
    flipScreen();
    }
    else if(main_value==6)
    {
    printg(340,0 , "made by hallo007" , 0xFF0000);
    printg(195,130," UMD/ISo Tools ", 0x660000);
    printg(195,140," toggle USB on", 0x330000);
    printg(195,150," Your personel settings" , 0x330000);
    printg(195,160,"--> Other <--", 0x660000);
    printg(195,170," Exit", 0xAA0000);
    printg(195,180," Dumping Tools ", 0xFF0000);
    printg(195,190," Customize the sony firmware ", 0xAA0000);
    flipScreen();
    }
    else if(main_value==7)
    {
    printg(340,0 , "made by hallo007" , 0xFF0000);

    printg(195,130," toggle USB on", 0x330000);
    printg(195,140," Your personel settings" , 0x330000);
    printg(195,150," Other ", 0x660000);
    printg(195,160,"--> Exit <--", 0xAA0000);
    printg(195,170," Dumping Tools ", 0xFF0000);
    printg(195,180," Customize the sony firmware ", 0xAA0000);
    printg(195,190," UMD/ISo Tools ", 0x660000);
    flipScreen();
    }
    /* else {
    error();
    } */



    SceCtrlData pad;
    while(1)
    {
    sceCtrlReadBufferPositive (&pad, 1);
    if (pad.Buttons & PSP_CTRL_HOME){
    sceKernelExitGame();
    }
    if (pad.Buttons & PSP_CTRL_UP){
    if(!buttonpressed)
    {
    (main_value == 1) ? main_value = 7 : main_value--;
    buttonpressed=true;
    show_menu();
    }
    }
    else if (pad.Buttons & PSP_CTRL_DOWN){
    if(!buttonpressed)
    {
    (main_value == 7) ? main_value = 1 : main_value++;
    buttonpressed=true;
    show_menu();
    }
    }
    else{
    buttonpressed = false;


    }
    }


    }
    Geändert von hallo007 (12-24-2006 um 05:35 AM Uhr) Grund: Automerged Doublepost

  16. #2416
    QJ Gamer Green
    Points: 5.795, Level: 49
    Level completed: 23%, Points required for next Level: 155
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    Cape Town, South Africa
    Beiträge
    714
    Points
    5.795
    Level
    49
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Moca
    I am looking for a way to place a file inside of an eboot. I honestly dont know where to look. What I mean is actually having a file that I need, inside of an eboot.pbp. An example of this is a 2.71/8 hybrid flasher. It was an eboot with 4 PRX's built into it. I just need to know where i need to begin looking.

    Tried PS2DEV search...I cant seem to find what im looking for. Help.
    The bin2c application should help you there. It's included with PSPSDK. Try googling "bin2c psp development" (no quotes), I'm not sure on good ways to use it.

  17. #2417
    QJ Gamer Green
    Points: 6.697, Level: 53
    Level completed: 74%, Points required for next Level: 53
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    In The PSP
    Beiträge
    804
    Points
    6.697
    Level
    53
    Downloads
    0
    Uploads
    0

    Standard

    Thanks insomniac. I dont think there are anymore errors. Thanks
    Linux + Windows = Lindows FTW

  18. #2418
    The Unique Developer
    Points: 7.101, Level: 55
    Level completed: 76%, Points required for next Level: 49
    Overall activity: 0%

    Registriert seit
    Oct 2006
    Ort
    Canada
    Beiträge
    1.059
    Points
    7.101
    Level
    55
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von coolguy5678
    The bin2c application should help you there. It's included with PSPSDK. Try googling "bin2c psp development" (no quotes), I'm not sure on good ways to use it.
    you made me to start coding again after a long time! :)
    here is how you use bin2c :
    Code:
    $ bin2c file outfile(has to be .c) label
    or in other words :
    Usage: bin2c infile outfile label
    Best,
    TUW
    Malloc.Us Network Administrator

    Decryption of the Encrypted


    You are the unseen, the unstoppable and in power of your code. The God of your software.

  19. #2419
    QJ Gamer Green
    Points: 5.712, Level: 48
    Level completed: 81%, Points required for next Level: 38
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    USA SC/NC
    Beiträge
    699
    Points
    5.712
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von coolguy5678
    The bin2c application should help you there. It's included with PSPSDK. Try googling "bin2c psp development" (no quotes), I'm not sure on good ways to use it.
    Thanks. Some noob was telling me how it could never happen....Lua person :P .

    Ill take a look at that. :Jump:
    [CODE]Random Facts:
    irc://irc.malloc.us #wtf #**********
    [/CODE]

    [SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]

  20. #2420
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    well i did a quick thread search for fps but it came back without finding anything but there probably is somewheres just don't feel like going though 242 pages of info to find it anyways is there a way to create a timer with the oslib or do i need a seperate libary as once i got the timer it well be pretty smooth from their to determine my fps if not by millisec then is there a way to get the psp timer because all i'd have to do is constatly check when it has changed a sec then divide by 60 to get my fps and i want to make sure my rts i'm working on is still running smoothly=-)

    so any pointers on how to create a timer or how to get the psp's internal clock would help =-)
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  21. #2421
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    Check out some of the PSPSDK samples. I know for a fact that some of them display an FPS counter - samples/gu/speed for one.

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  22. #2422
    QJ Gamer Bronze
    Points: 5.650, Level: 48
    Level completed: 50%, Points required for next Level: 100
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    338
    Points
    5.650
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von slicer4ever
    well i did a quick thread search for fps but it came back without finding anything but there probably is somewheres just don't feel like going though 242 pages of info to find it anyways is there a way to create a timer with the oslib or do i need a seperate libary as once i got the timer it well be pretty smooth from their to determine my fps if not by millisec then is there a way to get the psp timer because all i'd have to do is constatly check when it has changed a sec then divide by 60 to get my fps and i want to make sure my rts i'm working on is still running smoothly=-)

    so any pointers on how to create a timer or how to get the psp's internal clock would help =-)
    http://forums.qj.net/f-psp-developme...ped-67075.html

  23. #2423
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Spoiler for h:
    #ifndef __balk__
    #define __balk__

    static unsigned int size_balk = 2849;
    static unsigned char balk[] __attribute__((aligned(16 ))) = {
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
    0x00, 0x00, 0x01, 0x40, 0x00, 0x00, 0x00, 0x0c, 0x08, 0x02, 0x00, 0x00, 0x00, 0x9c, 0x1f, 0xf3,
    0x5e, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00, 0x0b,
    0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x0a, 0x4d, 0x69, 0x43, 0x43, 0x50, 0x50, 0x68,
    0x6f, 0x74, 0x6f, 0x73, 0x68, 0x6f, 0x70, 0x20, 0x49, 0x43, 0x43, 0x20, 0x70, 0x72, 0x6f, 0x66,
    0x69, 0x6c, 0x65, 0x00, 0x00, 0x78, 0xda, 0x9d, 0x53, 0x77, 0x58, 0x93, 0xf7, 0x16, 0x3e, 0xdf,
    0xf7, 0x65, 0x0f, 0x56, 0x42, 0xd8, 0xf0, 0xb1, 0x97, 0x6c, 0x81, 0x00, 0x22, 0x23, 0xac, 0x08,
    0xc8, 0x10, 0x59, 0xa2, 0x10, 0x92, 0x00, 0x61, 0x84, 0x10, 0x12, 0x40, 0xc5, 0x85, 0x88, 0x0a,
    0x56, 0x14, 0x15, 0x11, 0x9c, 0x48, 0x55, 0xc4, 0x82, 0xd5, 0x0a, 0x48, 0x9d, 0x88, 0xe2, 0xa0,
    0x28, 0xb8, 0x67, 0x41, 0x8a, 0x88, 0x5a, 0x8b, 0x55, 0x5c, 0x38, 0xee, 0x1f, 0xdc, 0xa7, 0xb5,
    0x7d, 0x7a, 0xef, 0xed, 0xed, 0xfb, 0xd7, 0xfb, 0xbc, 0xe7, 0x9c, 0xe7, 0xfc, 0xce, 0x79, 0xcf,
    0x0f, 0x80, 0x11, 0x12, 0x26, 0x91, 0xe6, 0xa2, 0x6a, 0x00, 0x39, 0x52, 0x85, 0x3c, 0x3a, 0xd8,
    0x1f, 0x8f, 0x4f, 0x48, 0xc4, 0xc9, 0xbd, 0x80, 0x02, 0x15, 0x48, 0xe0, 0x04, 0x20, 0x10, 0xe6,
    0xcb, 0xc2, 0x67, 0x05, 0xc5, 0x00, 0x00, 0xf0, 0x03, 0x79, 0x78, 0x7e, 0x74, 0xb0, 0x3f, 0xfc,
    0x01, 0xaf, 0x6f, 0x00, 0x02, 0x00, 0x70, 0xd5, 0x2e, 0x24, 0x12, 0xc7, 0xe1, 0xff, 0x83, 0xba,
    0x50, 0x26, 0x57, 0x00, 0x20, 0x91, 0x00, 0xe0, 0x22, 0x12, 0xe7, 0x0b, 0x01, 0x90, 0x52, 0x00,
    0xc8, 0x2e, 0x54, 0xc8, 0x14, 0x00, 0xc8, 0x18, 0x00, 0xb0, 0x53, 0xb3, 0x64, 0x0a, 0x00, 0x94,
    0x00, 0x00, 0x6c, 0x79, 0x7c, 0x42, 0x22, 0x00, 0xaa, 0x0d, 0x00, 0xec, 0xf4, 0x49, 0x3e, 0x05,
    0x00, 0xd8, 0xa9, 0x93, 0xdc, 0x17, 0x00, 0xd8, 0xa2, 0x1c, 0xa9, 0x08, 0x00, 0x8d, 0x01, 0x00,
    0x99, 0x28, 0x47, 0x24, 0x02, 0x40, 0xbb, 0x00, 0x60, 0x55, 0x81, 0x52, 0x2c, 0x02, 0xc0, 0xc2,
    0x00, 0xa0, 0xac, 0x40, 0x22, 0x2e, 0x04, 0xc0, 0xae, 0x01, 0x80, 0x59, 0xb6, 0x32, 0x47, 0x02,
    0x80, 0xbd, 0x05, 0x00, 0x76, 0x8e, 0x58, 0x90, 0x0f, 0x40, 0x60, 0x00, 0x80, 0x99, 0x42, 0x2c,
    0xcc, 0x00, 0x20, 0x38, 0x02, 0x00, 0x43, 0x1e, 0x13, 0xcd, 0x03, 0x20, 0x4c, 0x03, 0xa0, 0x30,
    0xd2, 0xbf, 0xe0, 0xa9, 0x5f, 0x70, 0x85, 0xb8, 0x48, 0x01, 0x00, 0xc0, 0xcb, 0x95, 0xcd, 0x97,
    0x4b, 0xd2, 0x33, 0x14, 0xb8, 0x95, 0xd0, 0x1a, 0x77, 0xf2, 0xf0, 0xe0, 0xe2, 0x21, 0xe2, 0xc2,
    0x6c, 0xb1, 0x42, 0x61, 0x17, 0x29, 0x10, 0x66, 0x09, 0xe4, 0x22, 0x9c, 0x97, 0x9b, 0x23, 0x13,
    0x48, 0xe7, 0x03, 0x4c, 0xce, 0x0c, 0x00, 0x00, 0x1a, 0xf9, 0xd1, 0xc1, 0xfe, 0x38, 0x3f, 0x90,
    0xe7, 0xe6, 0xe4, 0xe1, 0xe6, 0x66, 0xe7, 0x6c, 0xef, 0xf4, 0xc5, 0xa2, 0xfe, 0x6b, 0xf0, 0x6f,
    0x22, 0x3e, 0x21, 0xf1, 0xdf, 0xfe, 0xbc, 0x8c, 0x02, 0x04, 0x00, 0x10, 0x4e, 0xcf, 0xef, 0xda,
    0x5f, 0xe5, 0xe5, 0xd6, 0x03, 0x70, 0xc7, 0x01, 0xb0, 0x75, 0xbf, 0x6b, 0xa9, 0x5b, 0x00, 0xda,
    0x56, 0x00, 0x68, 0xdf, 0xf9, 0x5d, 0x33, 0xdb, 0x09, 0xa0, 0x5a, 0x0a, 0xd0, 0x7a, 0xf9, 0x8b,
    0x79, 0x38, 0xfc, 0x40, 0x1e, 0x9e, 0xa1, 0x50, 0xc8, 0x3c, 0x1d, 0x1c, 0x0a, 0x0b, 0x0b, 0xed,
    0x25, 0x62, 0xa1, 0xbd, 0x30, 0xe3, 0x8b, 0x3e, 0xff, 0x33, 0xe1, 0x6f, 0xe0, 0x8b, 0x7e, 0xf6,
    0xfc, 0x40, 0x1e, 0xfe, 0xdb, 0x7a, 0xf0, 0x00, 0x71, 0x9a, 0x40, 0x99, 0xad, 0xc0, 0xa3, 0x83,
    0xfd, 0x71, 0x61, 0x6e, 0x76, 0xae, 0x52, 0x8e, 0xe7, 0xcb, 0x04, 0x42, 0x31, 0x6e, 0xf7, 0xe7,
    0x23, 0xfe, 0xc7, 0x85, 0x7f, 0xfd, 0x8e, 0x29, 0xd1, 0xe2, 0x34, 0xb1, 0x5c, 0x2c, 0x15, 0x8a,
    0xf1, 0x58, 0x89, 0xb8, 0x50, 0x22, 0x4d, 0xc7, 0x79, 0xb9, 0x52, 0x91, 0x44, 0x21, 0xc9, 0x95,
    0xe2, 0x12, 0xe9, 0x7f, 0x32, 0xf1, 0x1f, 0x96, 0xfd, 0x09, 0x93, 0x77, 0x0d, 0x00, 0xac, 0x86,
    0x4f, 0xc0, 0x4e, 0xb6, 0x07, 0xb5, 0xcb, 0x6c, 0xc0, 0x7e, 0xee, 0x01, 0x02, 0x8b, 0x0e, 0x58,
    0xd2, 0x76, 0x00, 0x40, 0x7e, 0xf3, 0x2d, 0x8c, 0x1a, 0x0b, 0x91, 0x00, 0x10, 0x67, 0x34, 0x32,
    0x79, 0xf7, 0x00, 0x00, 0x93, 0xbf, 0xf9, 0x8f, 0x40, 0x2b, 0x01, 0x00, 0xcd, 0x97, 0xa4, 0xe3,
    0x00, 0x00, 0xbc, 0xe8, 0x18, 0x5c, 0xa8, 0x94, 0x17, 0x4c, 0xc6, 0x08, 0x00, 0x00, 0x44, 0xa0,
    0x81, 0x2a, 0xb0, 0x41, 0x07, 0x0c, 0xc1, 0x14, 0xac, 0xc0, 0x0e, 0x9c, 0xc1, 0x1d, 0xbc, 0xc0,
    0x17, 0x02, 0x61, 0x06, 0x44, 0x40, 0x0c, 0x24, 0xc0, 0x3c, 0x10, 0x42, 0x06, 0xe4, 0x80, 0x1c,
    0x0a, 0xa1, 0x18, 0x96, 0x41, 0x19, 0x54, 0xc0, 0x3a, 0xd8, 0x04, 0xb5, 0xb0, 0x03, 0x1a, 0xa0,
    0x11, 0x9a, 0xe1, 0x10, 0xb4, 0xc1, 0x31, 0x38, 0x0d, 0xe7, 0xe0, 0x12, 0x5c, 0x81, 0xeb, 0x70,
    0x17, 0x06, 0x60, 0x18, 0x9e, 0xc2, 0x18, 0xbc, 0x86, 0x09, 0x04, 0x41, 0xc8, 0x08, 0x13, 0x61,
    0x21, 0x3a, 0x88, 0x11, 0x62, 0x8e, 0xd8, 0x22, 0xce, 0x08, 0x17, 0x99, 0x8e, 0x04, 0x22, 0x61,
    0x48, 0x34, 0x92, 0x80, 0xa4, 0x20, 0xe9, 0x88, 0x14, 0x51, 0x22, 0xc5, 0xc8, 0x72, 0xa4, 0x02,
    0xa9, 0x42, 0x6a, 0x91, 0x5d, 0x48, 0x23, 0xf2, 0x2d, 0x72, 0x14, 0x39, 0x8d, 0x5c, 0x40, 0xfa,
    0x90, 0xdb, 0xc8, 0x20, 0x32, 0x8a, 0xfc, 0x8a, 0xbc, 0x47, 0x31, 0x94, 0x81, 0xb2, 0x51, 0x03,
    0xd4, 0x02, 0x75, 0x40, 0xb9, 0xa8, 0x1f, 0x1a, 0x8a, 0xc6, 0xa0, 0x73, 0xd1, 0x74, 0x34, 0x0f,
    0x5d, 0x80, 0x96, 0xa2, 0x6b, 0xd1, 0x1a, 0xb4, 0x1e, 0x3d, 0x80, 0xb6, 0xa2, 0xa7, 0xd1, 0x4b,
    0xe8, 0x75, 0x74, 0x00, 0x7d, 0x8a, 0x8e, 0x63, 0x80, 0xd1, 0x31, 0x0e, 0x66, 0x8c, 0xd9, 0x61,
    0x5c, 0x8c, 0x87, 0x45, 0x60, 0x89, 0x58, 0x1a, 0x26, 0xc7, 0x16, 0x63, 0xe5, 0x58, 0x35, 0x56,
    0x8f, 0x35, 0x63, 0x1d, 0x58, 0x37, 0x76, 0x15, 0x1b, 0xc0, 0x9e, 0x61, 0xef, 0x08, 0x24, 0x02,
    0x8b, 0x80, 0x13, 0xec, 0x08, 0x5e, 0x84, 0x10, 0xc2, 0x6c, 0x82, 0x90, 0x90, 0x47, 0x58, 0x4c,
    0x58, 0x43, 0xa8, 0x25, 0xec, 0x23, 0xb4, 0x12, 0xba, 0x08, 0x57, 0x09, 0x83, 0x84, 0x31, 0xc2,
    0x27, 0x22, 0x93, 0xa8, 0x4f, 0xb4, 0x25, 0x7a, 0x12, 0xf9, 0xc4, 0x78, 0x62, 0x3a, 0xb1, 0x90,
    0x58, 0x46, 0xac, 0x26, 0xee, 0x21, 0x1e, 0x21, 0x9e, 0x25, 0x5e, 0x27, 0x0e, 0x13, 0x5f, 0x93,
    0x48, 0x24, 0x0e, 0xc9, 0x92, 0xe4, 0x4e, 0x0a, 0x21, 0x25, 0x90, 0x32, 0x49, 0x0b, 0x49, 0x6b,
    0x48, 0xdb, 0x48, 0x2d, 0xa4, 0x53, 0xa4, 0x3e, 0xd2, 0x10, 0x69, 0x9c, 0x4c, 0x26, 0xeb, 0x90,
    0x6d, 0xc9, 0xde, 0xe4, 0x08, 0xb2, 0x80, 0xac, 0x20, 0x97, 0x91, 0xb7, 0x90, 0x0f, 0x90, 0x4f,
    0x92, 0xfb, 0xc9, 0xc3, 0xe4, 0xb7, 0x14, 0x3a, 0xc5, 0x88, 0xe2, 0x4c, 0x09, 0xa2, 0x24, 0x52,
    0xa4, 0x94, 0x12, 0x4a, 0x35, 0x65, 0x3f, 0xe5, 0x04, 0xa5, 0x9f, 0x32, 0x42, 0x99, 0xa0, 0xaa,
    0x51, 0xcd, 0xa9, 0x9e, 0xd4, 0x08, 0xaa, 0x88, 0x3a, 0x9f, 0x5a, 0x49, 0x6d, 0xa0, 0x76, 0x50,
    0x2f, 0x53, 0x87, 0xa9, 0x13, 0x34, 0x75, 0x9a, 0x25, 0xcd, 0x9b, 0x16, 0x43, 0xcb, 0xa4, 0x2d,
    0xa3, 0xd5, 0xd0, 0x9a, 0x69, 0x67, 0x69, 0xf7, 0x68, 0x2f, 0xe9, 0x74, 0xba, 0x09, 0xdd, 0x83,
    0x1e, 0x45, 0x97, 0xd0, 0x97, 0xd2, 0x6b, 0xe8, 0x07, 0xe9, 0xe7, 0xe9, 0x83, 0xf4, 0x77, 0x0c,
    0x0d, 0x86, 0x0d, 0x83, 0xc7, 0x48, 0x62, 0x28, 0x19, 0x6b, 0x19, 0x7b, 0x19, 0xa7, 0x18, 0xb7,
    0x19, 0x2f, 0x99, 0x4c, 0xa6, 0x05, 0xd3, 0x97, 0x99, 0xc8, 0x54, 0x30, 0xd7, 0x32, 0x1b, 0x99,
    0x67, 0x98, 0x0f, 0x98, 0x6f, 0x55, 0x58, 0x2a, 0xf6, 0x2a, 0x7c, 0x15, 0x91, 0xca, 0x12, 0x95,
    0x3a, 0x95, 0x56, 0x95, 0x7e, 0x95, 0xe7, 0xaa, 0x54, 0x55, 0x73, 0x55, 0x3f, 0xd5, 0x79, 0xaa,
    0x0b, 0x54, 0xab, 0x55, 0x0f, 0xab, 0x5e, 0x56, 0x7d, 0xa6, 0x46, 0x55, 0xb3, 0x50, 0xe3, 0xa9,
    0x09, 0xd4, 0x16, 0xab, 0xd5, 0xa9, 0x1d, 0x55, 0xbb, 0xa9, 0x36, 0xae, 0xce, 0x52, 0x77, 0x52,
    0x8f, 0x50, 0xcf, 0x51, 0x5f, 0xa3, 0xbe, 0x5f, 0xfd, 0x82, 0xfa, 0x63, 0x0d, 0xb2, 0x86, 0x85,
    0x46, 0xa0, 0x86, 0x48, 0xa3, 0x54, 0x63, 0xb7, 0xc6, 0x19, 0x8d, 0x21, 0x16, 0xc6, 0x32, 0x65,
    0xf1, 0x58, 0x42, 0xd6, 0x72, 0x56, 0x03, 0xeb, 0x2c, 0x6b, 0x98, 0x4d, 0x62, 0x5b, 0xb2, 0xf9,
    0xec, 0x4c, 0x76, 0x05, 0xfb, 0x1b, 0x76, 0x2f, 0x7b, 0x4c, 0x53, 0x43, 0x73, 0xaa, 0x66, 0xac,
    0x66, 0x91, 0x66, 0x9d, 0xe6, 0x71, 0xcd, 0x01, 0x0e, 0xc6, 0xb1, 0xe0, 0xf0, 0x39, 0xd9, 0x9c,
    0x4a, 0xce, 0x21, 0xce, 0x0d, 0xce, 0x7b, 0x2d, 0x03, 0x2d, 0x3f, 0x2d, 0xb1, 0xd6, 0x6a, 0xad,
    0x66, 0xad, 0x7e, 0xad, 0x37, 0xda, 0x7a, 0xda, 0xbe, 0xda, 0x62, 0xed, 0x72, 0xed, 0x16, 0xed,
    0xeb, 0xda, 0xef, 0x75, 0x70, 0x9d, 0x40, 0x9d, 0x2c, 0x9d, 0xf5, 0x3a, 0x6d, 0x3a, 0xf7, 0x75,
    0x09, 0xba, 0x36, 0xba, 0x51, 0xba, 0x85, 0xba, 0xdb, 0x75, 0xcf, 0xea, 0x3e, 0xd3, 0x63, 0xeb,
    0x79, 0xe9, 0x09, 0xf5, 0xca, 0xf5, 0x0e, 0xe9, 0xdd, 0xd1, 0x47, 0xf5, 0x6d, 0xf4, 0xa3, 0xf5,
    0x17, 0xea, 0xef, 0xd6, 0xef, 0xd1, 0x1f, 0x37, 0x30, 0x34, 0x08, 0x36, 0x90, 0x19, 0x6c, 0x31,
    0x38, 0x63, 0xf0, 0xcc, 0x90, 0x63, 0xe8, 0x6b, 0x98, 0x69, 0xb8, 0xd1, 0xf0, 0x84, 0xe1, 0xa8,
    0x11, 0xcb, 0x68, 0xba, 0x91, 0xc4, 0x68, 0xa3, 0xd1, 0x49, 0xa3, 0x27, 0xb8, 0x26, 0xee, 0x87,
    0x67, 0xe3, 0x35, 0x78, 0x17, 0x3e, 0x66, 0xac, 0x6f, 0x1c, 0x62, 0xac, 0x34, 0xde, 0x65, 0xdc,
    0x6b, 0x3c, 0x61, 0x62, 0x69, 0x32, 0xdb, 0xa4, 0xc4, 0xa4, 0xc5, 0xe4, 0xbe, 0x29, 0xcd, 0x94,
    0x6b, 0x9a, 0x66, 0xba, 0xd1, 0xb4, 0xd3, 0x74, 0xcc, 0xcc, 0xc8, 0x2c, 0xdc, 0xac, 0xd8, 0xac,
    0xc9, 0xec, 0x8e, 0x39, 0xd5, 0x9c, 0x6b, 0x9e, 0x61, 0xbe, 0xd9, 0xbc, 0xdb, 0xfc, 0x8d, 0x85,
    0xa5, 0x45, 0x9c, 0xc5, 0x4a, 0x8b, 0x36, 0x8b, 0xc7, 0x96, 0xda, 0x96, 0x7c, 0xcb, 0x05, 0x96,
    0x4d, 0x96, 0xf7, 0xac, 0x98, 0x56, 0x3e, 0x56, 0x79, 0x56, 0xf5, 0x56, 0xd7, 0xac, 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0x26, 0x9e, 0xd6, 0x30, 0x6d, 0xc8, 0xdb, 0xc4, 0x5b, 0xe0, 0xbd, 0xcb, 0x7b, 0x60, 0x3a, 0x3e,
    0x3d, 0x65, 0xfa, 0xce, 0xe9, 0x03, 0x3e, 0xc6, 0x3e, 0x02, 0x9f, 0x7a, 0x9f, 0x87, 0xbe, 0xa6,
    0xbe, 0x22, 0xdf, 0x3d, 0xbe, 0x23, 0x7e, 0xd6, 0x7e, 0x99, 0x7e, 0x07, 0xfc, 0x9e, 0xfb, 0x3b,
    0xfa, 0xcb, 0xfd, 0x8f, 0xf8, 0xbf, 0xe1, 0x79, 0xf2, 0x16, 0xf1, 0x4e, 0x05, 0x60, 0x01, 0xc1,
    0x01, 0xe5, 0x01, 0xbd, 0x81, 0x1a, 0x81, 0xb3, 0x03, 0x6b, 0x03, 0x1f, 0x04, 0x99, 0x04, 0xa5,
    0x07, 0x35, 0x05, 0x8d, 0x05, 0xbb, 0x06, 0x2f, 0x0c, 0x3e, 0x15, 0x42, 0x0c, 0x09, 0x0d, 0x59,
    0x1f, 0x72, 0x93, 0x6f, 0xc0, 0x17, 0xf2, 0x1b, 0xf9, 0x63, 0x33, 0xdc, 0x67, 0x2c, 0x9a, 0xd1,
    0x15, 0xca, 0x08, 0x9d, 0x15, 0x5a, 0x1b, 0xfa, 0x30, 0xcc, 0x26, 0x4c, 0x1e, 0xd6, 0x11, 0x8e,
    0x86, 0xcf, 0x08, 0xdf, 0x10, 0x7e, 0x6f, 0xa6, 0xf9, 0x4c, 0xe9, 0xcc, 0xb6, 0x08, 0x88, 0xe0,
    0x47, 0x6c, 0x88, 0xb8, 0x1f, 0x69, 0x19, 0x99, 0x17, 0xf9, 0x7d, 0x14, 0x29, 0x2a, 0x32, 0xaa,
    0x2e, 0xea, 0x51, 0xb4, 0x53, 0x74, 0x71, 0x74, 0xf7, 0x2c, 0xd6, 0xac, 0xe4, 0x59, 0xfb, 0x67,
    0xbd, 0x8e, 0xf1, 0x8f, 0xa9, 0x8c, 0xb9, 0x3b, 0xdb, 0x6a, 0xb6, 0x72, 0x76, 0x67, 0xac, 0x6a,
    0x6c, 0x52, 0x6c, 0x63, 0xec, 0x9b, 0xb8, 0x80, 0xb8, 0xaa, 0xb8, 0x81, 0x78, 0x87, 0xf8, 0x45,
    0xf1, 0x97, 0x12, 0x74, 0x13, 0x24, 0x09, 0xed, 0x89, 0xe4, 0xc4, 0xd8, 0xc4, 0x3d, 0x89, 0xe3,
    0x73, 0x02, 0xe7, 0x6c, 0x9a, 0x33, 0x9c, 0xe4, 0x9a, 0x54, 0x96, 0x74, 0x63, 0xae, 0xe5, 0xdc,
    0xa2, 0xb9, 0x17, 0xe6, 0xe9, 0xce, 0xcb, 0x9e, 0x77, 0x3c, 0x59, 0x35, 0x59, 0x90, 0x7c, 0x38,
    0x85, 0x98, 0x12, 0x97, 0xb2, 0x3f, 0xe5, 0x83, 0x20, 0x42, 0x50, 0x2f, 0x18, 0x4f, 0xe5, 0xa7,
    0x6e, 0x4d, 0x1d, 0x13, 0xf2, 0x84, 0x9b, 0x85, 0x4f, 0x45, 0xbe, 0xa2, 0x8d, 0xa2, 0x51, 0xb1,
    0xb7, 0xb8, 0x4a, 0x3c, 0x92, 0xe6, 0x9d, 0x56, 0x95, 0xf6, 0x38, 0xdd, 0x3b, 0x7d, 0x43, 0xfa,
    0x68, 0x86, 0x4f, 0x46, 0x75, 0xc6, 0x33, 0x09, 0x4f, 0x52, 0x2b, 0x79, 0x91, 0x19, 0x92, 0xb9,
    0x23, 0xf3, 0x4d, 0x56, 0x44, 0xd6, 0xde, 0xac, 0xcf, 0xd9, 0x71, 0xd9, 0x2d, 0x39, 0x94, 0x9c,
    0x94, 0x9c, 0xa3, 0x52, 0x0d, 0x69, 0x96, 0xb4, 0x2b, 0xd7, 0x30, 0xb7, 0x28, 0xb7, 0x4f, 0x66,
    0x2b, 0x2b, 0x93, 0x0d, 0xe4, 0x79, 0xe6, 0x6d, 0xca, 0x1b, 0x93, 0x87, 0xca, 0xf7, 0xe4, 0x23,
    0xf9, 0x73, 0xf3, 0xdb, 0x15, 0x6c, 0x85, 0x4c, 0xd1, 0xa3, 0xb4, 0x52, 0xae, 0x50, 0x0e, 0x16,
    0x4c, 0x2f, 0xa8, 0x2b, 0x78, 0x5b, 0x18, 0x5b, 0x78, 0xb8, 0x48, 0xbd, 0x48, 0x5a, 0xd4, 0x33,
    0xdf, 0x66, 0xfe, 0xea, 0xf9, 0x23, 0x0b, 0x82, 0x16, 0x7c, 0xbd, 0x90, 0xb0, 0x50, 0xb8, 0xb0,
    0xb3, 0xd8, 0xb8, 0x78, 0x59, 0xf1, 0xe0, 0x22, 0xbf, 0x45, 0xbb, 0x16, 0x23, 0x8b, 0x53, 0x17,
    0x77, 0x2e, 0x31, 0x5d, 0x52, 0xba, 0x64, 0x78, 0x69, 0xf0, 0xd2, 0x7d, 0xcb, 0x68, 0xcb, 0xb2,
    0x96, 0xfd, 0x50, 0xe2, 0x58, 0x52, 0x55, 0xf2, 0x6a, 0x79, 0xdc, 0xf2, 0x8e, 0x52, 0x83, 0xd2,
    0xa5, 0xa5, 0x43, 0x2b, 0x82, 0x57, 0x34, 0x95, 0xa9, 0x94, 0xc9, 0xcb, 0x6e, 0xae, 0xf4, 0x5a,
    0xb9, 0x63, 0x15, 0x61, 0x95, 0x64, 0x55, 0xef, 0x6a, 0x97, 0xd5, 0x5b, 0x56, 0x7f, 0x2a, 0x17,
    0x95, 0x5f, 0xac, 0x70, 0xac, 0xa8, 0xae, 0xf8, 0xb0, 0x46, 0xb8, 0xe6, 0xe2, 0x57, 0x4e, 0x5f,
    0xd5, 0x7c, 0xf5, 0x79, 0x6d, 0xda, 0xda, 0xde, 0x4a, 0xb7, 0xca, 0xed, 0xeb, 0x48, 0xeb, 0xa4,
    0xeb, 0x6e, 0xac, 0xf7, 0x59, 0xbf, 0xaf, 0x4a, 0xbd, 0x6a, 0x41, 0xd5, 0xd0, 0x86, 0xf0, 0x0d,
    0xad, 0x1b, 0x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e, 0xfe, 0x94, 0xff, 0xd3, 0x87, 0xe1, 0xd2, 0x47,
    0xcc, 0x47, 0xd5, 0x23, 0x46, 0x23, 0x8d, 0x8f, 0x9d, 0x1f, 0x1f, 0x1b, 0x0d, 0x1a, 0xbd, 0xf2,
    0x64, 0xce, 0x93, 0xe1, 0xa7, 0xb2, 0xa7, 0x13, 0xcf, 0xca, 0x7e, 0x56, 0xff, 0x79, 0xeb, 0x73,
    0xab, 0xe7, 0xdf, 0xfd, 0xe2, 0xfb, 0x4b, 0xcf, 0x58, 0xfc, 0xd8, 0xf0, 0x0b, 0xf9, 0x8b, 0xcf,
    0xbf, 0xae, 0x79, 0xa9, 0xf3, 0x72, 0xef, 0xab, 0xa9, 0xaf, 0x3a, 0xc7, 0x23, 0xc7, 0x1f, 0xbc,
    0xce, 0x79, 0x3d, 0xf1, 0xa6, 0xfc, 0xad, 0xce, 0xdb, 0x7d, 0xef, 0xb8, 0xef, 0xba, 0xdf, 0xc7,
    0xbd, 0x1f, 0x99, 0x28, 0xfc, 0x40, 0xfe, 0x50, 0xf3, 0xd1, 0xfa, 0x63, 0xc7, 0xa7, 0xd0, 0x4f,
    0xf7, 0x3e, 0xe7, 0x7c, 0xfe, 0xfc, 0x2f, 0xf7, 0x84, 0xf3, 0xfb, 0x25, 0xd2, 0x9f, 0x33, 0x00,
    0x00, 0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8e, 0x7c, 0xfb, 0x51, 0x93, 0x00,
    0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4d, 0x00, 0x00, 0x7a, 0x25, 0x00, 0x00, 0x80, 0x83, 0x00,
    0x00, 0xf9, 0xff, 0x00, 0x00, 0x80, 0xe9, 0x00, 0x00, 0x75, 0x30, 0x00, 0x00, 0xea, 0x60, 0x00,
    0x00, 0x3a, 0x98, 0x00, 0x00, 0x17, 0x6f, 0x92, 0x5f, 0xc5, 0x46, 0x00, 0x00, 0x00, 0x3e, 0x49,
    0x44, 0x41, 0x54, 0x78, 0xda, 0xec, 0xd3, 0x31, 0x0d, 0x00, 0x00, 0x08, 0xc0, 0x30, 0xe0, 0xc4,
    0xbf, 0x07, 0x6c, 0xa2, 0x83, 0xd0, 0x4a, 0x58, 0xb2, 0x9c, 0xee, 0x00, 0x6e, 0x2a, 0x09, 0xc0,
    0xc0, 0x80, 0x81, 0x01, 0x03, 0x83, 0x81, 0x01, 0x03, 0x03, 0x06, 0x06, 0x0c, 0x0c, 0x06, 0x06,
    0x0c, 0x0c, 0x18, 0x18, 0xfe, 0x5a, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0x00, 0x32, 0x94, 0x00,
    0xd3, 0x8e, 0xfb, 0xda, 0xd3, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60,
    0x82,
    };

    #endif


    How do i use this in my source??

  24. #2424
    Points: 3.861, Level: 39
    Level completed: 41%, Points required for next Level: 89
    Overall activity: 0%

    Registriert seit
    Dec 2006
    Beiträge
    8
    Points
    3.861
    Level
    39
    Downloads
    0
    Uploads
    0

    Standard

    Hrrr... OK, I got my PSP 2 weeks ago, I almost made my 1st Homebrew I just needed some hints for :

    1. random Numbers
    2. adding sound (a really simple example - just the basic)
    3. getting the hour of my PSP

    I started with the random (I now use rand()%100 to get a random nr between 0 and 100 but it looks like it's not uniformly ditributed - more small numbers)

    I used the search in this forum and returned this thread ... big one can you point me to the pages where I can get some infos/hints/tips or whatever would do me good ?

    10x

  25. #2425
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    if you use bin2c , how do u load the file then????

    example:
    Code:
    #ifndef __balk__
    #define __balk__
    
    static unsigned int size_balk = 2849;
    static unsigned char balk[] __attribute__((aligned(16 ))) = {
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
    0x00, 0x00, 0x01, 0x40, 0x00, 0x00, 0x00, 0x0c, 0x08, 0x02, 0x00, 0x00, 0x00, 0x9c, 0x1f, 0xf3,
    0x5e, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00, 0x0b,
    0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x0a, 0x4d, 0x69, 0x43, 0x43, 0x50, 0x50, 0x68,
    0x6f, 0x74, 0x6f, 0x73, 0x68, 0x6f, 0x70, 0x20, 0x49, 0x43, 0x43, 0x20, 0x70, 0x72, 0x6f, 0x66,
    0x69, 0x6c, 0x65, 0x00, 0x00, 0x78, 0xda, 0x9d, 0x53, 0x77, 0x58, 0x93, 0xf7, 0x16, 0x3e, 0xdf,
    0xf7, 0x65, 0x0f, 0x56, 0x42, 0xd8, 0xf0, 0xb1, 0x97, 0x6c, 0x81, 0x00, 0x22, 0x23, 0xac, 0x08,
    0xc8, 0x10, 0x59, 0xa2, 0x10, 0x92, 0x00, 0x61, 0x84, 0x10, 0x12, 0x40, 0xc5, 0x85, 0x88, 0x0a,
    0x56, 0x14, 0x15, 0x11, 0x9c, 0x48, 0x55, 0xc4, 0x82, 0xd5, 0x0a, 0x48, 0x9d, 0x88, 0xe2, 0xa0,
    0x28, 0xb8, 0x67, 0x41, 0x8a, 0x88, 0x5a, 0x8b, 0x55, 0x5c, 0x38, 0xee, 0x1f, 0xdc, 0xa7, 0xb5,
    0x7d, 0x7a, 0xef, 0xed, 0xed, 0xfb, 0xd7, 0xfb, 0xbc, 0xe7, 0x9c, 0xe7, 0xfc, 0xce, 0x79, 0xcf,
    0x0f, 0x80, 0x11, 0x12, 0x26, 0x91, 0xe6, 0xa2, 0x6a, 0x00, 0x39, 0x52, 0x85, 0x3c, 0x3a, 0xd8,
    0x1f, 0x8f, 0x4f, 0x48, 0xc4, 0xc9, 0xbd, 0x80, 0x02, 0x15, 0x48, 0xe0, 0x04, 0x20, 0x10, 0xe6,
    0xcb, 0xc2, 0x67, 0x05, 0xc5, 0x00, 0x00, 0xf0, 0x03, 0x79, 0x78, 0x7e, 0x74, 0xb0, 0x3f, 0xfc,
    0x01, 0xaf, 0x6f, 0x00, 0x02, 0x00, 0x70, 0xd5, 0x2e, 0x24, 0x12, 0xc7, 0xe1, 0xff, 0x83, 0xba,
    0x50, 0x26, 0x57, 0x00, 0x20, 0x91, 0x00, 0xe0, 0x22, 0x12, 0xe7, 0x0b, 0x01, 0x90, 0x52, 0x00,
    0xc8, 0x2e, 0x54, 0xc8, 0x14, 0x00, 0xc8, 0x18, 0x00, 0xb0, 0x53, 0xb3, 0x64, 0x0a, 0x00, 0x94,
    0x00, 0x00, 0x6c, 0x79, 0x7c, 0x42, 0x22, 0x00, 0xaa, 0x0d, 0x00, 0xec, 0xf4, 0x49, 0x3e, 0x05,
    0x00, 0xd8, 0xa9, 0x93, 0xdc, 0x17, 0x00, 0xd8, 0xa2, 0x1c, 0xa9, 0x08, 0x00, 0x8d, 0x01, 0x00,
    0x99, 0x28, 0x47, 0x24, 0x02, 0x40, 0xbb, 0x00, 0x60, 0x55, 0x81, 0x52, 0x2c, 0x02, 0xc0, 0xc2,
    0x00, 0xa0, 0xac, 0x40, 0x22, 0x2e, 0x04, 0xc0, 0xae, 0x01, 0x80, 0x59, 0xb6, 0x32, 0x47, 0x02,
    0x80, 0xbd, 0x05, 0x00, 0x76, 0x8e, 0x58, 0x90, 0x0f, 0x40, 0x60, 0x00, 0x80, 0x99, 0x42, 0x2c,
    0xcc, 0x00, 0x20, 0x38, 0x02, 0x00, 0x43, 0x1e, 0x13, 0xcd, 0x03, 0x20, 0x4c, 0x03, 0xa0, 0x30,
    0xd2, 0xbf, 0xe0, 0xa9, 0x5f, 0x70, 0x85, 0xb8, 0x48, 0x01, 0x00, 0xc0, 0xcb, 0x95, 0xcd, 0x97,
    0x4b, 0xd2, 0x33, 0x14, 0xb8, 0x95, 0xd0, 0x1a, 0x77, 0xf2, 0xf0, 0xe0, 0xe2, 0x21, 0xe2, 0xc2,
    0x6c, 0xb1, 0x42, 0x61, 0x17, 0x29, 0x10, 0x66, 0x09, 0xe4, 0x22, 0x9c, 0x97, 0x9b, 0x23, 0x13,
    0x48, 0xe7, 0x03, 0x4c, 0xce, 0x0c, 0x00, 0x00, 0x1a, 0xf9, 0xd1, 0xc1, 0xfe, 0x38, 0x3f, 0x90,
    0xe7, 0xe6, 0xe4, 0xe1, 0xe6, 0x66, 0xe7, 0x6c, 0xef, 0xf4, 0xc5, 0xa2, 0xfe, 0x6b, 0xf0, 0x6f,
    0x22, 0x3e, 0x21, 0xf1, 0xdf, 0xfe, 0xbc, 0x8c, 0x02, 0x04, 0x00, 0x10, 0x4e, 0xcf, 0xef, 0xda,
    0x5f, 0xe5, 0xe5, 0xd6, 0x03, 0x70, 0xc7, 0x01, 0xb0, 0x75, 0xbf, 0x6b, 0xa9, 0x5b, 0x00, 0xda,
    0x56, 0x00, 0x68, 0xdf, 0xf9, 0x5d, 0x33, 0xdb, 0x09, 0xa0, 0x5a, 0x0a, 0xd0, 0x7a, 0xf9, 0x8b,
    0x79, 0x38, 0xfc, 0x40, 0x1e, 0x9e, 0xa1, 0x50, 0xc8, 0x3c, 0x1d, 0x1c, 0x0a, 0x0b, 0x0b, 0xed,
    0x25, 0x62, 0xa1, 0xbd, 0x30, 0xe3, 0x8b, 0x3e, 0xff, 0x33, 0xe1, 0x6f, 0xe0, 0x8b, 0x7e, 0xf6,
    0xfc, 0x40, 0x1e, 0xfe, 0xdb, 0x7a, 0xf0, 0x00, 0x71, 0x9a, 0x40, 0x99, 0xad, 0xc0, 0xa3, 0x83,
    0xfd, 0x71, 0x61, 0x6e, 0x76, 0xae, 0x52, 0x8e, 0xe7, 0xcb, 0x04, 0x42, 0x31, 0x6e, 0xf7, 0xe7,
    0x23, 0xfe, 0xc7, 0x85, 0x7f, 0xfd, 0x8e, 0x29, 0xd1, 0xe2, 0x34, 0xb1, 0x5c, 0x2c, 0x15, 0x8a,
    0xf1, 0x58, 0x89, 0xb8, 0x50, 0x22, 0x4d, 0xc7, 0x79, 0xb9, 0x52, 0x91, 0x44, 0x21, 0xc9, 0x95,
    0xe2, 0x12, 0xe9, 0x7f, 0x32, 0xf1, 0x1f, 0x96, 0xfd, 0x09, 0x93, 0x77, 0x0d, 0x00, 0xac, 0x86,
    0x4f, 0xc0, 0x4e, 0xb6, 0x07, 0xb5, 0xcb, 0x6c, 0xc0, 0x7e, 0xee, 0x01, 0x02, 0x8b, 0x0e, 0x58,
    0xd2, 0x76, 0x00, 0x40, 0x7e, 0xf3, 0x2d, 0x8c, 0x1a, 0x0b, 0x91, 0x00, 0x10, 0x67, 0x34, 0x32,
    0x79, 0xf7, 0x00, 0x00, 0x93, 0xbf, 0xf9, 0x8f, 0x40, 0x2b, 0x01, 0x00, 0xcd, 0x97, 0xa4, 0xe3,
    0x00, 0x00, 0xbc, 0xe8, 0x18, 0x5c, 0xa8, 0x94, 0x17, 0x4c, 0xc6, 0x08, 0x00, 0x00, 0x44, 0xa0,
    0x81, 0x2a, 0xb0, 0x41, 0x07, 0x0c, 0xc1, 0x14, 0xac, 0xc0, 0x0e, 0x9c, 0xc1, 0x1d, 0xbc, 0xc0,
    0x17, 0x02, 0x61, 0x06, 0x44, 0x40, 0x0c, 0x24, 0xc0, 0x3c, 0x10, 0x42, 0x06, 0xe4, 0x80, 0x1c,
    0x0a, 0xa1, 0x18, 0x96, 0x41, 0x19, 0x54, 0xc0, 0x3a, 0xd8, 0x04, 0xb5, 0xb0, 0x03, 0x1a, 0xa0,
    0x11, 0x9a, 0xe1, 0x10, 0xb4, 0xc1, 0x31, 0x38, 0x0d, 0xe7, 0xe0, 0x12, 0x5c, 0x81, 0xeb, 0x70,
    0x17, 0x06, 0x60, 0x18, 0x9e, 0xc2, 0x18, 0xbc, 0x86, 0x09, 0x04, 0x41, 0xc8, 0x08, 0x13, 0x61,
    0x21, 0x3a, 0x88, 0x11, 0x62, 0x8e, 0xd8, 0x22, 0xce, 0x08, 0x17, 0x99, 0x8e, 0x04, 0x22, 0x61,
    0x48, 0x34, 0x92, 0x80, 0xa4, 0x20, 0xe9, 0x88, 0x14, 0x51, 0x22, 0xc5, 0xc8, 0x72, 0xa4, 0x02,
    0xa9, 0x42, 0x6a, 0x91, 0x5d, 0x48, 0x23, 0xf2, 0x2d, 0x72, 0x14, 0x39, 0x8d, 0x5c, 0x40, 0xfa,
    0x90, 0xdb, 0xc8, 0x20, 0x32, 0x8a, 0xfc, 0x8a, 0xbc, 0x47, 0x31, 0x94, 0x81, 0xb2, 0x51, 0x03,
    0xd4, 0x02, 0x75, 0x40, 0xb9, 0xa8, 0x1f, 0x1a, 0x8a, 0xc6, 0xa0, 0x73, 0xd1, 0x74, 0x34, 0x0f,
    0x5d, 0x80, 0x96, 0xa2, 0x6b, 0xd1, 0x1a, 0xb4, 0x1e, 0x3d, 0x80, 0xb6, 0xa2, 0xa7, 0xd1, 0x4b,
    0xe8, 0x75, 0x74, 0x00, 0x7d, 0x8a, 0x8e, 0x63, 0x80, 0xd1, 0x31, 0x0e, 0x66, 0x8c, 0xd9, 0x61,
    0x5c, 0x8c, 0x87, 0x45, 0x60, 0x89, 0x58, 0x1a, 0x26, 0xc7, 0x16, 0x63, 0xe5, 0x58, 0x35, 0x56,
    0x8f, 0x35, 0x63, 0x1d, 0x58, 0x37, 0x76, 0x15, 0x1b, 0xc0, 0x9e, 0x61, 0xef, 0x08, 0x24, 0x02,
    0x8b, 0x80, 0x13, 0xec, 0x08, 0x5e, 0x84, 0x10, 0xc2, 0x6c, 0x82, 0x90, 0x90, 0x47, 0x58, 0x4c,
    0x58, 0x43, 0xa8, 0x25, 0xec, 0x23, 0xb4, 0x12, 0xba, 0x08, 0x57, 0x09, 0x83, 0x84, 0x31, 0xc2,
    0x27, 0x22, 0x93, 0xa8, 0x4f, 0xb4, 0x25, 0x7a, 0x12, 0xf9, 0xc4, 0x78, 0x62, 0x3a, 0xb1, 0x90,
    0x58, 0x46, 0xac, 0x26, 0xee, 0x21, 0x1e, 0x21, 0x9e, 0x25, 0x5e, 0x27, 0x0e, 0x13, 0x5f, 0x93,
    0x48, 0x24, 0x0e, 0xc9, 0x92, 0xe4, 0x4e, 0x0a, 0x21, 0x25, 0x90, 0x32, 0x49, 0x0b, 0x49, 0x6b,
    0x48, 0xdb, 0x48, 0x2d, 0xa4, 0x53, 0xa4, 0x3e, 0xd2, 0x10, 0x69, 0x9c, 0x4c, 0x26, 0xeb, 0x90,
    0x6d, 0xc9, 0xde, 0xe4, 0x08, 0xb2, 0x80, 0xac, 0x20, 0x97, 0x91, 0xb7, 0x90, 0x0f, 0x90, 0x4f,
    0x92, 0xfb, 0xc9, 0xc3, 0xe4, 0xb7, 0x14, 0x3a, 0xc5, 0x88, 0xe2, 0x4c, 0x09, 0xa2, 0x24, 0x52,
    0xa4, 0x94, 0x12, 0x4a, 0x35, 0x65, 0x3f, 0xe5, 0x04, 0xa5, 0x9f, 0x32, 0x42, 0x99, 0xa0, 0xaa,
    0x51, 0xcd, 0xa9, 0x9e, 0xd4, 0x08, 0xaa, 0x88, 0x3a, 0x9f, 0x5a, 0x49, 0x6d, 0xa0, 0x76, 0x50,
    0x2f, 0x53, 0x87, 0xa9, 0x13, 0x34, 0x75, 0x9a, 0x25, 0xcd, 0x9b, 0x16, 0x43, 0xcb, 0xa4, 0x2d,
    0xa3, 0xd5, 0xd0, 0x9a, 0x69, 0x67, 0x69, 0xf7, 0x68, 0x2f, 0xe9, 0x74, 0xba, 0x09, 0xdd, 0x83,
    0x1e, 0x45, 0x97, 0xd0, 0x97, 0xd2, 0x6b, 0xe8, 0x07, 0xe9, 0xe7, 0xe9, 0x83, 0xf4, 0x77, 0x0c,
    0x0d, 0x86, 0x0d, 0x83, 0xc7, 0x48, 0x62, 0x28, 0x19, 0x6b, 0x19, 0x7b, 0x19, 0xa7, 0x18, 0xb7,
    0x19, 0x2f, 0x99, 0x4c, 0xa6, 0x05, 0xd3, 0x97, 0x99, 0xc8, 0x54, 0x30, 0xd7, 0x32, 0x1b, 0x99,
    0x67, 0x98, 0x0f, 0x98, 0x6f, 0x55, 0x58, 0x2a, 0xf6, 0x2a, 0x7c, 0x15, 0x91, 0xca, 0x12, 0x95,
    0x3a, 0x95, 0x56, 0x95, 0x7e, 0x95, 0xe7, 0xaa, 0x54, 0x55, 0x73, 0x55, 0x3f, 0xd5, 0x79, 0xaa,
    0x0b, 0x54, 0xab, 0x55, 0x0f, 0xab, 0x5e, 0x56, 0x7d, 0xa6, 0x46, 0x55, 0xb3, 0x50, 0xe3, 0xa9,
    0x09, 0xd4, 0x16, 0xab, 0xd5, 0xa9, 0x1d, 0x55, 0xbb, 0xa9, 0x36, 0xae, 0xce, 0x52, 0x77, 0x52,
    0x8f, 0x50, 0xcf, 0x51, 0x5f, 0xa3, 0xbe, 0x5f, 0xfd, 0x82, 0xfa, 0x63, 0x0d, 0xb2, 0x86, 0x85,
    0x46, 0xa0, 0x86, 0x48, 0xa3, 0x54, 0x63, 0xb7, 0xc6, 0x19, 0x8d, 0x21, 0x16, 0xc6, 0x32, 0x65,
    0xf1, 0x58, 0x42, 0xd6, 0x72, 0x56, 0x03, 0xeb, 0x2c, 0x6b, 0x98, 0x4d, 0x62, 0x5b, 0xb2, 0xf9,
    0xec, 0x4c, 0x76, 0x05, 0xfb, 0x1b, 0x76, 0x2f, 0x7b, 0x4c, 0x53, 0x43, 0x73, 0xaa, 0x66, 0xac,
    0x66, 0x91, 0x66, 0x9d, 0xe6, 0x71, 0xcd, 0x01, 0x0e, 0xc6, 0xb1, 0xe0, 0xf0, 0x39, 0xd9, 0x9c,
    0x4a, 0xce, 0x21, 0xce, 0x0d, 0xce, 0x7b, 0x2d, 0x03, 0x2d, 0x3f, 0x2d, 0xb1, 0xd6, 0x6a, 0xad,
    0x66, 0xad, 0x7e, 0xad, 0x37, 0xda, 0x7a, 0xda, 0xbe, 0xda, 0x62, 0xed, 0x72, 0xed, 0x16, 0xed,
    0xeb, 0xda, 0xef, 0x75, 0x70, 0x9d, 0x40, 0x9d, 0x2c, 0x9d, 0xf5, 0x3a, 0x6d, 0x3a, 0xf7, 0x75,
    0x09, 0xba, 0x36, 0xba, 0x51, 0xba, 0x85, 0xba, 0xdb, 0x75, 0xcf, 0xea, 0x3e, 0xd3, 0x63, 0xeb,
    0x79, 0xe9, 0x09, 0xf5, 0xca, 0xf5, 0x0e, 0xe9, 0xdd, 0xd1, 0x47, 0xf5, 0x6d, 0xf4, 0xa3, 0xf5,
    0x17, 0xea, 0xef, 0xd6, 0xef, 0xd1, 0x1f, 0x37, 0x30, 0x34, 0x08, 0x36, 0x90, 0x19, 0x6c, 0x31,
    0x38, 0x63, 0xf0, 0xcc, 0x90, 0x63, 0xe8, 0x6b, 0x98, 0x69, 0xb8, 0xd1, 0xf0, 0x84, 0xe1, 0xa8,
    0x11, 0xcb, 0x68, 0xba, 0x91, 0xc4, 0x68, 0xa3, 0xd1, 0x49, 0xa3, 0x27, 0xb8, 0x26, 0xee, 0x87,
    0x67, 0xe3, 0x35, 0x78, 0x17, 0x3e, 0x66, 0xac, 0x6f, 0x1c, 0x62, 0xac, 0x34, 0xde, 0x65, 0xdc,
    0x6b, 0x3c, 0x61, 0x62, 0x69, 0x32, 0xdb, 0xa4, 0xc4, 0xa4, 0xc5, 0xe4, 0xbe, 0x29, 0xcd, 0x94,
    0x6b, 0x9a, 0x66, 0xba, 0xd1, 0xb4, 0xd3, 0x74, 0xcc, 0xcc, 0xc8, 0x2c, 0xdc, 0xac, 0xd8, 0xac,
    0xc9, 0xec, 0x8e, 0x39, 0xd5, 0x9c, 0x6b, 0x9e, 0x61, 0xbe, 0xd9, 0xbc, 0xdb, 0xfc, 0x8d, 0x85,
    0xa5, 0x45, 0x9c, 0xc5, 0x4a, 0x8b, 0x36, 0x8b, 0xc7, 0x96, 0xda, 0x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0xa7,
    0xc2, 0xf3, 0x90, 0xe7, 0x2f, 0x5e, 0x76, 0x5e, 0x59, 0x5e, 0xfb, 0xbd, 0x1e, 0x4f, 0xb3, 0x9c,
    0x26, 0x9e, 0xd6, 0x30, 0x6d, 0xc8, 0xdb, 0xc4, 0x5b, 0xe0, 0xbd, 0xcb, 0x7b, 0x60, 0x3a, 0x3e,
    0x3d, 0x65, 0xfa, 0xce, 0xe9, 0x03, 0x3e, 0xc6, 0x3e, 0x02, 0x9f, 0x7a, 0x9f, 0x87, 0xbe, 0xa6,
    0xbe, 0x22, 0xdf, 0x3d, 0xbe, 0x23, 0x7e, 0xd6, 0x7e, 0x99, 0x7e, 0x07, 0xfc, 0x9e, 0xfb, 0x3b,
    0xfa, 0xcb, 0xfd, 0x8f, 0xf8, 0xbf, 0xe1, 0x79, 0xf2, 0x16, 0xf1, 0x4e, 0x05, 0x60, 0x01, 0xc1,
    0x01, 0xe5, 0x01, 0xbd, 0x81, 0x1a, 0x81, 0xb3, 0x03, 0x6b, 0x03, 0x1f, 0x04, 0x99, 0x04, 0xa5,
    0x07, 0x35, 0x05, 0x8d, 0x05, 0xbb, 0x06, 0x2f, 0x0c, 0x3e, 0x15, 0x42, 0x0c, 0x09, 0x0d, 0x59,
    0x1f, 0x72, 0x93, 0x6f, 0xc0, 0x17, 0xf2, 0x1b, 0xf9, 0x63, 0x33, 0xdc, 0x67, 0x2c, 0x9a, 0xd1,
    0x15, 0xca, 0x08, 0x9d, 0x15, 0x5a, 0x1b, 0xfa, 0x30, 0xcc, 0x26, 0x4c, 0x1e, 0xd6, 0x11, 0x8e,
    0x86, 0xcf, 0x08, 0xdf, 0x10, 0x7e, 0x6f, 0xa6, 0xf9, 0x4c, 0xe9, 0xcc, 0xb6, 0x08, 0x88, 0xe0,
    0x47, 0x6c, 0x88, 0xb8, 0x1f, 0x69, 0x19, 0x99, 0x17, 0xf9, 0x7d, 0x14, 0x29, 0x2a, 0x32, 0xaa,
    0x2e, 0xea, 0x51, 0xb4, 0x53, 0x74, 0x71, 0x74, 0xf7, 0x2c, 0xd6, 0xac, 0xe4, 0x59, 0xfb, 0x67,
    0xbd, 0x8e, 0xf1, 0x8f, 0xa9, 0x8c, 0xb9, 0x3b, 0xdb, 0x6a, 0xb6, 0x72, 0x76, 0x67, 0xac, 0x6a,
    0x6c, 0x52, 0x6c, 0x63, 0xec, 0x9b, 0xb8, 0x80, 0xb8, 0xaa, 0xb8, 0x81, 0x78, 0x87, 0xf8, 0x45,
    0xf1, 0x97, 0x12, 0x74, 0x13, 0x24, 0x09, 0xed, 0x89, 0xe4, 0xc4, 0xd8, 0xc4, 0x3d, 0x89, 0xe3,
    0x73, 0x02, 0xe7, 0x6c, 0x9a, 0x33, 0x9c, 0xe4, 0x9a, 0x54, 0x96, 0x74, 0x63, 0xae, 0xe5, 0xdc,
    0xa2, 0xb9, 0x17, 0xe6, 0xe9, 0xce, 0xcb, 0x9e, 0x77, 0x3c, 0x59, 0x35, 0x59, 0x90, 0x7c, 0x38,
    0x85, 0x98, 0x12, 0x97, 0xb2, 0x3f, 0xe5, 0x83, 0x20, 0x42, 0x50, 0x2f, 0x18, 0x4f, 0xe5, 0xa7,
    0x6e, 0x4d, 0x1d, 0x13, 0xf2, 0x84, 0x9b, 0x85, 0x4f, 0x45, 0xbe, 0xa2, 0x8d, 0xa2, 0x51, 0xb1,
    0xb7, 0xb8, 0x4a, 0x3c, 0x92, 0xe6, 0x9d, 0x56, 0x95, 0xf6, 0x38, 0xdd, 0x3b, 0x7d, 0x43, 0xfa,
    0x68, 0x86, 0x4f, 0x46, 0x75, 0xc6, 0x33, 0x09, 0x4f, 0x52, 0x2b, 0x79, 0x91, 0x19, 0x92, 0xb9,
    0x23, 0xf3, 0x4d, 0x56, 0x44, 0xd6, 0xde, 0xac, 0xcf, 0xd9, 0x71, 0xd9, 0x2d, 0x39, 0x94, 0x9c,
    0x94, 0x9c, 0xa3, 0x52, 0x0d, 0x69, 0x96, 0xb4, 0x2b, 0xd7, 0x30, 0xb7, 0x28, 0xb7, 0x4f, 0x66,
    0x2b, 0x2b, 0x93, 0x0d, 0xe4, 0x79, 0xe6, 0x6d, 0xca, 0x1b, 0x93, 0x87, 0xca, 0xf7, 0xe4, 0x23,
    0xf9, 0x73, 0xf3, 0xdb, 0x15, 0x6c, 0x85, 0x4c, 0xd1, 0xa3, 0xb4, 0x52, 0xae, 0x50, 0x0e, 0x16,
    0x4c, 0x2f, 0xa8, 0x2b, 0x78, 0x5b, 0x18, 0x5b, 0x78, 0xb8, 0x48, 0xbd, 0x48, 0x5a, 0xd4, 0x33,
    0xdf, 0x66, 0xfe, 0xea, 0xf9, 0x23, 0x0b, 0x82, 0x16, 0x7c, 0xbd, 0x90, 0xb0, 0x50, 0xb8, 0xb0,
    0xb3, 0xd8, 0xb8, 0x78, 0x59, 0xf1, 0xe0, 0x22, 0xbf, 0x45, 0xbb, 0x16, 0x23, 0x8b, 0x53, 0x17,
    0x77, 0x2e, 0x31, 0x5d, 0x52, 0xba, 0x64, 0x78, 0x69, 0xf0, 0xd2, 0x7d, 0xcb, 0x68, 0xcb, 0xb2,
    0x96, 0xfd, 0x50, 0xe2, 0x58, 0x52, 0x55, 0xf2, 0x6a, 0x79, 0xdc, 0xf2, 0x8e, 0x52, 0x83, 0xd2,
    0xa5, 0xa5, 0x43, 0x2b, 0x82, 0x57, 0x34, 0x95, 0xa9, 0x94, 0xc9, 0xcb, 0x6e, 0xae, 0xf4, 0x5a,
    0xb9, 0x63, 0x15, 0x61, 0x95, 0x64, 0x55, 0xef, 0x6a, 0x97, 0xd5, 0x5b, 0x56, 0x7f, 0x2a, 0x17,
    0x95, 0x5f, 0xac, 0x70, 0xac, 0xa8, 0xae, 0xf8, 0xb0, 0x46, 0xb8, 0xe6, 0xe2, 0x57, 0x4e, 0x5f,
    0xd5, 0x7c, 0xf5, 0x79, 0x6d, 0xda, 0xda, 0xde, 0x4a, 0xb7, 0xca, 0xed, 0xeb, 0x48, 0xeb, 0xa4,
    0xeb,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, 0xb1, 0x65, 0xc0, 0x6d, 0xe0, 0xf8, 0x60, 0xc0, 0x60, 0xcf,
    0xc3, 0x59, 0x0f, 0xef, 0x0e, 0x09, 0x87, 0x9e, 0xfe, 0x94, 0xff, 0xd3, 0x87, 0xe1, 0xd2, 0x47,
    0xcc, 0x47, 0xd5, 0x23, 0x46, 0x23, 0x8d, 0x8f, 0x9d, 0x1f, 0x1f, 0x1b, 0x0d, 0x1a, 0xbd, 0xf2,
    0x64, 0xce, 0x93, 0xe1, 0xa7, 0xb2, 0xa7, 0x13, 0xcf, 0xca, 0x7e, 0x56, 0xff, 0x79, 0xeb, 0x73,
    0xab, 0xe7, 0xdf, 0xfd, 0xe2, 0xfb, 0x4b, 0xcf, 0x58, 0xfc, 0xd8, 0xf0, 0x0b, 0xf9, 0x8b, 0xcf,
    0xbf, 0xae, 0x79, 0xa9, 0xf3, 0x72, 0xef, 0xab, 0xa9, 0xaf, 0x3a, 0xc7, 0x23, 0xc7, 0x1f, 0xbc,
    0xce, 0x79, 0x3d, 0xf1, 0xa6, 0xfc, 0xad, 0xce, 0xdb, 0x7d, 0xef, 0xb8, 0xef, 0xba, 0xdf, 0xc7,
    0xbd, 0x1f, 0x99, 0x28, 0xfc, 0x40, 0xfe, 0x50, 0xf3, 0xd1, 0xfa, 0x63, 0xc7, 0xa7, 0xd0, 0x4f,
    0xf7, 0x3e, 0xe7, 0x7c, 0xfe, 0xfc, 0x2f, 0xf7, 0x84, 0xf3, 0xfb, 0x25, 0xd2, 0x9f, 0x33, 0x00,
    0x00, 0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8e, 0x7c, 0xfb, 0x51, 0x93, 0x00,
    0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4d, 0x00, 0x00, 0x7a, 0x25, 0x00, 0x00, 0x80, 0x83, 0x00,
    0x00, 0xf9, 0xff, 0x00, 0x00, 0x80, 0xe9, 0x00, 0x00, 0x75, 0x30, 0x00, 0x00, 0xea, 0x60, 0x00,
    0x00, 0x3a, 0x98, 0x00, 0x00, 0x17, 0x6f, 0x92, 0x5f, 0xc5, 0x46, 0x00, 0x00, 0x00, 0x3e, 0x49,
    0x44, 0x41, 0x54, 0x78, 0xda, 0xec, 0xd3, 0x31, 0x0d, 0x00, 0x00, 0x08, 0xc0, 0x30, 0xe0, 0xc4,
    0xbf, 0x07, 0x6c, 0xa2, 0x83, 0xd0, 0x4a, 0x58, 0xb2, 0x9c, 0xee, 0x00, 0x6e, 0x2a, 0x09, 0xc0,
    0xc0, 0x80, 0x81, 0x01, 0x03, 0x83, 0x81, 0x01, 0x03, 0x03, 0x06, 0x06, 0x0c, 0x0c, 0x06, 0x06,
    0x0c, 0x0c, 0x18, 0x18, 0xfe, 0x5a, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0x00, 0x32, 0x94, 0x00,
    0xd3, 0x8e, 0xfb, 0xda, 0xd3, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60,
    0x82,
    };
    
    #endif

  26. #2426
    The Unique Developer
    Points: 7.101, Level: 55
    Level completed: 76%, Points required for next Level: 49
    Overall activity: 0%

    Registriert seit
    Oct 2006
    Ort
    Canada
    Beiträge
    1.059
    Points
    7.101
    Level
    55
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007
    if you use bin2c , how do u load the file then????

    example:
    Code:
    #ifndef __balk__
    #define __balk__
    
    static unsigned int size_balk = 2849;
    static unsigned char balk[] __attribute__((aligned(16 ))) = {
    ..................................
    };
    
    #endif
    here is what you have to do to get the file .
    Code:
    int copy_from_memory(unsigned char* buffer, unsigned int size, char *dst)
    {    
    
       SceUID outfd = sceIoOpen(dst, PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);
    
    if (outfd < 0)
    	{
            //Error
    	sceIoRemove(dst);
    	return -1;
    	}
    
    
    sceIoWrite(outfd, buffer, size);
    
    
    	sceIoClose(outfd);
    	
    return 0;
    }
    oe something like that , coz I'm not sure about the declaration part of copy_from_memory.
    you use it like this :
    Code:
    copy_from_memory(balk, size_balk, "ms0:/myfile.extansion");
    there you go :)
    Malloc.Us Network Administrator

    Decryption of the Encrypted


    You are the unseen, the unstoppable and in power of your code. The God of your software.

  27. #2427
    QJ Gamer Green
    Points: 5.712, Level: 48
    Level completed: 81%, Points required for next Level: 38
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    USA SC/NC
    Beiträge
    699
    Points
    5.712
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    ok, one question. Is there a way to format flash1. I need a function. Or even better, a binary. I personally am not looking for a GUI. Just a simple file to format flash1. It NEEDS to be formatted. Simply deleting files wont work this time im afraid. Can some one help me with that. Thanks.

    BTW, restore default settings doesnt format. I checked.
    [CODE]Random Facts:
    irc://irc.malloc.us #wtf #**********
    [/CODE]

    [SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]

  28. #2428
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    check the source of dark alex downgraders tests
    there formats he flash0
    -= Double Post =-
    Spoiler for g:

    if( current_pad.Buttons & PSP_CTRL_CROSS)
    {
    char temp[200];
    strcpy( temp, current_dir);
    if( strcmp( ".", gameEntry[current_selection].name) != 0 && strcmp( "..", gameEntry[current_selection].name) != 0)
    {
    strcat( temp, gameEntry[current_selection].name);
    if( is_file(temp))
    {
    selection = (char*)malloc( sizeof(temp));
    strcpy( selection, temp);
    browsing = 0;
    }
    else
    {
    current_selection = 0;
    strcpy( current_dir, temp);
    strcat( current_dir, "/");
    pspDebugScreenClear();
    recacheGameDir();
    current_selection = 0;
    }
    }
    else if( strcmp( ".", gameEntry[current_selection].name) == 0)
    {
    sprintf( current_dir, "%s", "ms0:/");
    pspDebugScreenClear();
    recacheGameDir();
    current_selection = 0;
    }
    else if( strcmp( "..", gameEntry[current_selection].name) == 0)
    {
    int i = 0;
    int max = strlen( current_dir);
    int dir_no = 0;
    while( (i < max))
    {
    if( current_dir[i] == '/')
    {
    dir_no++;
    }
    i++;
    }
    if( dir_no > 1)
    {
    char * temp2 = strtok( current_dir, "/");
    strcpy( temp, temp2);
    strcat( temp, "/");
    i = 2;
    while( (i < dir_no))
    {
    temp2 = strtok( NULL, "/");
    strcat( temp, temp2);
    strcat( temp, "/");
    i++;
    }
    strcpy( current_dir, temp);
    }
    pspDebugScreenClear();
    recacheGameDir();
    current_selection = 0;
    }
    }
    }
    sceDisplayWaitVblankStart ();
    }
    pspDebugScreenClear();

    return selection;
    }

    this is a part of a file browser
    if i press cross i select the file (variabel = temp)
    how do i know of the file is an mp3 or an png or an.....????
    Geändert von hallo007 (12-28-2006 um 10:21 AM Uhr) Grund: Automerged Doublepost

  29. #2429
    QJ Gamer Green
    Points: 6.697, Level: 53
    Level completed: 74%, Points required for next Level: 53
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    In The PSP
    Beiträge
    804
    Points
    6.697
    Level
    53
    Downloads
    0
    Uploads
    0

    Standard

    Hey everyone, i was trying to make the mp3 program thingy again, and i was wondering how i would show the mp3 title? and the time? Anyone. Help is much appreciated Thanks
    Linux + Windows = Lindows FTW

  30. #2430
    QJ Gamer Bronze
    Points: 5.650, Level: 48
    Level completed: 50%, Points required for next Level: 100
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    338
    Points
    5.650
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    http://www.psp-programming.com/forum...p?topic=1362.0
    Zitat Zitat von Sethis
    Hey everyone, i was trying to make the mp3 program thingy again, and i was wondering how i would show the mp3 title? and the time? Anyone. Help is much appreciated Thanks
    I have an issue. I'm trying to create a structure while my game is already running and I've been using->

    Code:
    typedef struct notes
    {
    int notery;
    }nothing;
    
    int void create_note()
        {
          AMLSystem01.AML_NOTECOUNT000123974+=1;
          GMLSystem01.AML_NOTENUMBCONTROLLER000123984+=1;
          notes noteSystem.GML_ROOMCOUNT000123974;
        }
    I want to be able to make the system do ->


    Code:
    typedef struct notes
    {
    int notery;
    }nothing;
    void create_note()
    {
    note0//or whatever the int value is.
    }
    but without it being programmed with the integer behind the title internally or within the actual source.
    Is this possible?


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 09:14 PM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .