亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? opl3.h

?? <Linux1.0核心游記>電子書+書后源碼+Linux1.0源碼
?? H
字號:
/* *	opl3.h	- Definitions of the OPL-3 registers * * Copyright by Hannu Savolainen 1993 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * *//* *	The OPL-3 mode is switched on by writing 0x01, to the offset 5 *	of the right side. * *	Another special register at the right side is at offset 4. It contains *	a bit mask defining which voices are used as 4 OP voices. * *	The percussive mode is implemented in the left side only. * *	With the above exeptions the both sides can be operated independently. *	 *	A 4 OP voice can be created by setting the corresponding *	bit at offset 4 of the right side. * *	For example setting the rightmost bit (0x01) changes the *	first voice on the right side to the 4 OP mode. The fourth *	voice is made inaccessible. * *	If a voice is set to the 2 OP mode, it works like 2 OP modes *	of the original YM3812 (AdLib). In addition the voice can  *	be connected the left, right or both stereo channels. It can *	even be left unconnected. This works with 4 OP voices also. * *	The stereo connection bits are located in the FEEDBACK_CONNECTION *	register of the voice (0xC0-0xC8). In 4 OP voices these bits are *	in the second half of the voice. *//* *	Register numbers for the global registers */#define TEST_REGISTER				0x01#define   ENABLE_WAVE_SELECT		0x20#define TIMER1_REGISTER				0x02#define TIMER2_REGISTER				0x03#define TIMER_CONTROL_REGISTER			0x04	/* Left side */#define   IRQ_RESET			0x80#define   TIMER1_MASK			0x40#define   TIMER2_MASK			0x20#define   TIMER1_START			0x01#define   TIMER2_START			0x02#define CONNECTION_SELECT_REGISTER		0x04	/* Right side */#define   RIGHT_4OP_0			0x01#define   RIGHT_4OP_1			0x02#define   RIGHT_4OP_2			0x04#define   LEFT_4OP_0			0x08#define   LEFT_4OP_1			0x10#define   LEFT_4OP_2			0x20#define OPL3_MODE_REGISTER			0x05	/* Right side */#define   OPL3_ENABLE			0x01#define KBD_SPLIT_REGISTER			0x08	/* Left side */#define   COMPOSITE_SINE_WAVE_MODE	0x80		/* Don't use with OPL-3? */#define   KEYBOARD_SPLIT		0x40#define PERCUSSION_REGISTER			0xbd	/* Left side only */#define   TREMOLO_DEPTH			0x80#define   VIBRATO_DEPTH			0x40#define	  PERCUSSION_ENABLE		0x20#define   BASSDRUM_ON			0x10#define   SNAREDRUM_ON			0x08#define   TOMTOM_ON			0x04#define   CYMBAL_ON			0x02#define   HIHAT_ON			0x01/* *	Offsets to the register banks for operators. To get the *	register number just add the operator offset to the bank offset * *	AM/VIB/EG/KSR/Multiple (0x20 to 0x35) */ #define AM_VIB					0x20 #define   TREMOLO_ON			0x80 #define   VIBRATO_ON			0x40 #define   SUSTAIN_ON			0x20 #define   KSR				0x10 	/* Key scaling rate */ #define   MULTIPLE_MASK		0x0f	/* Frequency multiplier */ /*  *	KSL/Total level (0x40 to 0x55)  */#define KSL_LEVEL				0x40#define   KSL_MASK			0xc0	/* Envelope scaling bits */#define   TOTAL_LEVEL_MASK		0x3f	/* Strength (volume) of OP *//* *	Attack / Decay rate (0x60 to 0x75) */#define ATTACK_DECAY				0x60#define   ATTACK_MASK			0xf0#define   DECAY_MASK			0x0f/* * Sustain level / Release rate (0x80 to 0x95) */#define SUSTAIN_RELEASE				0x80#define   SUSTAIN_MASK			0xf0#define   RELEASE_MASK			0x0f/* * Wave select (0xE0 to 0xF5) */#define WAVE_SELECT			0xe0/* *	Offsets to the register banks for voices. Just add to the *	voice number to get the register number. * *	F-Number low bits (0xA0 to 0xA8). */#define FNUM_LOW				0xa0/* *	F-number high bits / Key on / Block (octave) (0xB0 to 0xB8) */#define KEYON_BLOCK					0xb0#define	  KEYON_BIT				0x20#define	  BLOCKNUM_MASK				0x1c#define   FNUM_HIGH_MASK			0x03/* *	Feedback / Connection (0xc0 to 0xc8) * *	These registers have two new bits when the OPL-3 mode *	is selected. These bits controls connecting the voice *	to the stereo channels. For 4 OP voices this bit is *	defined in the second half of the voice (add 3 to the *	register offset). * *	For 4 OP voices the connection bit is used in the *	both halfs (gives 4 ways to connect the operators). */#define FEEDBACK_CONNECTION				0xc0#define   FEEDBACK_MASK				0x0e	/* Valid just for 1st OP of a voice */#define   CONNECTION_BIT			0x01/* *	In the 4 OP mode there is four possible configurations how the *	operators can be connected together (in 2 OP modes there is just *	AM or FM). The 4 OP connection mode is defined by the rightmost *	bit of the FEEDBACK_CONNECTION (0xC0-0xC8) on the both halfs. * *	First half	Second half	Mode * *					 +---+ *					 v   | *	0		0		>+-1-+--2--3--4--> * * *					 *					 +---+ *					 |   | *	0		1		>+-1-+--2-+ *						  |-> *					>--3----4-+ *					 *					 +---+ *					 |   | *	1		0		>+-1-+-----+ *						   |-> *					>--2--3--4-+ * *					 +---+ *					 |   | *	1		1		>+-1-+--+ *						| *					>--2--3-+-> *						| *					>--4----+ */#define   STEREO_BITS				0x30	/* OPL-3 only */#define     VOICE_TO_LEFT		0x10#define     VOICE_TO_RIGHT		0x20/* * 	Definition table for the physical voices */struct physical_voice_info {		unsigned char voice_num;		unsigned char voice_mode; /* 0=unavailable, 2=2 OP, 4=4 OP */		unsigned short ioaddr; /* I/O port (left or right side) */		unsigned char op[4]; /* Operator offsets */	};/* *	There is 18 possible 2 OP voices *	(9 in the left and 9 in the right). *	The first OP is the modulator and 2nd is the carrier. * *	The first three voices in the both sides may be connected *	with another voice to a 4 OP voice. For example voice 0 *	can be connected with voice 3. The operators of voice 3 are *	used as operators 3 and 4 of the new 4 OP voice. *	In this case the 2 OP voice number 0 is the 'first half' and *	voice 3 is the second. */#define USE_LEFT	0#define USE_RIGHT	1static struct physical_voice_info physical_voices[18] ={/*       No Mode Side		OP1	OP2	OP3   OP4	*//*	---------------------------------------------------	*/	{ 0,  2, USE_LEFT,	{0x00,	0x03,	0x08, 0x0b}},	{ 1,  2, USE_LEFT,	{0x01,	0x04,	0x09, 0x0c}},	{ 2,  2, USE_LEFT,	{0x02,	0x05,	0x0a, 0x0d}},	{ 3,  2, USE_LEFT,	{0x08,	0x0b,	0x00, 0x00}},	{ 4,  2, USE_LEFT,	{0x09,	0x0c,	0x00, 0x00}},	{ 5,  2, USE_LEFT,	{0x0a,	0x0d,	0x00, 0x00}},	{ 6,  2, USE_LEFT,	{0x10,	0x13,	0x00, 0x00}}, /* Used by percussive voices */	{ 7,  2, USE_LEFT,	{0x11,	0x14,	0x00, 0x00}}, /* if the percussive mode */	{ 8,  2, USE_LEFT,	{0x12,	0x15,	0x00, 0x00}}, /* is selected */	{ 0,  2, USE_RIGHT,	{0x00,	0x03,	0x08, 0x0b}},	{ 1,  2, USE_RIGHT,	{0x01,	0x04,	0x09, 0x0c}},	{ 2,  2, USE_RIGHT,	{0x02,	0x05,	0x0a, 0x0d}},	{ 3,  2, USE_RIGHT,	{0x08,	0x0b,	0x00, 0x00}},	{ 4,  2, USE_RIGHT,	{0x09,	0x0c,	0x00, 0x00}},	{ 5,  2, USE_RIGHT,	{0x0a,	0x0d,	0x00, 0x00}},	{ 6,  2, USE_RIGHT,	{0x10,	0x13,	0x00, 0x00}},	{ 7,  2, USE_RIGHT,	{0x11,	0x14,	0x00, 0x00}},	{ 8,  2, USE_RIGHT,	{0x12,	0x15,	0x00, 0x00}}};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品五月天| 一本大道久久精品懂色aⅴ| 成人欧美一区二区三区白人| 欧美精品一区二区三区久久久| 69堂精品视频| 日韩欧美视频在线| 精品999在线播放| 国产亚洲婷婷免费| 中文字幕av一区 二区| 亚洲国产精品传媒在线观看| 国产欧美日韩另类一区| 中文字幕佐山爱一区二区免费| 国产精品国产三级国产三级人妇| 亚洲欧洲一区二区在线播放| 亚洲另类中文字| 天天综合色天天综合色h| 久久国产尿小便嘘嘘| 国产精品99久久久久久似苏梦涵| 国产成人免费视频精品含羞草妖精| 成人免费黄色在线| 色综合一区二区三区| 欧美人妖巨大在线| 久久欧美中文字幕| 《视频一区视频二区| 无吗不卡中文字幕| 国产精品一区在线观看乱码| 91色porny蝌蚪| 欧美久久久久中文字幕| 久久久综合视频| 亚洲人成网站在线| 日本午夜一本久久久综合| 国产麻豆精品一区二区| 在线观看国产精品网站| 精品国产第一区二区三区观看体验| 国产三级一区二区| 亚洲sss视频在线视频| 国产一区二区三区黄视频| 在线一区二区三区四区五区| 久久影音资源网| 亚洲视频免费在线| 国产精品伊人色| 欧美日韩视频在线观看一区二区三区 | 日韩精品中文字幕在线一区| 国产三级精品三级在线专区| 亚洲香肠在线观看| 懂色一区二区三区免费观看| 欧美一区二区三区在线视频| 欧美激情综合五月色丁香 | 久久国产婷婷国产香蕉| 99久久久久久| 久久影院午夜论| 日本vs亚洲vs韩国一区三区| 91网站视频在线观看| 久久精品人人做人人综合 | 亚洲一区二区三区不卡国产欧美| 国产精品夜夜嗨| 欧美一区二区精品久久911| 亚洲蜜臀av乱码久久精品蜜桃| 国产麻豆欧美日韩一区| 日韩免费看的电影| 日韩成人午夜电影| 欧美日韩亚洲综合一区| 亚洲乱码中文字幕综合| 波多野洁衣一区| 国产亚洲欧洲997久久综合 | 欧美剧在线免费观看网站 | 欧美美女视频在线观看| 亚洲视频免费看| 精品视频在线免费看| 综合久久给合久久狠狠狠97色| 国产乱码精品一区二区三| 欧美成人性福生活免费看| 日韩av电影天堂| 在线播放国产精品二区一二区四区| 亚洲黄色录像片| 色婷婷av一区二区三区软件| 亚洲精品免费看| 在线视频你懂得一区| 亚洲一区二区视频在线| 色婷婷国产精品综合在线观看| 中文字幕一区三区| 91亚洲精品乱码久久久久久蜜桃| 欧美国产精品专区| 成人动漫一区二区| 亚洲三级在线播放| 97久久超碰国产精品| 亚洲欧洲av在线| 色哟哟一区二区三区| 亚洲欧美中日韩| 欧美亚日韩国产aⅴ精品中极品| 一区二区日韩电影| 欧美三区免费完整视频在线观看| 亚洲香肠在线观看| 精品福利一二区| 成人午夜激情视频| 国产精品久久久久久久久晋中| 成人免费的视频| 亚洲精品国产视频| 欧美日韩一区在线| 韩国女主播一区二区三区| 国产日韩成人精品| 国产精品911| 亚洲一区二区三区四区在线免费观看| 欧美性猛片aaaaaaa做受| 天天影视色香欲综合网老头| 精品国产91乱码一区二区三区 | 99久久99久久精品免费观看| 亚洲自拍偷拍av| 精品sm捆绑视频| 在线精品观看国产| 日韩综合小视频| 国产亚洲一区二区三区| 欧美色精品天天在线观看视频| 国产一区91精品张津瑜| 一区二区在线观看免费| 久久一日本道色综合| 欧美综合在线视频| 处破女av一区二区| 日韩福利视频导航| 亚洲精品国产一区二区三区四区在线| 精品日韩99亚洲| 欧洲亚洲精品在线| 国产成人精品一区二区三区四区| 亚洲v日本v欧美v久久精品| 中文一区二区完整视频在线观看| 欧美丰满一区二区免费视频| 91网上在线视频| 国产精品亚洲一区二区三区妖精| 午夜精品123| 亚洲精品久久嫩草网站秘色| 国产欧美精品在线观看| 精品国产一区二区精华| 欧美日本一区二区| 一本色道久久综合亚洲aⅴ蜜桃| 国产一区二区三区日韩| 日韩av在线发布| 亚洲第一狼人社区| 亚洲啪啪综合av一区二区三区| 久久这里只有精品首页| 日韩一区二区不卡| 欧美精品在线一区二区| 色噜噜狠狠成人网p站| 欧美午夜精品一区| 成人黄色软件下载| 高清国产午夜精品久久久久久| 精品一区二区三区视频在线观看| 亚洲一二三区不卡| 一区二区三区四区五区视频在线观看 | 欧美日韩精品一区二区三区四区| 色综合天天综合狠狠| 91在线观看免费视频| www.亚洲免费av| 波多野结衣在线一区| av毛片久久久久**hd| 成人av资源在线观看| 99在线视频精品| 91免费国产在线观看| 在线观看区一区二| 欧美精品v国产精品v日韩精品| 91精品国产一区二区三区香蕉| 欧美三级中文字幕在线观看| 欧美日韩视频不卡| 日韩一区二区免费电影| 久久综合色天天久久综合图片| 欧美精品一区二区三区久久久| 久久精品免费在线观看| 国产精品嫩草99a| 亚洲久草在线视频| 午夜视频一区二区三区| 毛片av中文字幕一区二区| 国产呦萝稀缺另类资源| 不卡一区二区三区四区| 在线视频国内一区二区| 91精品国产综合久久香蕉麻豆 | 欧美三片在线视频观看 | 亚洲蜜桃精久久久久久久| 亚洲综合在线观看视频| 日韩电影在线观看一区| 国产一区二区免费在线| 色哟哟精品一区| 日韩欧美综合在线| 中文字幕日本乱码精品影院| 婷婷久久综合九色综合绿巨人| 久久se这里有精品| 91老司机福利 在线| 欧美一级片在线| 国产精品免费观看视频| 一卡二卡欧美日韩| 九九热在线视频观看这里只有精品| 成人一道本在线| 欧美一卡2卡3卡4卡| 中文字幕亚洲区| 日韩av网站免费在线| 97久久精品人人做人人爽50路| 精品三级在线看| 亚洲一区二区三区精品在线| 成人一级片在线观看| 日韩天堂在线观看| 一区二区国产视频| 成人av动漫网站|