説明なし

MPlayDef.s 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. @***
  2. @
  3. @ MusicPlayDef.s (MPlayDef.s) ver1.05
  4. @
  5. @ Copyright (C) 1999-2001 NINTENDO Co.,Ltd.
  6. @**************************************************************@
  7. @***
  8. @ MML (without running status)
  9. @******************************************************@
  10. .equ W00, 0x80 @ WAIT
  11. .equ W01, W00+1 @
  12. .equ W02, W00+2 @
  13. .equ W03, W00+3 @
  14. .equ W04, W00+4 @
  15. .equ W05, W00+5 @
  16. .equ W06, W00+6 @
  17. .equ W07, W00+7 @
  18. .equ W08, W00+8 @
  19. .equ W09, W00+9 @
  20. .equ W10, W00+10 @
  21. .equ W11, W00+11 @
  22. .equ W12, W00+12 @
  23. .equ W13, W00+13 @
  24. .equ W14, W00+14 @
  25. .equ W15, W00+15 @
  26. .equ W16, W00+16 @
  27. .equ W17, W00+17 @
  28. .equ W18, W00+18 @
  29. .equ W19, W00+19 @
  30. .equ W20, W00+20 @
  31. .equ W21, W00+21 @
  32. .equ W22, W00+22 @
  33. .equ W23, W00+23 @
  34. .equ W24, W00+24 @
  35. .equ W28, W00+25 @
  36. .equ W30, W00+26 @
  37. .equ W32, W00+27 @
  38. .equ W36, W00+28 @
  39. .equ W40, W00+29 @
  40. .equ W42, W00+30 @
  41. .equ W44, W00+31 @
  42. .equ W48, W00+32 @
  43. .equ W52, W00+33 @
  44. .equ W54, W00+34 @
  45. .equ W56, W00+35 @
  46. .equ W60, W00+36 @
  47. .equ W64, W00+37 @
  48. .equ W66, W00+38 @
  49. .equ W68, W00+39 @
  50. .equ W72, W00+40 @
  51. .equ W76, W00+41 @
  52. .equ W78, W00+42 @
  53. .equ W80, W00+43 @
  54. .equ W84, W00+44 @
  55. .equ W88, W00+45 @
  56. .equ W90, W00+46 @
  57. .equ W92, W00+47 @
  58. .equ W96, W00+48 @
  59. .equ FINE, 0xb1 @ fine
  60. .equ GOTO, 0xb2 @ goto
  61. .equ PATT, 0xb3 @ pattern play
  62. .equ PEND, 0xb4 @ pattern end
  63. .equ REPT, 0xb5 @ repeat
  64. .equ MEMACC, 0xb9 @ memacc op adr dat ***lib
  65. .equ PRIO, 0xba @ priority
  66. .equ TEMPO, 0xbb @ tempo (BPM/2)
  67. .equ KEYSH, 0xbc @ key shift
  68. @***
  69. @ MML (within running status)
  70. @******************************************************@
  71. .equ VOICE, 0xbd @ voice #
  72. .equ VOL, 0xbe @ volume
  73. .equ PAN, 0xbf @ panpot (c_v+??)
  74. .equ BEND, 0xc0 @ pitch bend (c_v+??)
  75. .equ BENDR, 0xc1 @ bend range
  76. .equ LFOS, 0xc2 @ LFO speed
  77. .equ LFODL, 0xc3 @ LFO delay
  78. .equ MOD, 0xc4 @ modulation depth
  79. .equ MODT, 0xc5 @ modulation type
  80. .equ TUNE, 0xc8 @ micro tuning (c_v+??)
  81. .equ XCMD, 0xcd @ extend command ***lib
  82. .equ xIECV, 0x08 @ imi.echo vol ***lib
  83. .equ xIECL, 0x09 @ imi.echo len ***lib
  84. .equ EOT, 0xce @ End of Tie
  85. .equ TIE, 0xcf @
  86. .equ N01, TIE+1 @ NOTE
  87. .equ N02, N01+1 @
  88. .equ N03, N01+2 @
  89. .equ N04, N01+3 @
  90. .equ N05, N01+4 @
  91. .equ N06, N01+5 @
  92. .equ N07, N01+6 @
  93. .equ N08, N01+7 @
  94. .equ N09, N01+8 @
  95. .equ N10, N01+9 @
  96. .equ N11, N01+10 @
  97. .equ N12, N01+11 @
  98. .equ N13, N01+12 @
  99. .equ N14, N01+13 @
  100. .equ N15, N01+14 @
  101. .equ N16, N01+15 @
  102. .equ N17, N01+16 @
  103. .equ N18, N01+17 @
  104. .equ N19, N01+18 @
  105. .equ N20, N01+19 @
  106. .equ N21, N01+20 @
  107. .equ N22, N01+21 @
  108. .equ N23, N01+22 @
  109. .equ N24, N01+23 @
  110. .equ N28, N01+24 @
  111. .equ N30, N01+25 @
  112. .equ N32, N01+26 @
  113. .equ N36, N01+27 @
  114. .equ N40, N01+28 @
  115. .equ N42, N01+29 @
  116. .equ N44, N01+30 @
  117. .equ N48, N01+31 @
  118. .equ N52, N01+32 @
  119. .equ N54, N01+33 @
  120. .equ N56, N01+34 @
  121. .equ N60, N01+35 @
  122. .equ N64, N01+36 @
  123. .equ N66, N01+37 @
  124. .equ N68, N01+38 @
  125. .equ N72, N01+39 @
  126. .equ N76, N01+40 @
  127. .equ N78, N01+41 @
  128. .equ N80, N01+42 @
  129. .equ N84, N01+43 @
  130. .equ N88, N01+44 @
  131. .equ N90, N01+45 @
  132. .equ N92, N01+46 @
  133. .equ N96, N01+47 @
  134. @***
  135. @ Max value of operators
  136. @******************************************************@
  137. .equ mxv, 0x7F @
  138. @***
  139. @ center value of PAN, BEND, TUNE
  140. @******************************************************@
  141. .equ c_v, 0x40 @ -64 ~ +63
  142. @***
  143. @ parameter of N??, TIE, EOT
  144. @******************************************************@
  145. .equ CnM2, 0 @
  146. .equ CsM2, 1 @
  147. .equ DnM2, 2 @
  148. .equ DsM2, 3 @
  149. .equ EnM2, 4 @
  150. .equ FnM2, 5 @
  151. .equ FsM2, 6 @
  152. .equ GnM2, 7 @
  153. .equ GsM2, 8 @
  154. .equ AnM2, 9 @
  155. .equ AsM2, 10 @
  156. .equ BnM2, 11 @
  157. .equ CnM1, 12 @
  158. .equ CsM1, 13 @
  159. .equ DnM1, 14 @
  160. .equ DsM1, 15 @
  161. .equ EnM1, 16 @
  162. .equ FnM1, 17 @
  163. .equ FsM1, 18 @
  164. .equ GnM1, 19 @
  165. .equ GsM1, 20 @
  166. .equ AnM1, 21 @
  167. .equ AsM1, 22 @
  168. .equ BnM1, 23 @
  169. .equ Cn0, 24 @
  170. .equ Cs0, 25 @
  171. .equ Dn0, 26 @
  172. .equ Ds0, 27 @
  173. .equ En0, 28 @
  174. .equ Fn0, 29 @
  175. .equ Fs0, 30 @
  176. .equ Gn0, 31 @
  177. .equ Gs0, 32 @
  178. .equ An0, 33 @
  179. .equ As0, 34 @
  180. .equ Bn0, 35 @
  181. .equ Cn1, 36 @
  182. .equ Cs1, 37 @
  183. .equ Dn1, 38 @
  184. .equ Ds1, 39 @
  185. .equ En1, 40 @
  186. .equ Fn1, 41 @
  187. .equ Fs1, 42 @
  188. .equ Gn1, 43 @
  189. .equ Gs1, 44 @
  190. .equ An1, 45 @
  191. .equ As1, 46 @
  192. .equ Bn1, 47 @
  193. .equ Cn2, 48 @
  194. .equ Cs2, 49 @
  195. .equ Dn2, 50 @
  196. .equ Ds2, 51 @
  197. .equ En2, 52 @
  198. .equ Fn2, 53 @
  199. .equ Fs2, 54 @
  200. .equ Gn2, 55 @
  201. .equ Gs2, 56 @
  202. .equ An2, 57 @
  203. .equ As2, 58 @
  204. .equ Bn2, 59 @
  205. .equ Cn3, 60 @
  206. .equ Cs3, 61 @
  207. .equ Dn3, 62 @
  208. .equ Ds3, 63 @
  209. .equ En3, 64 @
  210. .equ Fn3, 65 @
  211. .equ Fs3, 66 @
  212. .equ Gn3, 67 @
  213. .equ Gs3, 68 @
  214. .equ An3, 69 @ 440Hz
  215. .equ As3, 70 @
  216. .equ Bn3, 71 @
  217. .equ Cn4, 72 @
  218. .equ Cs4, 73 @
  219. .equ Dn4, 74 @
  220. .equ Ds4, 75 @
  221. .equ En4, 76 @
  222. .equ Fn4, 77 @
  223. .equ Fs4, 78 @
  224. .equ Gn4, 79 @
  225. .equ Gs4, 80 @
  226. .equ An4, 81 @
  227. .equ As4, 82 @
  228. .equ Bn4, 83 @
  229. .equ Cn5, 84 @
  230. .equ Cs5, 85 @
  231. .equ Dn5, 86 @
  232. .equ Ds5, 87 @
  233. .equ En5, 88 @
  234. .equ Fn5, 89 @
  235. .equ Fs5, 90 @
  236. .equ Gn5, 91 @
  237. .equ Gs5, 92 @
  238. .equ An5, 93 @
  239. .equ As5, 94 @
  240. .equ Bn5, 95 @
  241. .equ Cn6, 96 @
  242. .equ Cs6, 97 @
  243. .equ Dn6, 98 @
  244. .equ Ds6, 99 @
  245. .equ En6, 100 @
  246. .equ Fn6, 101 @
  247. .equ Fs6, 102 @
  248. .equ Gn6, 103 @
  249. .equ Gs6, 104 @
  250. .equ An6, 105 @
  251. .equ As6, 106 @
  252. .equ Bn6, 107 @
  253. .equ Cn7, 108 @
  254. .equ Cs7, 109 @
  255. .equ Dn7, 110 @
  256. .equ Ds7, 111 @
  257. .equ En7, 112 @
  258. .equ Fn7, 113 @
  259. .equ Fs7, 114 @
  260. .equ Gn7, 115 @
  261. .equ Gs7, 116 @
  262. .equ An7, 117 @
  263. .equ As7, 118 @
  264. .equ Bn7, 119 @
  265. .equ Cn8, 120 @
  266. .equ Cs8, 121 @
  267. .equ Dn8, 122 @
  268. .equ Ds8, 123 @
  269. .equ En8, 124 @
  270. .equ Fn8, 125 @
  271. .equ Fs8, 126 @
  272. .equ Gn8, 127 @
  273. @***
  274. @ parameter of velocity
  275. @******************************************************@
  276. .equ v000, 0 @
  277. .equ v001, 1 @
  278. .equ v002, 2 @
  279. .equ v003, 3 @
  280. .equ v004, 4 @
  281. .equ v005, 5 @
  282. .equ v006, 6 @
  283. .equ v007, 7 @
  284. .equ v008, 8 @
  285. .equ v009, 9 @
  286. .equ v010, 10 @
  287. .equ v011, 11 @
  288. .equ v012, 12 @
  289. .equ v013, 13 @
  290. .equ v014, 14 @
  291. .equ v015, 15 @
  292. .equ v016, 16 @
  293. .equ v017, 17 @
  294. .equ v018, 18 @
  295. .equ v019, 19 @
  296. .equ v020, 20 @
  297. .equ v021, 21 @
  298. .equ v022, 22 @
  299. .equ v023, 23 @
  300. .equ v024, 24 @
  301. .equ v025, 25 @
  302. .equ v026, 26 @
  303. .equ v027, 27 @
  304. .equ v028, 28 @
  305. .equ v029, 29 @
  306. .equ v030, 30 @
  307. .equ v031, 31 @
  308. .equ v032, 32 @
  309. .equ v033, 33 @
  310. .equ v034, 34 @
  311. .equ v035, 35 @
  312. .equ v036, 36 @
  313. .equ v037, 37 @
  314. .equ v038, 38 @
  315. .equ v039, 39 @
  316. .equ v040, 40 @
  317. .equ v041, 41 @
  318. .equ v042, 42 @
  319. .equ v043, 43 @
  320. .equ v044, 44 @
  321. .equ v045, 45 @
  322. .equ v046, 46 @
  323. .equ v047, 47 @
  324. .equ v048, 48 @
  325. .equ v049, 49 @
  326. .equ v050, 50 @
  327. .equ v051, 51 @
  328. .equ v052, 52 @
  329. .equ v053, 53 @
  330. .equ v054, 54 @
  331. .equ v055, 55 @
  332. .equ v056, 56 @
  333. .equ v057, 57 @
  334. .equ v058, 58 @
  335. .equ v059, 59 @
  336. .equ v060, 60 @
  337. .equ v061, 61 @
  338. .equ v062, 62 @
  339. .equ v063, 63 @
  340. .equ v064, 64 @
  341. .equ v065, 65 @
  342. .equ v066, 66 @
  343. .equ v067, 67 @
  344. .equ v068, 68 @
  345. .equ v069, 79 @
  346. .equ v070, 70 @
  347. .equ v071, 71 @
  348. .equ v072, 72 @
  349. .equ v073, 73 @
  350. .equ v074, 74 @
  351. .equ v075, 75 @
  352. .equ v076, 76 @
  353. .equ v077, 77 @
  354. .equ v078, 78 @
  355. .equ v079, 79 @
  356. .equ v080, 80 @
  357. .equ v081, 81 @
  358. .equ v082, 82 @
  359. .equ v083, 83 @
  360. .equ v084, 84 @
  361. .equ v085, 85 @
  362. .equ v086, 86 @
  363. .equ v087, 87 @
  364. .equ v088, 88 @
  365. .equ v089, 89 @
  366. .equ v090, 90 @
  367. .equ v091, 91 @
  368. .equ v092, 92 @
  369. .equ v093, 93 @
  370. .equ v094, 94 @
  371. .equ v095, 95 @
  372. .equ v096, 96 @
  373. .equ v097, 97 @
  374. .equ v098, 98 @
  375. .equ v099, 99 @
  376. .equ v100, 100 @
  377. .equ v101, 101 @
  378. .equ v102, 102 @
  379. .equ v103, 103 @
  380. .equ v104, 104 @
  381. .equ v105, 105 @
  382. .equ v106, 106 @
  383. .equ v107, 107 @
  384. .equ v108, 108 @
  385. .equ v109, 109 @
  386. .equ v110, 110 @
  387. .equ v111, 111 @
  388. .equ v112, 112 @
  389. .equ v113, 113 @
  390. .equ v114, 114 @
  391. .equ v115, 115 @
  392. .equ v116, 116 @
  393. .equ v117, 117 @
  394. .equ v118, 118 @
  395. .equ v119, 119 @
  396. .equ v120, 120 @
  397. .equ v121, 121 @
  398. .equ v122, 122 @
  399. .equ v123, 123 @
  400. .equ v124, 124 @
  401. .equ v125, 125 @
  402. .equ v126, 126 @
  403. .equ v127, 127 @
  404. @***
  405. @ parameter of gate+
  406. @******************************************************@
  407. .equ gtp1, 1 @
  408. .equ gtp2, 2 @
  409. .equ gtp3, 3 @
  410. @***
  411. @ parameter of MODT, BRET
  412. @******************************************************@
  413. .equ mod_vib,0 @ vibrate
  414. .equ mod_tre,1 @ tremolo
  415. .equ mod_pan,2 @ auto-panpot
  416. @***
  417. @ parameter of MEMACC
  418. @******************************************************@
  419. .equ mem_set,0 @
  420. .equ mem_add,1 @
  421. .equ mem_sub,2 @
  422. .equ mem_mem_set,3 @
  423. .equ mem_mem_add,4 @
  424. .equ mem_mem_sub,5 @
  425. .equ mem_beq,6 @
  426. .equ mem_bne,7 @
  427. .equ mem_bhi,8 @
  428. .equ mem_bhs,9 @
  429. .equ mem_bls,10 @
  430. .equ mem_blo,11 @
  431. .equ mem_mem_beq,12 @
  432. .equ mem_mem_bne,13 @
  433. .equ mem_mem_bhi,14 @
  434. .equ mem_mem_bhs,15 @
  435. .equ mem_mem_bls,16 @
  436. .equ mem_mem_blo,17 @
  437. @***
  438. @ etc.
  439. @******************************************************@
  440. .equ reverb_set,0x80 @ SOUND_MODE_REVERB_SET
  441. .equ PAM, PAN @