<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - C64 SFX Sound Expander programming OPL 2]]></title>
		<link>https://chipmusic.org/forums/topic/4955/c64-sfx-sound-expander-programming-opl-2/</link>
		<description><![CDATA[The most recent posts in C64 SFX Sound Expander programming OPL 2.]]></description>
		<lastBuildDate>Thu, 03 Dec 2020 11:02:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/264514/#p264514</link>
			<description><![CDATA[<b><i>Mr.Mouse says:</i></b><p><a class="postimg" href="http://www.xentax.com/taoc/fmyam.png" title="http://www.xentax.com/taoc/fmyam.png" id="forum_image_513904"><img src="http://www.xentax.com/taoc/fmyam.png" /></a></p><p><a href="http://c64.xentax.com/index.php/fm-yam" target="_blank">http://c64.xentax.com/index.php/fm-yam</a> </p><p>You may have missed these. FM-YAM features the OPL2 (YM3812). 300 cartridges have been sold so far. </p><p><a href="http://c64.xentax.com/index.php/documentation" target="_blank">http://c64.xentax.com/index.php/documentation</a></p><p>A piece on the timing of programming the chip from the C64:<br /><a href="http://c64.xentax.com/index.php/15-testing-ym3812-register-write-timing" target="_blank">http://c64.xentax.com/index.php/15-test &#133; ite-timing</a></p><p>Review:<br /><a href="https://www.youtube.com/watch?v=Q32I0jk7THE" target="_blank">https://www.youtube.com/watch?v=Q32I0jk7THE</a></p><p>Examples:<br /><a href="https://www.youtube.com/watch?v=xP1JnE5aGb0" target="_blank">https://www.youtube.com/watch?v=xP1JnE5aGb0</a><br /><a href="https://www.youtube.com/watch?v=dTyGnh0IOtU" target="_blank">https://www.youtube.com/watch?v=dTyGnh0IOtU</a><br /><a href="https://www.youtube.com/watch?v=pmTTvUplLhI" target="_blank">https://www.youtube.com/watch?v=pmTTvUplLhI</a><br /><a href="https://www.youtube.com/watch?v=_nJgvcA5td4" target="_blank">https://www.youtube.com/watch?v=_nJgvcA5td4</a></p><p>You can use Edlib to compose music (DOS) and then play the D00 files on a C64. </p><br /><p>Check out also the combination of SID+MIDI+OPL2:<br /><a href="https://www.youtube.com/watch?v=nuA1gIKn5wg&amp;list=PLP26ZYnLb5EX_XZMC16RuaOAKjaxEzsxv&amp;index=2&amp;t=0s" target="_blank">https://www.youtube.com/watch?v=nuA1gIK &#133; 2&amp;t=0s</a></p>]]></description>
			<pubDate>Thu, 03 Dec 2020 11:02:03 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264514/#p264514</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/264207/#p264207</link>
			<description><![CDATA[<b><i>frantic says:</i></b><p>It would be cool to have some info on programming FM hardware on the C64 at <a href="https://codebase64.org/" target="_blank">https://codebase64.org/</a> if anyone feels like writing up something about that.</p>]]></description>
			<pubDate>Sat, 03 Oct 2020 19:46:10 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264207/#p264207</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/264201/#p264201</link>
			<description><![CDATA[<b><i>spikes says:</i></b><p>OK, mega necro bump here.<br />Announcing that after years of delays called real life, not one but two gadgets to drive the rare SFX Sound Expander have been produced!</p><p>First one features approx 100 sounds from the original C64 Software and some from PC Land, a DIN MIDI in and a 16 x 2 LCD.</p><p>Photos are here:</p><p><a href="https://github.com/sparx266/Commodore-64-SFX-Sound-Expander-Arduino-MIDI-V1/" target="_blank">https://github.com/sparx266/Commodore-6 &#133; o-MIDI-V1/</a></p><p>A video of the uncased prototype in action is here:</p><p><a href="https://www.youtube.com/watch?v=-odjSdDEEhQ" target="_blank">https://www.youtube.com/watch?v=-odjSdDEEhQ</a></p><p>Documentation and V1.5 to be released soon......</p>]]></description>
			<pubDate>Sat, 03 Oct 2020 13:23:01 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264201/#p264201</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/246288/#p246288</link>
			<description><![CDATA[<b><i>4mat says:</i></b><p>Did you have to strip out any of the FM calls in the Bubble Bobble music?&nbsp; I noticed it <a href="https://www.youtube.com/watch?v=rvkmSNVA2dc" target="_blank">hits a lot of the registers</a> kinda randomly.&nbsp; (not as badly as Ikari Warriors though)</p>]]></description>
			<pubDate>Mon, 18 Jul 2016 12:28:39 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/246288/#p246288</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/246284/#p246284</link>
			<description><![CDATA[<b><i>Gazmoid says:</i></b><p>I know this is an old thread , but I&#039;ve been working on a Dual sid + FM ( 3526 and 3812 )&nbsp; music driver for a while now. Should have something out there very soon. Also in the process of modifying the C64 version of Bubble Bobble to play the actual arcade music if you have both a Commodore 128 and the FM cart. I did find complete documentation for the FM chips and the writing/reading technique as used by you guys is correct.<br />Will keep you progress posted,<br />Gaz.</p>]]></description>
			<pubDate>Mon, 18 Jul 2016 07:26:31 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/246284/#p246284</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/216089/#p216089</link>
			<description><![CDATA[<b><i>spikes says:</i></b><p>An update!<br />After months of nothing, hooked up an Arduino to a C64 connector, picked an organ sound and wrote a very rubbish program to play the first lines of a well known tune.&nbsp; Have a look and listen at:</p><p><a href="https://www.youtube.com/watch?v=Qjtnvw6z-DY" target="_blank">Arduino plays an SFX Sound expander</a></p><p>I know its a bit basic, but its a start.<br />Feel free to comment, but please make them constructive!</p>]]></description>
			<pubDate>Tue, 26 Aug 2014 20:36:18 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/216089/#p216089</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/180084/#p180084</link>
			<description><![CDATA[<b><i>akira^8GB says:</i></b><div class="quotebox"><cite>spikes wrote:</cite><blockquote><p>How did you get to the conclusion that there is no percussion mode?&nbsp; (I don&#039;t know, hence why I am asking!)</p></blockquote></div><p>I read it on the chip description in Hally&#039;s YM chips list, or maybe also Wikipedia. Also the creator of the AdLib player said so and, so far, that guy is the only person I know that has messed about properly with this chip on the C64 so I believe his words.</p><p>So unless you upgrade to OPL2 I don&#039;t think percussion mode will work. I can get your cart updated if you want! But please send me a message to my email, because I never check this website. ************</p>]]></description>
			<pubDate>Fri, 09 Aug 2013 19:00:49 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/180084/#p180084</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/178318/#p178318</link>
			<description><![CDATA[<b><i>4mat says:</i></b><p>I&#039;ve got tones coming out of it under assembler but not looked at a driver yet.</p>]]></description>
			<pubDate>Wed, 24 Jul 2013 19:04:01 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/178318/#p178318</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/178313/#p178313</link>
			<description><![CDATA[<b><i>spikes says:</i></b><p>OK here is my BASIC listing, taken from the same document Akira^8gb used.&nbsp; It makes a noise and that&#039;s it!</p><p>But just in case its useful to someone:</p><p>10 POKE 57152,32 <br />20 POKE 57168,1 <br />30 POKE 57152,64 <br />40 POKE 57168,16 <br />50 POKE 57152,96 <br />60 POKE 57168,240 <br />70 POKE 57152,128 <br />80 POKE 57168,119 <br />90 POKE 57152,160 <br />100 POKE 57168,152 <br />110 POKE 57152,35 <br />120 POKE 57168,1 <br />130 POKE 57152,67 <br />140 POKE 57168,0 <br />150 POKE 57152,99 <br />160 POKE 57168,240 <br />170 POKE 57152,131 <br />180 POKE 57168,119 <br />190 POKE 57152,176 <br />200 POKE 57168,49 </p><p>I&#039;ve just looked at the datasheets for both chips (YM3812 and YM3526),<br />3526 says: &quot;The mode selector enables switching between the sounding of all nine tones at one time, and of six melodies and five rhythms.&nbsp; In either case, the tones can&nbsp; (be) varied.&quot;<br />3812 says: &quot;Mode selection of simultaneous voicing of 9 sounds or 6 melody sounds and 5 rhythm sounds is possible.&nbsp; Both modes can produce various sounds.&quot;</p><p>How did you get to the conclusion that there is no percussion mode?&nbsp; (I don&#039;t know, hence why I am asking!)&nbsp; <br />What the 3526 lacks is waveforms.</p><p>Regards</p><p>Spikes</p>]]></description>
			<pubDate>Wed, 24 Jul 2013 18:41:11 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/178313/#p178313</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/177797/#p177797</link>
			<description><![CDATA[<b><i>spikes says:</i></b><p>Hello again all!</p><p>Real life got me side tracked with other things but haven&#039;t forgotten about this great cart and what I want to do with it, will try to dig out the couple of programs I wrote and post here.</p><p>Regards</p><p>Spikes</p>]]></description>
			<pubDate>Sun, 21 Jul 2013 07:18:18 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/177797/#p177797</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/173647/#p173647</link>
			<description><![CDATA[<b><i>akira^8GB says:</i></b><p>Talking to myself here, sorry <img src="https://chipmusic.org/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /><br />I did this test and while in the emulator the result is a smooth sweep of frequencies, in my machine, with both soundchips, it&#039;s skippy/garbly. I got to assume something is wrong with the device and not the soundchips, but I have no idea what.</p><p>When I try the DRO player I will know better, I guess. There might be a problem in my code and/or VICE emulation might not be exactly accurate (and the real device might be more delicate/flaky)</p>]]></description>
			<pubDate>Thu, 20 Jun 2013 22:26:34 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/173647/#p173647</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/173640/#p173640</link>
			<description><![CDATA[<b><i>akira^8GB says:</i></b><p>So here is the little BASIC program I just did to test the unit slightly.</p><p><a class="postimg" href="http://i.imgur.com/Mmps1B2.png" title="http://i.imgur.com/Mmps1B2.png" id="forum_image_72323870"><img src="http://i.imgur.com/Mmps1B2.png" /></a></p><p>It&#039;s very simple: it pokes the Address port, which selects the register we&#039;re going to affect, and then it pokes the&nbsp; Data port, giving it a value for said register. It&#039;s really so simple that even I could figure it out <img src="https://chipmusic.org/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>All data has been taken from this document:<br /><a href="http://www.floodgap.com/retrobits/ckb/secret/adlib.txt" target="_blank">http://www.floodgap.com/retrobits/ckb/secret/adlib.txt</a></p><p>Which explains how to make a note play if you scroll down. I just replaced that with a FOR sentence that does a little upward sweep.<br />I will expand on this to make it so I can test every voice with every waveform, but for tonight&#039;s experimentation it&#039;s more than enough and this is type-able enough for a quick test.</p>]]></description>
			<pubDate>Thu, 20 Jun 2013 21:40:51 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/173640/#p173640</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/173629/#p173629</link>
			<description><![CDATA[<b><i>akira^8GB says:</i></b><p>Although that&#039;s not ideal, it sounds pretty sweet indeed. One would just need to figure out a way to compose both matching tempos and whatnot.. Would love to have a play with such a thing if you ever make it, and if you ever need the real hardware, I can lend it to you&nbsp; for dev purposes for sure <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>The biggest chllenge for modifying SIDWizard would be the UI, I think.</p><p>I just upgraded my SFX with an OPL2 chip and will try to create some sort of BASIC program that lets me access it. I don&#039;t feel pretty confident that I will succeed as&nbsp; I have no idea of what I am doing <img src="https://chipmusic.org/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> But if I make it beep I should be happy.</p><p>Confirmed: YM3526 does NOT have percussion mode.</p>]]></description>
			<pubDate>Thu, 20 Jun 2013 20:42:52 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/173629/#p173629</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/173466/#p173466</link>
			<description><![CDATA[<b><i>Jellica says:</i></b><p>that would be pretty sweet, that&#039;s kinda how i&#039;m making 3 x SID stuff at the moment. you make 2 separate files and play them together. its a slow process but the results sound great.</p>]]></description>
			<pubDate>Wed, 19 Jun 2013 21:04:36 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/173466/#p173466</guid>
		</item>
		<item>
			<title><![CDATA[Re: C64 SFX Sound Expander programming OPL 2]]></title>
			<link>https://chipmusic.org/forums/post/173446/#p173446</link>
			<description><![CDATA[<b><i>boomlinde says:</i></b><p>From that adlib player, one might be able to hack together a SID+adlib player, though, for playing a precomposed adlib tuni in time with a SID song.</p>]]></description>
			<pubDate>Wed, 19 Jun 2013 18:15:18 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/173446/#p173446</guid>
		</item>
	</channel>
</rss>
