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

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

Sep 26, 2011
    • Member

    Mbmax Homebrew addicted

    Member Since:
    Nov 7, 2006
    Message Count:
    2,259
    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. [IMG]
    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
    SLiV3R, jimmyemunoz and Vigilante like this.


    • Member

    DanTheManMS aka Ricochet Otter

    Member Since:
    Jun 2, 2007
    Message Count:
    4,274
    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.
    • Member

    avenir New Member

    Member Since:
    Dec 8, 2010
    Message Count:
    376
    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...
    • Member

    Mbmax Homebrew addicted

    Member Since:
    Nov 7, 2006
    Message Count:
    2,259
    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]
    • Member

    wasim ♫ Music addict ♫

    Member Since:
    Nov 13, 2010
    Message Count:
    907
    Location:
    Calicut
    Country:
    India
    Hope someone will do it !

    @mbmax - have you tried asking the GBAtemp hombrew bounty winners ?
    • Member

    Mbmax Homebrew addicted

    Member Since:
    Nov 7, 2006
    Message Count:
    2,259
    Country:
    Antarctica
    No, only Alek.
    • Member

    T.Kuranari New Member

    Member Since:
    Aug 30, 2011
    Message Count:
    151
    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.
    • Member

    Dann Woolf Deadpan Snarker

    Member Since:
    Oct 12, 2010
    Message Count:
    355
    Location:
    Deventer
    Country:
    Netherlands
    Maybe if you contacted Archeide and gave him your best puppy dog eyes he'd give you the source code.
    • Member

    DanTheManMS aka Ricochet Otter

    Member Since:
    Jun 2, 2007
    Message Count:
    4,274
    Location:
    Georgia
    Country:
    United States
    Where did you find them? I was under the impression that Avenir was right.
    • Member

    Mbmax Homebrew addicted

    Member Since:
    Nov 7, 2006
    Message Count:
    2,259
    Country:
    Antarctica
    Maybe i need archeide's opinion before release the link.
    • Member

    DanTheManMS aka Ricochet Otter

    Member Since:
    Jun 2, 2007
    Message Count:
    4,274
    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.
    • Member

    avenir New Member

    Member Since:
    Dec 8, 2010
    Message Count:
    376
    Country:
    United States
    • Member

    Normmatt Former AKAIO Programmer

    Member Since:
    Dec 14, 2004
    Message Count:
    1,960
    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.
    • Member

    Mbmax Homebrew addicted

    Member Since:
    Nov 7, 2006
    Message Count:
    2,259
    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.
    • Member

    DanTheManMS aka Ricochet Otter

    Member Since:
    Jun 2, 2007
    Message Count:
    4,274
    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.
    • Member

    alekmaul New Member

    Member Since:
    Nov 5, 2002
    Message Count:
    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 ?
    • Member

    Normmatt Former AKAIO Programmer

    Member Since:
    Dec 14, 2004
    Message Count:
    1,960
    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.
    • Member

    alekmaul New Member

    Member Since:
    Nov 5, 2002
    Message Count:
    104
    Location:
    Blois
    Country:
    France
    great, need help for something ?
    • Member

    Normmatt Former AKAIO Programmer

    Member Since:
    Dec 14, 2004
    Message Count:
    1,960
    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.
    • Member

    DanTheManMS aka Ricochet Otter

    Member Since:
    Jun 2, 2007
    Message Count:
    4,274
    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.

SPONSORED LINKS
 

Share This Page