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

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

  1. Mbmax

    Member Mbmax Homebrew addicted

    Joined:
    Nov 7, 2006
    Messages:
    2,267
    Country:
    Antarctica
    Hi guys.

    I asked a long time ago (may 2010) Archeide the author of SNEmulDS, a SNES emulator for the nintendo DS, about a possible restart/rebirth of his project.
    He said, his code is so outdated that it will be a pity for him to port it at least to Dev Kit Pro r23. It's been a long time he hasn't touched any code on the DS console. :(
    After his answer i decided to ask someone who helped him in some part of the code, Alek Maul.
    Alek never promised me to have a look at the source code, but he said he will when he get a moment.
    Seems that he was too busy ... so i'm here today opening this thread. ^_^


    Is there any coder interested to rebirth this project ? Maybe we could open a SVN ?

    maybe avenir ? huiminghao ? or even normmatt ? ^_^

    Thanks.


    >> Current source code

    Edit : Source code moved from Google code to Sourceforge

    http://sourceforge.net/projects/snemuldsx/
     
    WhoAmI?, Margen67, SLiV3R and 2 others like this.


  2. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,311
    Location:
    Georgia
    Country:
    United States
    You'd have to find the sourcecode for the latest version first. Or ask Archeide directly, but I haven't heard from him since around the time of the last release.
     
  3. avenir

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
    only known source code is for 0.5. Unfortunately no 0.6WIP2 one. So I quit after building on DKPr23 (with extlink support and without file browser lol).
    Graphic glitches and no key input...
     
  4. Mbmax

    Member Mbmax Homebrew addicted

    Joined:
    Nov 7, 2006
    Messages:
    2,267
    Country:
    Antarctica
    @avenir : The last sources available are the one of the 0.6WIP2.

    I just send an email to archeide showing him this post. I hope he will drop a line in there. [​IMG]
     
  5. wasim

    Member wasim ♫ Music addict ♫

    Joined:
    Nov 13, 2010
    Messages:
    907
    Location:
    Calicut
    Country:
    India
    Hope someone will do it !

    @mbmax - have you tried asking the GBAtemp hombrew bounty winners ?
     
  6. Mbmax

    Member Mbmax Homebrew addicted

    Joined:
    Nov 7, 2006
    Messages:
    2,267
    Country:
    Antarctica
    No, only Alek.
     
  7. T.Kuranari

    Member T.Kuranari GBAtemp Regular

    Joined:
    Aug 30, 2011
    Messages:
    150
    Country:
    Japan
    It's too bad that Archeide never declared this project dead and people kept having hope . It would be awesome if this project is going to be reborn [​IMG]
     
    SLiV3R likes this.
  8. Dann Woolf

    Member Dann Woolf Deadpan Snarker

    Joined:
    Oct 12, 2010
    Messages:
    359
    Location:
    Deventer
    Country:
    Netherlands
    Maybe if you contacted Archeide and gave him your best puppy dog eyes he'd give you the source code.
     
  9. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,311
    Location:
    Georgia
    Country:
    United States
    Where did you find them? I was under the impression that Avenir was right.
     
  10. Mbmax

    Member Mbmax Homebrew addicted

    Joined:
    Nov 7, 2006
    Messages:
    2,267
    Country:
    Antarctica
    Maybe i need archeide's opinion before release the link.
     
  11. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,311
    Location:
    Georgia
    Country:
    United States
    Oh wait, you mean it was privately released to you? Nevermind then, I thought you found the source for the latest version publicly or something.
     
  12. avenir

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
  13. Normmatt

    Member Normmatt Former AKAIO Programmer

    Joined:
    Dec 14, 2004
    Messages:
    2,017
    Country:
    New Zealand
    I've got it as far as compiling under devkitarm r34 and latest libnds and it does partially work however the sound code is broken and i believe the compatibility problems are because the arm7 and arm9 arent syncing like the should be.
     
  14. Mbmax

    Member Mbmax Homebrew addicted

    Joined:
    Nov 7, 2006
    Messages:
    2,267
    Country:
    Antarctica
    Welcome aboard Normmatt.

    I think maybe Alek is able to help for that kind of problem.
    Let see if i can reach him.
     
  15. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,311
    Location:
    Georgia
    Country:
    United States
    As Mbmax said, welcome aboard, and more importantly, thanks for even taking the time of day to look at it.

    Gladius is the guy to talk to for the sound engine. He made a partially-working SPC engine for the GBA, which evolved into the SPC engine used in SNES DS, SnezziDS, and SNEmulDS. All of them used the ARM7 exclusively.

    I believe Wintermute (maintainer of DevKitARM) discouraged the use of IPC for ARM9/ARM7 syncing a while ago. I don't know if there are modern equivalents, though I believe there are.
     
  16. alekmaul

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Hi All,
    Well, i will try to contact Archeide about the last source code. I've got one version, but don't know if it is the last one.
    I tried to compile SNEmulDS with last devkit but there are lots of pb due to the fact that Archeide tried to use specific ld scripts to optimize memory management (for pecketspc for example). I stopped, because of Flashback, AnotherWorld and lot's of others projects/
    I think we can change IPC management with last FIFO management (this feature was not here during last snemulds version), it will not be difficult.
    Someone wants to help me with this task ?
     
  17. Normmatt

    Member Normmatt Former AKAIO Programmer

    Joined:
    Dec 14, 2004
    Messages:
    2,017
    Country:
    New Zealand
    Ive already done most of it, it just need some fixing up. But its compiling and it does use FIFO for alot of stuff although not sure how to sync it up without using some sort of IPC like he had it.
     
  18. alekmaul

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    great, need help for something ?
     
  19. Normmatt

    Member Normmatt Former AKAIO Programmer

    Joined:
    Dec 14, 2004
    Messages:
    2,017
    Country:
    New Zealand
    For starters the gui code is very annoying in that I have to call scankeys at just the right time or touch presses are always detected as drags. I spent 2 hours trying to get it to work correctly and I think I've got a balance that's close enough for now but its still annoying. I also need to sync up the sound with the arm9 without using the dirty while loops present in his code as they stop the other interrupts from occurring which prevents input from being recognized.
     
  20. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,311
    Location:
    Georgia
    Country:
    United States
    Alek,

    what are the acronyms you used here? "pb" = "problems" I can assume, but I can't figure out what "ld" is.

    I want to help you with this, yes, but I know I don't have the programming knowledge to be helpful. I have very limited knowledge of SNES opcodes and speedhacks, and I have a basic knowledge of MIPS assembly, but I don't know how helpful that is.

    EDIT: I see a few replies here, most more qualified than I am. Nevermind then.
     

Share This Page