SNES SDK (SNES ultimate resource thread)

Discussion in 'Technical Documents and Software Tools' started by Infrid, Dec 4, 2007.

  1. Infrid

    Infrid Rapidly Rising Member

    Joined:
    Jan 12, 2006
    Messages:
    86
    Likes Received:
    1
  2. ASSEMbler

    ASSEMbler Administrator Staff Member

    Joined:
    Mar 13, 2004
    Messages:
    19,394
    Likes Received:
    995
    I'd like to thank Infrid for the files.

    I've added an ammendment in parenthesis to the title of the thread, hoping we can turn this into a resource like the N64 thread.
     
  3. cdoty

    cdoty Gutsy Member

    Joined:
    Mar 23, 2005
    Messages:
    413
    Likes Received:
    2
    Last edited: Dec 8, 2007
  4. cdoty

    cdoty Gutsy Member

    Joined:
    Mar 23, 2005
    Messages:
    413
    Likes Received:
    2
    Wow, thanks for the link.

    Although I still have the printed version of the official programming manual, I had lost the files.
     
  5. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    To clarify, Infrid's compilation contains software for Sculptured Software/Acclaim's development kit hardware, it's not the SDK (Nintendo). Aren't these files from Assembler a while back?

    If you really want the nitty-gritty on SNES, I would definitely consult other material in addition to the official docs which are lacking.

    Good references are:

    http://cgfm2.emuviews.com/txt/snestech.txt
    by Charles MacDonald

    http://byuu.cinnamonpirate.com/bsnes/
    bsnes source code by byuu

    http://nesdev.parodius.com/SNES-starterkit.zip
    SNES development starter kit by Neviksti (including WLA-DX)

    http://www.romhacking.net/?category...ge=documents&level=&docsearch=Go&title=&desc=
    Anomie's documents

    http://www.romhacking.net/?category...ge=documents&level=&docsearch=Go&title=&desc=
    Blargg's documents

    http://www.romhacking.net/?category...ge=documents&level=&docsearch=Go&title=&desc=
    Andreas Naive's documents

    http://www.zophar.net/tech/files/65c816.txt
    GTE 65816 reference typed by Jouko Valta

    http://www.65xx.com/wdc/documentation/w65c816s.pdf
    WDC 65816 datasheet
     
    Last edited: Dec 4, 2007
  6. Infrid

    Infrid Rapidly Rising Member

    Joined:
    Jan 12, 2006
    Messages:
    86
    Likes Received:
    1
    thank you for add me to the 0th bit voodoo clan :icon_bigg

    thank you for the clarify:thumbsup:, actually these file are from an unofficial ftp... :icon_toil
    next time i will share somthing with a title like "a SDK for $your_system_here"
     
  7. babu

    babu Mamihlapinatapai

    Joined:
    Apr 15, 2005
    Messages:
    2,945
    Likes Received:
    3
    Last edited: Dec 4, 2007
  8. jonwil

    jonwil Robust Member

    Joined:
    Dec 16, 2005
    Messages:
    256
    Likes Received:
    21
    NICE SDK download. I wonder if that manual inside SNES Development Manual - Books 1 and 2.7z would help SNES emulator authors quash the remaining bugs in the emulation of the SA-1, SFX and DSP1?

    Although for the DSP1, IIRC someone decapped the chip and was trying to read the contents so that the SNES emulators could just emulate it instead of simulating it.
     
  9. babu

    babu Mamihlapinatapai

    Joined:
    Apr 15, 2005
    Messages:
    2,945
    Likes Received:
    3
    pretty sure many of the emu authors already have the manuals as they are pretty easy to find on the net

    edit: I'm not saying all use it as I know many also prefer a clean room design
     
    Last edited: Dec 4, 2007
  10. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    All good stuff, but does anyone have anything about the sound/SPC usage? Do you really have to get a SPC700 assembler and program for that or are there any utilities or anything to help with adding sound and music to your SNES programs?

    I did see a program once that was supposed to convert XM's to SPCs, but when I ran his demo on BSNES opposed to ZSNES it didn't do anything.

    Edit: I emailed the creator of XMSNES and he linked me the latest release which works on the real SNES quite well. So it seems there is a good way to add music and sound to your SNES programs. =)
     
    Last edited: Dec 6, 2007
  11. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    Yes you really need a SPC assembler to assemble your driver unless you can rip one from a game or can write your songs in MML which probably provides a special driver.
     
  12. kammedo

    kammedo and the lost N64 Hardware Docs

    Joined:
    Sep 24, 2004
    Messages:
    2,138
    Likes Received:
    12

    Here with the link!
     
  13. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    So far it looks like XMSNES is solid enough to do all your sound stuff so you can avoid writing your own SPC program. In his demo there are a few songs and the last one even lets you play sound effect samples with Y,B,X,A. I haven't gotten to it yet but I'm hoping it'll suit my needs. The demo certainly sounded awesome on my SFC.
     
  14. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    But is it decoding XM in real time (and if so, is it the 816 or the SPC) or does it turn XMs into samples and SPC code?

    If it is the 816 decoding XM, you probably don't want to integrate it into a game since there will be speed consequences.
     
    Last edited: Dec 6, 2007
  15. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    It converts the XM into "XMS", which I believe is something his SPC progarm interprets to play the tunes. And yes it converts the samples too. It's not actually playing XMs, just making it easy to go from XM to a working SPC setup.

    When playing his demo on my Super Famicom it seemed plenty stable and sounded great. When I try incorperating it into my own project I'll let you know.
     
  16. babu

    babu Mamihlapinatapai

    Joined:
    Apr 15, 2005
    Messages:
    2,945
    Likes Received:
    3
    if you have interest in coding for the SPC700 and need some code I can post a test I did some time ago that plays back a BRR sample.
     
  17. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    I certainly wouldn't mind seeing it.

    The link for XMSNES is: http://ekid.nintendev.com/xms/

    I tried breifly getting his code to work with xkas and my own demo program and it just didn't work, I didn't try to trace the issue. It is probably related to the tons of lines of code that I had to change for it to assemble.
     
    Last edited: Dec 11, 2007
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page