Valentines Day
Results 1 to 7 of 7

Thread: uo_Snes9x 0.02pd2

                  
   
  1. #1
    PSP Coder
    Join Date
    Jun 2005
    Posts
    103
    Rep Power
    50

    Default uo_Snes9x 0.02pd2

    Browsing ps2dev's forums and andon just made a new thread announcing his development of 0.02pd2, which should be released soon, and he talked about a way to increase the FPS 15-20 .
    Quote Originally Posted by Andon
    0.02pd2's in SVN right now, in fact it's been there for well over a week. It's not finished and ready for release yet, but I wanted to mention it and request help optimizing the tile drawing code (see below).
    • I added a new file manager where you can copy/move files around on your Memory Stick and even copy/move files between Memory Sticks (however, files > ~3.5 Mb or so will require multiple swaps, because the available heap memory is very small).

      I translated the file delete confirmation dialog in the file selector

      I improved the battery stats to include estimated (the Kernel's estimation, not my own :P) runtime and corrected the reported percentage.

      Corrected a bug where the PSP would completely hang if you exited from the Home button menu while in the file selector. As far as I know, this still affects 0.02y29+.

      Cleaned up the SceGU backend, giving it similar interfaces as the Snes9x OpenGL backend.

      When using the SceGU backend, the scissor region is now set appropriately, so that the unused portions of the square render texture are not drawn. (This was most obvious in "Normal" mode or "4:3" with HiRes mode enabled).

      ROMs that use 239 scanlines ("Overscan") are properly handled within the SceGU backend now.

      Cleaned up the code in psp.cpp... If you intend to do a diff vs. a version of y's port, make sure you enable "ignore whitespace"

      Because of the new file manager, you need to use START + SELECT to exit the game from the menu now. This has always been possible, but there used to be a menu option that did the same thing.

      Similarly, there's no continue menu option... Simply press X to close the main menu.

      Integrated all of y's "optimizations" from 0.02y28. A lot of them really have no measurable performance increase and some of them even break compatibility with certain games unfortunately. I'll systematically revert the ones that are causing issues before 0.02pd2 is officially released.

    On the note of optimization, I'm looking into optimizing the tile code to use the GPU at the moment. This is the one key area that's keeping Snes9x from running at "full speed" on the PSP. Optimization really needs to be focused on this and not the more trivial things y's been working on.

    I have discovered through a lot of hard work (sucks without gprof support) that branching is what's killing performance in the tile drawing code. If you take out the if (...) branches and perform every operation over every iteration of the loops, the framerate shoots up a good 15-20 FPS. While I'm going to attempt to attack the situation using the GPU, someone who's skilled with MIPS assembly may want to write optimized variants of DrawTile16 (...) and DrawTile16_OBJ (...) (see gfx.cpp and tile.cpp) that use conditional moves instead of the more expensive branches; that would help performance tremendously.

    Attacking the issue with the GPU in mind is a major challenge. First of all, the SNES hardware has the capability to change all sorts of things between scanlines, and a tile's "depth" (or priority) is on a per-pixel basis. This is difficult to handle on the PSP, which has a fixed function fragment pipeline. So it may prove futile, but I'll give it a shot anyway.
    Origin: http://forums.ps2dev.org/viewtopic.php?t=2850

  2. #2
    DCEmu Old Pro xuphorz's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Age
    31
    Posts
    1,193
    Rep Power
    55

    Default

    sounds good to me

  3. #3

    Default

    even though this is written in english... IT STILL SOUNDS JAPANESE TO ME!!! lol

    i take my hats off to u guys who spend hours on this stuff... without u... theres no fun. i thk u.. *sniff*

    da relic

  4. #4
    DCEmu Newbie RabidPuppi's Avatar
    Join Date
    Jul 2005
    Age
    36
    Posts
    59
    Rep Power
    0

    Default

    yeah you guys rawk my world! im going to have to join slik in crying... because my love for you is so deep and pure... keep up the good werk!!

  5. #5
    PSP User ganon's Avatar
    Join Date
    Mar 2005
    Posts
    506
    Rep Power
    55

    Default

    Im looking forward to this version

  6. #6
    DCEmu Rookie
    Join Date
    Jun 2005
    Location
    -=MX=-
    Posts
    157
    Rep Power
    50

    Default

    good, lets hope bigger improvez

  7. #7
    PSP User GizmoSan's Avatar
    Join Date
    Jul 2005
    Location
    North Carolina
    Posts
    14
    Rep Power
    0

    Default

    the emulator is awesome at the moment, I can't wait to see what the next version plays like! Oh and thanks for making it worth the money to buy a psp, because the current crop of games lack the old school feeling. hehe. I was playing R-Type 3 for almost 2 hours!

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
  •