Source Code of NDSSFC v1.06

Discussion in 'Supercard SDK' started by discuz2011, Dec 17, 2010.

Dec 17, 2010
  1. discuz2011
    OP

    Newcomer discuz2011 Newbie

    Joined:
    Dec 17, 2010
    Messages:
    5
    Country:
    United States
    Margen67 likes this.


  2. Gh0sti

    Member Gh0sti iOS Guru

    Joined:
    Aug 19, 2009
    Messages:
    1,302
    Location:
    Inside you, all around you
    Country:
    United States
    BAG needs to opensource his emu and just let people go off what he has done, otherwise we are taking a step back in fixing this emu, bc he has done a lot of work on it
     
    Margen67 likes this.
  3. Recorderdude

    Member Recorderdude Musician, Animator, Buffoon.

    Joined:
    Jun 19, 2010
    Messages:
    1,392
    Country:
    United States
    If you're gonna develop for it then...

    Warning: Spoilers inside!
     
  4. Gh0sti

    Member Gh0sti iOS Guru

    Joined:
    Aug 19, 2009
    Messages:
    1,302
    Location:
    Inside you, all around you
    Country:
    United States
    the thing is i dont know how to
    -code
    -compile it
    -have linux to use sdk
    -code
    -did i say code?

    i meant for other programmers who might want to pick up on his work
     
    Margen67 likes this.
  5. goncalodoom

    Member goncalodoom GBAtemp Fan

    Joined:
    Sep 12, 2009
    Messages:
    353
    Location:
    portugal
    Country:
    Portugal
    it says its 1.06 version but its the 1.05 version
     
  6. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    In fact, the released codebase is GPL2 licensed, so he's required to release his source code changes for any distributed versions.

    Of course, it's not like anybody could do anything if he didn't, anyway. [​IMG]
     
    Margen67 likes this.
  7. Crystal the Glaceon

    Member Crystal the Glaceon GBAtemp Inkling™ Squishies~

    Joined:
    Sep 13, 2009
    Messages:
    14,765
    Location:
    Inkopolis
    Country:
    Antarctica
    Now all we need is the GBA Source code
     
    Margen67 likes this.
  8. Gh0sti

    Member Gh0sti iOS Guru

    Joined:
    Aug 19, 2009
    Messages:
    1,302
    Location:
    Inside you, all around you
    Country:
    United States
    i think darkchan still has rights to the emu and thats why the source code has not been released by him, sc team i dont think can legally release it
     
  9. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    I'm going to look into adding sleep mode support for NDSSFC. That's one of the big things I miss with it as it is (compared to SNEmulDS), since I sometimes play games at work and it's nice to be able to put DS games down and not worry about it sitting there making noise and getting me in trouble.

    Should be a fun exercise (and valuable entertainment as I fail horribly), as I've got no low-level experience with the hardware. At least I've dealt with embedded systems before so I might have a shot at it.

    Of course, if I make progress, I'll release a source patch and let others with better knowledge tell me how badly it was done.
     
  10. SifJar

    Member SifJar Not a pirate

    Joined:
    Apr 4, 2009
    Messages:
    6,022
    Country:
    United Kingdom
    I'm pretty sure DarkChan IS the SuperCard team, they just did it unofficially, just in case.
     
  11. Gh0sti

    Member Gh0sti iOS Guru

    Joined:
    Aug 19, 2009
    Messages:
    1,302
    Location:
    Inside you, all around you
    Country:
    United States
    r u going to be working off BAG's source or teh 1.06 BAG has done alot of work and u should just work off of his updates
     
  12. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    Here's a simple two-liner patch (git formatted) to increase the directory size limits so that you can use a large ROM pack with NDSSFC and SNEmulDS at the same time, for example.

    To apply, enter your ndssfc directory, download the patch, and run:
    CODEpatch -p1
     

    Attached Files:

  13. Gh0sti

    Member Gh0sti iOS Guru

    Joined:
    Aug 19, 2009
    Messages:
    1,302
    Location:
    Inside you, all around you
    Country:
    United States
    @stinebd, maybe you should just create a new folder that has everything put together for those who dont understand how to patch the system, like how bag did his, just put it inot the already existing folder and let ppl download the new revision
     
  14. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    I plan to post a binary. I'm working on one more little thing (Exit from the emulator is freezing on me).

    The patches are posted for reference and collaboration (I work extensively on open-source projects, so that's how I do things). I'd prefer that BAG (or someone else who wishes to maintain a fork, or even SC team) merge the changes into their versions (if they're appropriate) because I don't really have enough time to maintain my own fork.

    Thanks!
     
  15. BassAceGold

    Member BassAceGold Testicles

    Joined:
    Aug 14, 2006
    Messages:
    494
    Country:
    Canada
    ds2_plug_exit() is broken in sdk 0.13. The SC Team is aware of it and say it should be fixed in the next release.
     
  16. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    Ah, good to know. Thanks!

    EDIT: Since there's nothing I can do about that freeze on exit, I'll just post the package now...

    NOTE: Sleep mode currently only works while in the game (ie. the menu is not visible and bottom screen is off). The design of the menu system makes it complicated to add sleep mode handling there, so I haven't tried that yet.(Sleep mode available in menu now. Please reply if there are bugs there, I rushed it [​IMG]) In addition to sleep mode, I've also increased the directory file count limit to 2048 (like in my first patch), but kept the subdirectory count limit at 64 to save RAM.

    Installation procedures are the same as BAGSFC.

    BAGSFC-r3-mod-stinebd.zip
     
  17. YayMii

    Member YayMii hi

    Joined:
    Jun 24, 2009
    Messages:
    4,882
    Location:
    that place
    Country:
    Canada
    Is it possible to fix the lights on the DS to act as if it was actually in sleep mode? Because I noticed the light stay solid when it was in sleep mode.
     
  18. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    If you mean the slow flashing power light, then it should already do that when in sleep mode (does for me, at least).

    --

    I've been making some small improvements here and there (such as ramping down the DS2 CPU clock before suspend, to actually _save_ power).
     
  19. YayMii

    Member YayMii hi

    Joined:
    Jun 24, 2009
    Messages:
    4,882
    Location:
    that place
    Country:
    Canada
    Well, it doesn't on the DSi (on the DSi, rather than the light slowly flashing, both the Wifi and power lights go dim, and then the power light does the gradual "breathing" effect that Macs do on sleep mode). I'm not sure if this is an issue with the emulator or the way the DStwo works. ROMs and non-DStwo homebrew dims the light, yet this doesn't.
     
  20. stinebd

    Newcomer stinebd Member

    Joined:
    May 22, 2008
    Messages:
    10
    Country:
    United States
    Oh. Sorry, but I don't have DSi hardware so I can't do anything about it.
     

Share This Page