+//for 16_sd\r
+//==========================================================================\r
+\r
+/////////////////////////////////////////////////\r
+//\r
+// MUSE Header for .WL6\r
+// Created Tue Jul 14 15:04:53 1992\r
+//\r
+/////////////////////////////////////////////////\r
+\r
+#define NUMSOUNDS 87\r
+//--#define NUMSNDCHUNKS 288\r
+\r
+//\r
+// Sound names & indexes\r
+//\r
+typedef enum {\r
+ HITWALLSND, // 0\r
+ SELECTWPNSND, // 1\r
+ SELECTITEMSND, // 2\r
+ LASTSOUND\r
+ } soundnames;\r
+\r
+//\r
+// Base offsets\r
+//\r
+#define STARTPCSOUNDS 0\r
+#define STARTADLIBSOUNDS 87\r
+#define STARTDIGISOUNDS 174\r
+#define STARTMUSIC 0//++++261\r
+\r
+//\r
+// Music names & indexes\r
+//\r
+typedef enum {\r
+ CORNER_MUS, // 0\r
+ LASTMUSIC\r
+ } musicnames;\r
+\r
+/////////////////////////////////////////////////\r
+//\r
+// Thanks for playing with MUSE!\r
+//\r
+/////////////////////////////////////////////////\r
+\r
+#pragma pack(push,1)\r
+typedef struct imf_entry\r
+{\r
+ byte reg,data;\r
+ word delay;\r
+} imf_entry_t;\r
+#pragma pack(pop)\r
+\r
+typedef struct\r
+{\r
+ volatile unsigned long irq0_ticks;//=0;\r
+ volatile unsigned int irq0_cnt,irq0_add,irq0_max;//=0;\r
+ imf_entry_t* imf_music;//=NULL;\r
+ imf_entry_t* imf_play_ptr;//=NULL;\r
+ imf_entry_t* imf_music_end;//=NULL;\r
+ word imf_delay_countdown;//=0;\r
+ dword ptick,tickrate;\r
+} sd_t;\r
+\r
+//==========================================================================\r
+\r