home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: Super Street …ghter II PC Format Disk 2 / Lowe_SuperStreetFighterIIPCFormatDisk2.img / BLANK.DAT < prev    next >
Encoding:
Text File  |  1995-12-02  |  11.0 KB  |  755 lines

  1.  
  2.  
  3.  
  4.  
  5. demo    equ 1        ;set to 0 to make returnable demo        
  6. develop    equ 1        ;set to zero for assembling data blks
  7.             ;or testing length of current data
  8.             ;set to 1 for music development
  9.  
  10. select_tunes    equ 0   ; set to 0 for running music on mouse button
  11.  
  12.  
  13.     ifne develop
  14.  
  15.     include c:sf2d/tdriver.s
  16.  
  17.     endc
  18.  
  19.     opt p+
  20.  
  21. ;***********************************************
  22.  
  23.         ;;;  MACROS
  24.  
  25. oct1d    macro
  26.     include c:sf2d/1odequ.blk
  27.     endm
  28.  
  29. oct1u    macro
  30.     include c:sf2d/1ouequ.blk
  31.     endm
  32.  
  33. octn    macro
  34.     include c:sf2d/nequ.blk
  35.     endm
  36.  
  37. noplay    macro
  38.     dc.l    pri-b1
  39.     dc.l    0,end_song
  40.     endm
  41.  
  42.  
  43. bass_guitar    macro
  44.     dc.w    new_env
  45.     dc.l    abass_env-b1
  46.     dc.w    new_snd
  47.     dc.l    abassp-b1
  48.     endm
  49.  
  50. bass_sound    macro
  51.     dc.w    new_env
  52.     dc.l    abass_env-b1
  53.     dc.w    new_snd
  54.     dc.l    abassp-b1
  55.     endm
  56.  
  57.  
  58.  
  59.  
  60. test_sound1    macro
  61.     dc.w    new_env
  62.     dc.l    test1_env-b1
  63.     dc.w    new_snd
  64.     dc.l    test1p-b1
  65.     endm
  66.  
  67. test_sound1_soft    macro
  68.     dc.w    new_env
  69.     dc.l    test1_env_soft-b1
  70.     dc.w    new_snd
  71.     dc.l    test1p-b1
  72.     endm
  73.  
  74.  
  75. test_sound2    macro
  76.     dc.w    new_env
  77.     dc.l    test2_env-b1
  78.     dc.w    new_snd
  79.     dc.l    test2p-b1
  80.     endm
  81.  
  82. test_sound2s    macro
  83.     dc.w    new_env
  84.     dc.l    test2_env-b1
  85.     dc.w    new_snd
  86.     dc.l    test2ps-b1
  87.     endm
  88.  
  89.  
  90.  
  91. chinese_syn    macro
  92.     dc.w    new_env
  93.     dc.l    chinese_syn_env-b1
  94.     dc.w    new_snd
  95.     dc.l    chinese_synp-b1
  96.     endm
  97.  
  98. lead_loop_short_env    macro
  99.     dc.w    new_env
  100.     dc.l    lead_env_short-b1
  101.     dc.w    new_snd
  102.     dc.l    lead_loopp-b1
  103.     endm
  104.  
  105. lead_loopq    macro
  106.     dc.w    new_env
  107.     dc.l    leadloop_envq-b1
  108.     dc.w    new_snd
  109.     dc.l    lead_loopp-b1
  110.     endm
  111.  
  112. lead_loop    macro
  113.     dc.w    new_env
  114.     dc.l    leadloop_env-b1
  115.     dc.w    new_snd
  116.     dc.l    lead_loopp-b1
  117.     endm
  118.  
  119.  
  120. lead_looped    macro
  121.     dc.w    new_env
  122.     dc.l    leadlooped_env-b1
  123.     dc.w    new_snd
  124.     dc.l    lead_loopp-b1
  125.     endm
  126.  
  127. rim        macro
  128.     dc.w    new_env
  129.     dc.l    rim_env-b1
  130.     dc.w    new_snd
  131.     dc.l    rimp-b1
  132.     endm
  133.  
  134. claves        macro
  135.     dc.w    new_env
  136.     dc.l    clave_env-b1
  137.     dc.w    new_snd
  138.     dc.l    clavep-b1
  139.     endm
  140.  
  141. clave        macro
  142.     dc.w    new_env
  143.     dc.l    clave_env-b1
  144.     dc.w    new_snd
  145.     dc.l    clavep-b1
  146.     endm
  147.  
  148. tamb        macro
  149.     dc.w    new_env
  150.     dc.l    tamb_env-b1
  151.     dc.w    new_snd
  152.     dc.l    tambp-b1
  153.     endm
  154.  
  155.  
  156.  
  157. sine_wave16    macro
  158.     dc.w    new_env
  159.     dc.l    sine_env-b1
  160.     dc.w    new_snd
  161.     dc.l    sinep-b1
  162.     endm
  163.  
  164. sine_wave1    macro
  165.     dc.w    new_env
  166.     dc.l    sine_env-b1
  167.     dc.w    new_snd
  168.     dc.l    sine1p-b1
  169.     endm
  170.  
  171.  
  172.  
  173.  
  174. synmaj        macro
  175.     dc.w    new_env
  176.     dc.l    synmaj_env-b1
  177.     dc.w    new_snd
  178.     dc.l    synmajp-b1
  179.     endm
  180.  
  181. synmin        macro
  182.     dc.w    new_env
  183.     dc.l    synmin_env-b1
  184.     dc.w    new_snd
  185.     dc.l    synminp-b1
  186.     endm
  187.  
  188.  
  189.  
  190. heavy_guitar    macro
  191.     dc.w    new_env
  192.     dc.l    hguit_env-b1
  193.     dc.w    new_snd
  194.     dc.l    hguitp-b1
  195.     endm
  196.  
  197. eguitar_short    macro
  198.     dc.w    new_env
  199.     dc.l    egs_env-b1
  200.     dc.w    new_snd
  201.     dc.l    egsp-b1
  202.     endm
  203.  
  204.  
  205.  
  206.  
  207.  
  208. syn1    macro
  209.     dc.w    new_env
  210.     dc.l    syn1_envs-b1
  211.     dc.w    new_snd
  212.     dc.l    syn1p-b1
  213.     endm
  214.  
  215.  
  216.  
  217.  
  218. d    macro            ;kick macro
  219.     dc.w    new_env
  220.     dc.l    kick_env-b1
  221.     dc.w    new_snd
  222.     dc.l    kickp-b1
  223.     endm
  224.  
  225. c    macro            ;kick macro
  226.     dc.w    new_env
  227.     dc.l    kick_env-b1
  228.     dc.w    new_snd
  229.     dc.l    kickp-b1
  230.     endm
  231.  
  232.  
  233.  
  234.  
  235. hd    macro            ;snare macro
  236.     dc.w    new_env
  237.     dc.l    snare_env-b1
  238.     dc.w    new_snd
  239.     dc.l    snarep-b1
  240.     endm
  241.     
  242.  
  243. g    macro            ;snare macro
  244.     dc.w    new_env
  245.     dc.l    hat_env-b1
  246.     dc.w    new_snd
  247.     dc.l    hatp-b1
  248.     endm
  249.  
  250. kick    macro            ;kick macro
  251.     dc.w    new_env
  252.     dc.l    kick_env-b1
  253.     dc.w    new_snd
  254.     dc.l    kickp-b1
  255.     endm
  256.  
  257.  
  258. snare    macro            ;snare macro
  259.     dc.w    new_env
  260.     dc.l    snare_env-b1
  261.     dc.w    new_snd
  262.     dc.l    snarep-b1
  263.     endm
  264.     
  265.  
  266. hat    macro            ;snare macro
  267.     dc.w    new_env
  268.     dc.l    hat_env-b1
  269.     dc.w    new_snd
  270.     dc.l    hatp-b1
  271.     endm
  272.  
  273. clap    macro            ;clap macro
  274.     dc.w    new_env
  275.     dc.l    clap_env-b1
  276.     dc.w    new_snd
  277.     dc.l    clapp-b1
  278.     endm
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285. r    equ r8        ;rim default playback rate
  286. c    equ r20        ;clave playback    
  287. k    equ r16        ;kick default playback rate
  288. s    equ r20        ;clav default playback rate
  289. h    equ r20        ;hat default playback rate
  290. d    equ r16        ;kick default playback rate
  291. hd    equ r16        ;snare default playback rate
  292. g    equ r20        ;hat default playback rate
  293. t    equ r8        ;tambourine default playback rate
  294. cl    equ r16        ;clap default playback rate
  295.  
  296.  
  297.  
  298. ;********************************************************************
  299.  
  300.  
  301.  
  302.             ;SF2  RYU  DATA
  303.  
  304. b1
  305.  
  306.     dc.w    song_table-b1
  307.     dc.w    fxjump_table-b1
  308.  
  309.  
  310.  
  311.     ifeq develop
  312.  
  313.         ;  ALL EQUs
  314.  
  315.  
  316.             include nequ.blk
  317.  
  318.  
  319.  
  320. v equ 0
  321.  
  322. no_loop equ 0
  323. loop equ 0
  324. chann1reg   equ $dff0a0    
  325. chann2reg   equ $dff0b0
  326. chann3reg   equ $dff0c0
  327. chann4reg   equ $dff0d0
  328. dmacon     equ $dff096
  329. int_bf_int   equ   $dff01e
  330. int_bf_w    equ   $dff09a
  331. vhposr     equ   $dff006
  332. in_line    equ   0
  333. new_snd    equ   4
  334. end_song     equ   1
  335. end_patt    equ   8
  336. new_env    equ   12
  337. pbend     equ   16
  338. iff        equ 104
  339.  
  340.  
  341. hi: equ 223
  342. lo:  equ 446
  343.  
  344. r22    equ 134
  345. r20    equ 179        ;correctum
  346. r19    equ 150
  347. r18    equ 178
  348. r17    equ 200
  349. r16:    equ 227        ;correctum
  350. r15:    equ 249
  351. r14    equ 280
  352. r13:    equ 305
  353. r12:    equ 333
  354. r11:    equ 361
  355. r10:    equ 389
  356. r9:    equ 419
  357. r8:    equ 446
  358. r7:    equ 446+112
  359. r6:    equ 446+223
  360. r5:    equ 446+223+112
  361. r4:    equ 446*2
  362. r3:    equ 446*3
  363. r2:    equ 446*4
  364. r1:    equ 446*8
  365.  
  366.  
  367. filter: equ $bfe001
  368. filter_on equ 44
  369. filter_off equ 48
  370.  
  371. modon     equ   20
  372. pboff     equ   24
  373. modoff     equ   28
  374. rest     equ 32
  375. end_fxp  equ 36
  376. end_fx3  equ 36
  377. end_fx4  equ 40
  378. acc    equ 52
  379. repeat    equ 56
  380. down      equ   1
  381. up       equ   2
  382.  
  383. fx    equ 0
  384.  
  385.     endc
  386.  
  387.     ;"""""""""""""""""""""""""""""""""""""""""""""""""
  388.  
  389.  
  390.     ;;; DATA
  391.  
  392. song_table:        
  393.  
  394.     dc.l 3,sb1-b1,sb2-b1,sb3-b1,sb4-b1,0,0,0    ;j1
  395.  
  396.     dc.l 5,ss1-b1,ss1-b1,ss1-b1,ss1-b1,0,0,0        ;j1
  397.  
  398.  
  399. max_songs:    dc.l  3
  400.  
  401.  
  402.  
  403. fxp:
  404.  
  405.  
  406. fxjump_table:  
  407.  
  408. ;max_fx    dc.l    10    ;number + 1 for test routines only
  409. ;______________________________________________________________________
  410.  
  411.  
  412. ;sstart: dc.l 0,end_song
  413.  
  414. ;pstart: dc.w end_patt
  415.  
  416.  
  417. ;----------------------------------
  418.  
  419.     octn
  420.  
  421.  
  422.  
  423. cr  set   12
  424. q set  cr/2
  425. sq set q/2
  426. dsq set sq/4
  427.  
  428. tq1 set      7
  429. tq2 set   6
  430. tsq1 set  3
  431. tsq2 set 4
  432.  
  433. ss1:            ;;;;;;silence tune for test only
  434.  
  435.     dc.l    pri-b1
  436.       dc.l     0,end_song
  437.  
  438.     dc.w    c03,cr*4
  439.     dc.w     end_patt
  440.  
  441. pri:
  442.     dc.w    new_env
  443.     dc.l    rest_env-b1
  444.     dc.w    c03,65000
  445.     dc.w     end_patt
  446.  
  447. ;************************************************
  448. ;;;;;;;;;;;;;;;;;;;;;           MUSIC DATA HERE  ;;;;;;;;;;;;;;;;;;;;;;;
  449.  
  450.  
  451.  
  452.  
  453. ;------------------------
  454. iff    equ 104
  455.  
  456.     ; sample parameters
  457.  
  458.  
  459. abassp
  460.         dc.w 1  
  461.              dc.l (abassd+iff)-b1
  462.              dc.w (2822)/2
  463.              dc.l (abassd+iff+2692)-b1
  464.              dc.w (2822-2692)/2
  465.  
  466. ;abassp                ;slap
  467.         dc.w 1  
  468.              dc.l (abassd+iff)-b1
  469.              dc.w (5632-iff)/2
  470.              dc.l restd-b1
  471.              dc.w 16/2
  472.  
  473.  
  474. hguitp
  475.         dc.w 1  
  476.              dc.l hguitd-b1
  477.              dc.w 4010/2
  478.              dc.l (hguitd+1284)-b1
  479.              dc.w (4010-1284)/2
  480.  
  481.  
  482. sinep
  483.         dc.w 1  
  484.              dc.l sine_datad-b1
  485.              dc.w 16
  486.              dc.l sine_datad-b1
  487.              dc.w 16
  488.  
  489. sine1p
  490.         dc.w 1  
  491.              dc.l sine_data1d-b1
  492.              dc.w 16
  493.              dc.l sine_data1d-b1
  494.              dc.w 16
  495.  
  496.  
  497. snarep
  498.         dc.w 1  
  499.              dc.l (snared)-b1
  500.              dc.w (2240)/2 
  501.              dc.l restd-b1
  502.              dc.w 16/2
  503.  
  504. kickp
  505.         dc.w 1  
  506.              dc.l (kickd)-b1
  507.              dc.w (2272)/2         ;2272
  508.              dc.l restd-b1
  509.              dc.w 16/2
  510.  
  511. hatp
  512.         dc.w 1  
  513.              dc.l (hatd)-b1
  514.              dc.w (2983)/2 
  515.              dc.l restd-b1
  516.              dc.w 16/2
  517.  
  518. clapp
  519.         dc.w 1  
  520.              dc.l (hatd)-b1
  521.              dc.w (2568)/2 
  522.              dc.l restd-b1
  523.              dc.w 16/2
  524.  
  525.  
  526.  
  527. synmajp
  528.         dc.w 1  
  529.              dc.l (synmajd)-b1
  530.              dc.w (4204/2)/2
  531.              dc.l restd-b1
  532.              dc.w 16/2
  533.  
  534. synminp
  535.         dc.w 1  
  536.              dc.l (synmind)-b1
  537.              dc.w ((4032/2))/2 
  538.              dc.l restd-b1
  539.              dc.w 16/2
  540.  
  541. clavep
  542.         dc.w 1  
  543.              dc.l (claved+iff)-b1
  544.              dc.w ((2320/2))/2 
  545.              dc.l restd-b1
  546.              dc.w 16/2
  547.  
  548. tambp
  549.         dc.w 1  
  550.              dc.l (tambd+iff)-b1
  551.              dc.w ((1457/2))/2 
  552.              dc.l restd-b1
  553.              dc.w 16/2
  554.  
  555.  
  556.  
  557. rimp
  558.         dc.w 1  
  559.              dc.l (rimd+iff)-b1
  560.              dc.w ((400/2))/2 
  561.              dc.l restd-b1
  562.              dc.w 16/2
  563.  
  564. chinese_synp
  565.         dc.w 1  
  566.              dc.l (chinese_synd+iff)-b1
  567.              dc.w (8703/2)/2 
  568.              dc.l restd-b1
  569.              dc.w 16/2
  570.  
  571.  
  572. lead_loopp
  573.         dc.w 1  
  574.              dc.l (leadloopd)-b1
  575.              dc.w (4658)/2 
  576.              dc.l (leadloopd+4146)-b1
  577.              dc.w (4658-4146)/2 
  578.  
  579. ;----------------------------
  580. envelopes:
  581.  
  582.  
  583. rest_env:            dc.w 0,0,0,0,0,0,0,0,255
  584. flute_env:            dc.w 0,48,255
  585. dloop_env:            dc.w 0,38,255
  586. strings_env:            dc.w 0,35,255
  587. fhorn_env:            dc.w 0,38,255
  588. abass_env:            dc.w 0,45,255
  589. piano_env:            dc.w 0,48,255
  590. hato_env:            dc.w 0,28,255
  591. hatc_env:            dc.w 0,48,255
  592. hato_envl:            dc.w 0,48,255
  593. hatc_envl:            dc.w 0,48,255
  594.  
  595. clave_env:            dc.w 0,40,255
  596. rim_env:            dc.w 0,28,255
  597.  
  598.  
  599.  
  600.  
  601. flute_envq:            dc.w 0,18,255
  602. sine_env_short:            dc.w 0,40,39,37,36,34,0,28,25,22,20,0
  603.                 dc.w 18,17,16,15,14,13,12,11,0,10
  604.                 dc.w 9,8,7,6,5,4,3,2,1,0,255
  605.  
  606. sine_env_vshort:        dc.w 30,25,0,15,10,8,7,255
  607.  
  608. sine_env:            dc.w 25,24,23,22,21,20
  609.                 dc.w 15,14,13,12,0,9,8,7,6,5,4,0,255
  610. syn1_envs
  611. sine_envl:            dc.w 60,60,60,60,0,40,30,20
  612.                 dc.w 17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,255
  613.  
  614. snare_env            dc.w 0,15,255
  615. kick_env            dc.w 0,29,255
  616. hat_env                dc.w 0,6,255
  617. clap_env            dc.w 0,38,255
  618. tamb_env            dc.w 0,20,255
  619.  
  620. sine_envloop            dc.w 0,25,255
  621.  
  622. chord_env:            dc.w 0,64,255
  623.  
  624.  
  625. hguit_env:            dc.w 0,10,255
  626. syn1_env:            dc.w 0,52,255
  627. egs_env:            dc.w 0,22,255
  628. synmaj_env:            dc.w 0,20,255
  629. synmin_env:            dc.w 0,19,255
  630. ;leadloop_env:            dc.w 0,28,255
  631. leadloop_env
  632. leadlooped_env            dc.w 0,50
  633.                 dc.w  50,255
  634.  
  635. leadloop_envq
  636.                 dc.w  40,255
  637.  
  638.  
  639.  
  640.  
  641. chinese_syn_env            dc.w 0,30
  642.                 dc.w  30,255
  643.  
  644.  
  645. lead_env_short            
  646.                 dc.w 48,45,43,42,40,35,32,28,18,12,8,5,0,255
  647.  
  648.  
  649.  
  650. ;**************************************************
  651.  
  652. ;;THE FX SAMPLES ARE PULLED IN HERE...THis section can be anywhere
  653. ;; in lower memory,and in any order
  654.  
  655.  
  656. ;abassd            incbin c:sf2d/inst/slapbass.sam     ;bass+drum
  657. abassd            incbin c:sf2d/inst/fuzzbassn.sam 
  658. snared            incbin c:sf2d/inst/snare.sam 
  659. kickd            incbin c:sf2d/inst/kick2.sam 
  660. hatd            incbin c:sf2d/inst/hat2.sam 
  661. clapd            ;incbin c:sf2d/inst/clap.sam 
  662. tambd            ;incbin c:sf2d/inst/tamb.sam 
  663. synmajd            ;incbin c:sf2d/inst/synmajl.sam 
  664. synmind            incbin c:sf2d/inst/synminl.sam 
  665. hguitd            ;incbin c:sf2d/inst/hguitnn.sam 
  666. leadloopd        incbin c:sf2d/inst/leadloopn.sam 
  667. claved            ;incbin c:sf2d/inst/clave.sam 
  668. rimd            ;incbin c:sf2d/inst/rim.sam 
  669. chinese_synd        ;incbin c:sf2d/inst/chinese_syn.sam
  670.  
  671.  
  672.  
  673.  
  674. test1p
  675.         dc.w 1  
  676.              dc.l (test1d+iff)-b1
  677.              dc.w (test1_len)/2
  678.              dc.l (test1d+iff+126)-b1
  679.              dc.w (test1_len-126)/2
  680.  
  681.              dc.l restd-b1
  682.              dc.w 16/2
  683.  
  684.  
  685. test2p
  686.         dc.w 1  
  687.              dc.l (test2d+iff)-b1
  688.              dc.w (test2_len)/2
  689.              dc.l restd-b1
  690.              dc.w 16/2
  691.  
  692. test2ps
  693.         dc.w 1  
  694.              dc.l (test2d+iff)-b1
  695.              dc.w (test2_len)/2
  696.              dc.l restd-b1
  697.              dc.w 16/2
  698.  
  699.  
  700.  
  701.  
  702. test1_len    equ    6196
  703. test2_len    equ    2312
  704.  
  705. test1_env:            dc.w 0,30,255
  706. test1_env_soft:            dc.w 0,26,255
  707. test2_env:            dc.w 0,15,255
  708.  
  709.  
  710. test1d            incbin c:sf2d/inst/stringloop.sam 
  711. test2d            incbin c:sf2d/inst/epiano.sam
  712.  
  713.  
  714. ;********************************************
  715.  
  716.  
  717. restd:
  718. rest_data:
  719.              dc.w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  720.              dc.w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  721.              dc.w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  722.              dc.w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  723.              dc.w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  724.              dc.w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  725. sine_datad:
  726.              dc.w 127,80,50,25,0,-25,-50,-100,-127
  727.              dc.w -127,-100,-50,-35,0,35,50,80,127
  728.              dc.w 127,80,50,25,0,-25,-50,-100,-127
  729.              dc.w -127,-100,-50,-35,0,35,50,80,127
  730.  
  731.  
  732. sine_data1d:
  733.              dc.w 127,120,118,110,100,99,88,77,66,55,44,30,20,5,4,0
  734.              dc.w 0,-3,-5,-8,-10,-4,-19,-22,-24,-28,-30,-35,-40,-50,-70,-100
  735.              dc.w 127,120,118,110,100,99,88,77,66,55,44,30,20,5,4,0
  736.              dc.w 0,-3,-5,-8,-10,-4,-19,-22,-24,-28,-30,-35,-40,-50,-70,-100
  737.              dc.w 127,120,118,110,100,99,88,77,66,55,44,30,20,5,4,0
  738.              dc.w 0,-3,-5,-8,-10,1-4,-19,-22,-24,-28,-30,-35,-40,-50,-70,-100
  739.  
  740.  
  741.  
  742.  
  743. endb1
  744. ;*************************************************
  745.  
  746.     end
  747.  
  748.  
  749.  
  750.     dc.w modon,1,1,8,8,6,6
  751.     dc.w pbend,down,1,60000,32
  752.  
  753.  
  754.  
  755.