[SNEmulDS] Rebirth the project and update it for the last DKP

Discussion in 'NDS - Emulation and Homebrew' started by Mbmax, Sep 26, 2011.

  1. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    SNEmulDS doesn't work too well with rom hacks in general. I'd say that's the bigger problem than any rom size limit.
     


  2. Yepi69

    Yepi69 Vivid and busy gamer

    Member
    2,392
    990
    Nov 29, 2010
    Portugal
    Behind you
    It would be great to have a good SNES emulator for the DS where the sprites wouldn't be messed up, I can't play my favorite SNES games properly, EarthBound, Super mario all stars, etc...
     
    Margen67 likes this.
  3. jerbear64

    jerbear64 GBAtemp Regular

    Member
    284
    129
    Dec 10, 2011
    United States
    There is no limit. It uses a pager system to call in parts of the ROM to the memory.
     
    Margen67 likes this.
  4. PROTOBOY

    PROTOBOY GBAtemp Regular

    Member
    220
    20
    Apr 21, 2011
    Canada
    Any news???
     
    Margen67 likes this.
  5. WiiUBricker

    WiiUBricker Insert Custom Title

    Member
    6,892
    3,915
    Sep 19, 2009
    Argentina
    Espresso
    Yes, SNEmulDS is dead for good, so stop bumping this topic. Thx.
     
  6. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    21,175
    10,065
    Apr 29, 2011
    United States
    Dr. Wahwee's castle
    Seriously, why is this thread even open? The work Nebuleon did on CATSFC is way better than SnemulDS could ever hope to be.
     
    Margen67 likes this.
  7. Rydian

    Rydian Resident Furvertâ„¢

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    It's that thing at the very bottom of a post that lets you know when it was posted. Using this information you can, with a little know-how of math and dates, figure out which event happened first when you have two to compare.

    For example, this thread was posted September of 2011.
    CATSFC's revival, on the other hand, was started December 2012, over a year later.

    [​IMG]
     
    Margen67 likes this.
  8. Rizsparky

    Rizsparky Saiyan Prince

    Member
    1,479
    351
    Aug 13, 2007
    The Future
    shame it doesnt work on anything but a DSTWO.
     
    Margen67 and Aeter like this.
  9. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    21,175
    10,065
    Apr 29, 2011
    United States
    Dr. Wahwee's castle


    [​IMG]
     
  10. 2ndApex

    2ndApex GBAtemp Advanced Fan

    Member
    677
    288
    Jul 12, 2012
    United States

    Because people still want support and there's still a ghost of a chance that someone will try to make a better SNES emulator (hey, happened to GBC emulation after 5 years!).

    CATSFC is lightyears away in terms of quality, but SNEmulDS runs at a higher frame rate so I still use it exclusively for Street Fighter: Hyper Fighting and the All-Stars versions of SMB1 if I ever feel like playing them.
     
    Margen67 and SLiV3R like this.
  11. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    21,175
    10,065
    Apr 29, 2011
    United States
    Dr. Wahwee's castle
    It's essentially the Zsnes of DS emulators, it may continue but not likely.
     
  12. Mbmax
    OP

    Mbmax Homebrew addicted

    Member
    2,274
    47
    Nov 7, 2006
    Moved the project from Google code to Sourceforge.
     
  13. ElForastero

    ElForastero Newbie

    Newcomer
    2
    0
    Feb 28, 2015
    Moldova
    Hm... it realy works? :)
     
  14. Coto

    Coto GBAtemp Addict

    Member
    2,353
    403
    Jun 4, 2010
    Chile
    well I could optimize a few stuff on the snemulds project:

    Fixed the linking and compiler warnings, source code for ARM9 does not look like a DOS port anymore

    Replaced some arm7 code so it uses DMA for sound transfers.

    Also ARM9 a bit on opcodes, and relocated more code to both ITCM & DTCM

    cleaner code (except ppu that is mostly the same)

    does not use the old libfat it came bundled with (.a lib) , it uses <current> libnds libfat instead (directly from your devkitpro version)

    i have embedded a posix fread that stream reads from memory if offset is in the cache, otherwise refills block. (not implemented in the emu but available in the source code), but I suspect it could work (works already on my gbaemu) for big roms (over 4MB), and prevent paging.


    so here is the source code:
    <check newer post with proper source code>

    well super mario world runs with sound (snemulds did already that), cycle hacks must be activated to do so, same for street fighter II , if you want decent speed
     
  15. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    The fact that you managed to get it compiling with today's DevKitARM code and the current libfat is amazing. Keep up the great work!
     
    Coto and Margen67 like this.
  16. Coto

    Coto GBAtemp Addict

    Member
    2,353
    403
    Jun 4, 2010
    Chile

    Many thanks there.

    -

    Here is an updated version of the source code (SNEmulDS 0.6), I cleaned up some leftovers from the last source code posted. Runs nice in my opinion

    <check newer post with proper source code>

    SDL and other 2D (be it using the 3d or 2d engine of the render hardware of NDS) are definitely required from now on as the bottleneck is when rendering pixel-by-pixel directly to VRAM blocks.

    I tried SDL (ported OK) but SNEmulDS memory layout breaks SDL support (freezes), so I suspect it has to do with the current RAM setup (and a portion of wram shared with arm7)
     
    Last edited by Coto, Jul 10, 2015
    Mbmax, Oishikatta and VinsCool like this.
  17. VinsCool

    VinsCool Delusional

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,686
    27,684
    Jan 7, 2014
    Canada
    End of Time
    I get an error when I try to compile:

    EDIT: I found the problem, I needed to add GL2D library to libnds :)

    Edit2: What does:
    WTF1
    WTF2
    WTF3
    at startup mean?
    Editt3: Very slow :/
     
    Oishikatta and Margen67 like this.
  18. Coto

    Coto GBAtemp Addict

    Member
    2,353
    403
    Jun 4, 2010
    Chile
    And well for now gl2D is not working .
     
  19. mrolive

    mrolive GBAtemp Advanced Fan

    Member
    547
    202
    Jul 14, 2014
    Canada
    Any updates on this project?
     
  20. Nathan Drake

    Nathan Drake Obligations fulfilled, now I depart.

    Member
    6,192
    2,151
    Jan 2, 2011
    I'm legitimately amazed to see that any significant updates have been made to this emulator. I always found it to be more proof of concept than anything else, impressive for what it could do on such a weak handheld, but not expected to be entirely capable. Granted, I know it is still far, far, far from being anything more than proof of concept, but it's neat to see that even if it's only intermittently, people are still taking turns at improving it.
     
    DanTheManMS likes this.