home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK3 / DFUE_100 / FAMITXT.ZIP / SPC2.TXT < prev    next >
Internet Message Format  |  1994-02-07  |  3KB

  1. From:     lca@gnu.ai.mit.edu (.oO| Spaceman Spiff |Oo.)
  2. To:       "Super Famicom Development Group" <famidev@busop.cit.wayne.edu>
  3. Subject:  Re: Samples on de SNEZ
  4. Date:     Tue, 11 Jan 94 14:34:35 EST
  5. Reply-to: famidev@busop.cit.wayne.edu
  6. Sender:   Listserv@busop.cit.wayne.edu
  7. X-Mailer: Mercury MTA v1.0.
  8.  
  9. > A while back someone mentioned that the SPC700 chip was the same sound chip
  10. > as in the <****> computer (forget which one), and that they had made a
  11. > really simple disassembler for it.  If someone could point me towards any
  12. > docs (books) on the spc700, or possibly if it isn't too much trouble, the
  13. > intruction set of the spc700 I would appreciate it.... I'm not looking for
  14. > "programming the spc700 on the snes" Maybe just a <****> book with a chapter
  15. > on programming sound using the spc700.... I realize that no one person out
  16. > there knows how to do the music, sample formats, etc, but I think if we had
  17. > a spc700 disassembler that a couple of us so inclined could start to work
  18. > on the whole sound driver problem....
  19. >       thanks in advance....
  20. >                   -jeremy
  21. Welp music doesn't seem to be too bad. There is a really good musik ripper
  22. on rhe Amiga that rips music out of SMC or BIN formats. I forgett the name,
  23. since I don't have an Amiga :( .. oh well .. anyhoo here is some sample
  24. source for playing a .SPC on the spc700 in the snez .. it's pretty
  25. choppy but it's what I use.
  26.  
  27.         REP     #$30    ; X,Y FIXED -> 16 BIT MODE
  28.         SEP     #$20    ; ACCUMULATOR ->  8 BIT MODE
  29.  
  30.         LDA     #$00
  31.         JSL     $1C8000
  32.         LDA     #$01
  33.         JSL     $1C8000
  34.         LDA     #$17
  35.         LDY     #$0001
  36.         JSL     $1C8000
  37.         LDA     #$13
  38.         LDY     #$003F
  39.         JSL     $1C8000
  40.         LDY     #$0004  ;<- Here Change your favourite TECHNO MuZaK
  41.         JSL     $1C8000
  42.  
  43.         ...
  44.         ...
  45.         ...
  46.  
  47.                         ;<- Here Your Source!
  48.  
  49.         ...
  50.         ...
  51.         ...
  52.  
  53.  
  54.         ORG     $1C8000
  55.  
  56. MUSIC  .BIN     C:\SNEZ\DEMUZAK.SPC
  57.  
  58. -=-=-=-=-=-=-=-=-=-=-=
  59.  
  60. or you could do it this way
  61.  
  62. -=-=-=-=-=-=-=-=-=-=-=
  63.  
  64.         PHB
  65.         REP     #$30    ;A,X,Y 16 BIT
  66.         JSL     $1F8000
  67.         PLB
  68.  
  69.         PHB
  70.         REP     #$30    ;A,X,Y 16 BIT
  71.  
  72.         LDA     #$01    ;<- CHANGE MUSIC
  73.         JSL     $1F8004
  74.         LDA     #$C0
  75.         JSL     $1F8008
  76.         PLB
  77.  
  78.         CLC
  79.         JSL     $1F8014 ;STOP MUSIC
  80.  
  81.  
  82.         ORG     $1B8000
  83.  
  84.         .BIN    C:\SNEZ\DEMUZIK.SPC
  85.  
  86. -=-=-=-=-=-=-=-=
  87.  
  88. Anhyhoo .. that's the same shit but a little clearer. Now the only propblem
  89. with all this is you can't use your own musak .. 'cuz I don't know anyonwe
  90. who knows the format or even if a composer exists. But, my original
  91. post refered to samples and sound effects. 'cuz I don't knowe  ANYONE
  92. wjho knows who those work 100% .. oh well .. ttyl
  93.  
  94. -=SPiFF=-
  95.  
  96.