Page 7 of 12 FirstFirst ... 34567891011 ... LastLast
Results 61 to 70 of 120

Thread: PSPVBA: GameBoy Advance Emulator for PSP v1.0.4

                  
   
  1. #61
    DCEmu Rookie
    Join Date
    May 2006
    Posts
    199
    Rep Power
    66

    Default

    after reading the source code

    void mode0RenderLine()
    {
    u16 *palette = (u16 *)paletteRAM;

    if(DISPCNT & 0x80) {
    for(int x = 0; x < 240; x++) {
    lineMix[x] = 0x7fff;
    }
    return;
    }

    if(layerEnable & 0x0100) {
    gfxDrawTextScreen(BG0CNT, BG0HOFS, BG0VOFS, line0);
    }

    if(layerEnable & 0x0200) {
    gfxDrawTextScreen(BG1CNT, BG1HOFS, BG1VOFS, line1);
    }

    if(layerEnable & 0x0400) {
    gfxDrawTextScreen(BG2CNT, BG2HOFS, BG2VOFS, line2);
    }

    if(layerEnable & 0x0800) {
    gfxDrawTextScreen(BG3CNT, BG3HOFS, BG3VOFS, line3);
    }

    gfxDrawSprites(lineOBJ);

    u32 backdrop = (READ16LE(&palette[0]) | 0x30000000);

    for(int x = 0; x < 240; x++) {
    u32 color = backdrop;
    u8 top = 0x20;

    if(line0[x] < color) {
    color = line0[x];
    top = 0x01;
    }

    if((u8)(line1[x]>>24) < (u8)(color >> 24)) {
    color = line1[x];
    top = 0x02;
    }


    most of the instruction were if-else statement

    now I know it will be very hard to improve..

  2. #62
    Registered User Mr. Shizzy's Avatar
    Join Date
    Apr 2006
    Location
    In The UMD Drive
    Posts
    1,386
    Rep Power
    0

    Default

    oh btw, whats up with the "foo" file in the roms folder?
    Is that something I shouldn't erase?
    thanks

  3. #63
    DCEmu Regular
    Join Date
    Jan 2006
    Location
    OREGONNNN
    Posts
    325
    Rep Power
    70

    Default

    Quote Originally Posted by zx-81
    I don't know (because a software is never finished) but ... we are to close to the max i can do for speed
    are ya saying that it isnt gonna get much faster than this

  4. #64
    PSP User
    Join Date
    Aug 2005
    Posts
    125
    Rep Power
    69

    Default

    Quote Originally Posted by Mr. Shizzy
    What a pleasant surprize to come home from work to!
    Thanks ZX-81 - your hard work is very much appreciated. A couple of questions if I may:

    1) In your final version (eventually) how well can we expect sound to work??

    2) After the final version is complete Is there anyway you would consider an encore version utilizing kernal formode to increase speed for 1.5 fw? I know you want it to run on all fw versions, but once you've done all you can do for 2.0+
    it would be a shame not to see this wonderful emu reach it's max potential.

    3) So are you retiring from the PSP hb scene after this? I really hope not. You've done so much for us, it would feel like losing a family member!!! However, if you do - good luck with your next venture. Thanks a million for your tremendous contributions to the PSP hb scene. You will be truelly missed.

    4) Is Kingdom Hearts compatable with this version?
    (Haven't got to test it yet) If not, is it even possible?

    5) Wouldn't a Sega Saturn emu be fun? lol I know, I know- I'm pushing it! lol

    Hey ZX, thanks again man

    i'm all for number 2 on that list

  5. #65
    DCEmu Rookie
    Join Date
    May 2006
    Posts
    199
    Rep Power
    66

    Default

    Quote Originally Posted by samthegreat68
    are ya saying that it isnt gonna get much faster than this
    I guess, this is what is mean.........

  6. #66
    DCEmu Regular jwilds73's Avatar
    Join Date
    Nov 2005
    Posts
    439
    Rep Power
    69

    Default

    Has sound processing been moved to the media processor like snespsp_tyl_me? That would free up some processor cycles on the main cpu wouldn't it? Again I believe (with my very limited understanding) that this would require the code to be written for kernel mode which it currently isn't? With the upcoming exploitation of Kernel mode in 2.0 to 2.6 this would be doable? If I understand right the psp has cpu, gpu and media engine processors right?

  7. #67
    PSP User razorak's Avatar
    Join Date
    Jun 2006
    Location
    Virtual Reality
    Age
    33
    Posts
    867
    Rep Power
    69

    Default

    All hail to the never-sleeping, hardworking coder for this wonderful emu...though i hope i dun have to reformat my memory stick for it and i'm certainly looking forward to being able to run 32MB roms since i have a 2GB MS ^^

  8. #68
    DCEmu Rookie .:PSP1.0:.'s Avatar
    Join Date
    Nov 2005
    Posts
    221
    Rep Power
    68

    Default

    ^^^ Lovin your sig man! lol ^^^

  9. #69
    LUA Coder D0N's Avatar
    Join Date
    Jan 2006
    Posts
    863
    Rep Power
    75

    Default

    Quote Originally Posted by zx-81
    I don't really know but i still have many ideas for homebrew development
    Cool glad to see your still going to contribute to the homebrew scene. Could you maybe tell us what sort of ideas you have for homebrew development?

  10. #70
    DCEmu Coder zx-81's Avatar
    Join Date
    Mar 2006
    Location
    France
    Age
    53
    Posts
    1,805
    Rep Power
    83

    Default

    Thanks for your comment

    Quote Originally Posted by Mr. Shizzy
    What a pleasant surprize to come home from work to!
    Thanks ZX-81 - your hard work is very much appreciated. A couple of questions if I may:

    1) In your final version (eventually) how well can we expect sound to work??
    Don't expect much more ...


    Quote Originally Posted by Mr. Shizzy
    2) After the final version is complete Is there anyway you would consider an encore version utilizing kernal formode to increase speed for 1.5 fw? I know you want it to run on all fw versions, but once you've done all you can do for 2.0+
    it would be a shame not to see this wonderful emu reach it's max potential.
    Right, i will see when i will downgrade.

    Quote Originally Posted by Mr. Shizzy
    3) So are you retiring from the PSP hb scene after this? I really hope not. You've done so much for us, it would feel like losing a family member!!! However, if you do - good luck with your next venture. Thanks a million for your tremendous contributions to the PSP hb scene. You will be truelly missed.
    Don't worry, i'm still here lol.

    Quote Originally Posted by Mr. Shizzy
    4) Is Kingdom Hearts compatable with this version?
    (Haven't got to test it yet) If not, is it even possible?
    I haven't tried too ...

    Quote Originally Posted by Mr. Shizzy
    5) Wouldn't a Sega Saturn emu be fun? lol I know, I know- I'm pushing it! lol

    Hey ZX, thanks again man
    I've many other projects in my to-do list .
    here is my blog !

    Quote Originally Posted by Shadoks rule
    The more you fail, the more you have a chance that it will work in the end.

Page 7 of 12 FirstFirst ... 34567891011 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •