<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
		<link>https://chipmusic.org/forums/topic/12185/sega-psg-sid-sound-on-1-channel-with-z80-hblank/</link>
		<description><![CDATA[The most recent posts in SEGA PSG: SID sound! on 1 Channel with Z80 Hblank.]]></description>
		<lastBuildDate>Sat, 01 Feb 2014 14:58:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/199590/#p199590</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><p>SPSG VST SID effect &gt;&gt; MIDI &gt;&gt; VGM&nbsp; proof of concept...!<br />Here we go, this is a quick test with the PSG clocked at 1Mhz, only one channel and SID modulation..<br /><a href="http://www.alyjameslab.com/tempdata/midi_export2.vgz" target="_blank">http://www.alyjameslab.com/tempdata/midi_export2.vgz</a><br />you never got an SN76489 vgm with that <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />the greatest accuracy for exporting a midi file with the SPSG modulation as been made through Reaper at 22050 PPQN.</p>]]></description>
			<pubDate>Sat, 01 Feb 2014 14:58:23 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/199590/#p199590</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/196046/#p196046</link>
			<description><![CDATA[<b><i>Vaina Moinen says:</i></b><p>This looks really cool! I just got FMDRIVE but I may have to pick this up sometime soon as well. Thanks for the great Sega VST&#039;s!</p>]]></description>
			<pubDate>Wed, 25 Dec 2013 04:08:20 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/196046/#p196046</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/196006/#p196006</link>
			<description><![CDATA[<b><i>thesimplicity says:</i></b><p>I&#039;ve spent the past few hours playing with the VST. I&#039;m really impressed! This thing is insane. The custom timer stuff is just mind blowing. It uses chip emulation as a baseline, gets that perfect, and then adds things that wouldn&#039;t be possible without a DAW. It&#039;s a big contrast to the Plogue Chipsounds &quot;jack of all trades, master of none&quot; approach.</p>]]></description>
			<pubDate>Tue, 24 Dec 2013 18:19:57 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/196006/#p196006</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/191470/#p191470</link>
			<description><![CDATA[<b><i>yogi says:</i></b><p>MAN, you da best! Really going to have to add the SN76489 &#039;synth&#039; to my to-do list!!<br />Yogi</p>]]></description>
			<pubDate>Tue, 19 Nov 2013 19:17:34 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/191470/#p191470</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/191465/#p191465</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><p>SID sound...Timer modulation implemented on SN76489 MIDI board &amp; in SPSG VST &gt;&gt; <a href="http://chipmusic.org/forums/topic/12578/sega-master-system-vst-spsg-sn76489-extended-synth/" target="_blank">http://chipmusic.org/forums/topic/12578 &#133; ded-synth/</a><br />The idea is to enhance the variety of sound, producing tones that the chip normally cannot produce to make some cool music!</p><p>Compatible with the SN76489 (code heavily modified!) open source arduino code by Littlescale <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />The code will be available for free of course to anybody wanting to mess around.<br />When use in conjunction with the MIDI device, SPSG vst will act as a controller with volume/pitch envelope generator and table! <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>PREVIEW<br /><div class="embed_video"><iframe width="560" height="340" src="https://www.youtube.com/embed/pm8b83xhCoE" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>]]></description>
			<pubDate>Tue, 19 Nov 2013 17:11:57 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/191465/#p191465</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184208/#p184208</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><p>Of course I will add that you can also write to the volume register at CPU speed without using Hblank timing.<br />Writing this sequence of data for a 16 data point sinewave,<br />.db 04,02,01,00,00,01,02,04,11,13,14,15,15,14,13,11<br />gave me something like 1978Hz without any wait...<br />this gives us roughly a 31,648 KHz sample rate, it should be the same thing for PWM or PCM sample reading...assuming there isn&#039;t any other code going round then the audio stuff.<br />So it is twice as fast as Hblank with near 32µs against 64µs<br />the simplest square wave could be .db 00,15 as high as 15824Hz<br />anyway at high rate things get screwed up easily <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<pubDate>Sat, 14 Sep 2013 16:20:09 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184208/#p184208</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184167/#p184167</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><div class="quotebox"><cite>LazloPsylus wrote:</cite><blockquote><p>Just making sure. As a guy working on a sound driver (or three) and enjoys doing research on the MD and co., I&#039;ve been more than a little surprised at how few people are even remotely familiar with the YM2612&#039;s timers, so I&#039;m glad you&#039;re familiar with them and at least made an informed design decision.</p><p>I&#039;ll probably chime in again if I find something useful to contribute. Otherwise, good luck on your project.</p></blockquote></div><p>Thanks <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> I had to dig into YM2612 Timers for The FMDrive Vsti witch features CSM mode &quot;speech synthesis control&quot; ^_^<br />PM me&nbsp; what you are working on unless it is top secret <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<pubDate>Sat, 14 Sep 2013 00:28:37 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184167/#p184167</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184163/#p184163</link>
			<description><![CDATA[<b><i>LazloPsylus says:</i></b><p>Just making sure. As a guy working on a sound driver (or three) and enjoys doing research on the MD and co., I&#039;ve been more than a little surprised at how few people are even remotely familiar with the YM2612&#039;s timers, so I&#039;m glad you&#039;re familiar with them and at least made an informed design decision.</p><p>I&#039;ll probably chime in again if I find something useful to contribute. Otherwise, good luck on your project.</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 23:37:21 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184163/#p184163</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184161/#p184161</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><div class="quotebox"><cite>nitro2k01 wrote:</cite><blockquote><p>I&#039;m working on... something like this... for the Gameboy and I&#039;m wondering if there aren&#039;t more flexible timers than HBlank on the MD Z80? Also, does the HBlank interrupt keep triggering during the VBlank period?</p></blockquote></div><p>VBlank happens 50 times per second (for PAL)<br />HBlank happens 15625 times per second<br />So it should keep triggering</p><p>I have read that the Master System often use the Interrupt mode 1, meaning that when an interrupt occurs the Z80&#039;s PC register is set to $0038.<br />As you get only one entry, you have to choose whether you want VBlank or Hblank...</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 23:13:56 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184161/#p184161</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184160/#p184160</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><div class="quotebox"><cite>LazloPsylus wrote:</cite><blockquote><p>So good to see that there are more people taking some serious interest in the capabilities of the MD in terms of sound. Been a bit lonely in the MD scene to see everyone using the same drivers and never try new stuff with the hardware, and I applaud your efforts.</p><p>I am curious, though: Why did you choose to use the HBlank for timing? Could instead use one of the YM2612&#039;s internal timers to provide a much more flexible berth for timing than the HBlank&#039;s rigid timing.</p></blockquote></div><p>First reason is because I tried to emulate the Master System features <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />However AFAIK, YM2612 Timers do not cause interrupts and we must check the counting elsewhere.<br />Timer A is the only one fast enough, it is 10bits and goes as fast as 18µs at 1111111111 but only goes down to 54Hz at 0000000000<br />slightly better then Hblank 64µs.<br />Timer A can also be in use by the CSM mode witch screw up the ability to have both.</p><p>Keep in mind that my aim here was to check what could be done on the real thing before integrating the feature in my Super PSG Vsti.<br />I am in no way an expert on the Z80 side and if someone got a better way to increase the artificial waveform pitch resolution, let me know <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<pubDate>Fri, 13 Sep 2013 22:50:27 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184160/#p184160</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184158/#p184158</link>
			<description><![CDATA[<b><i>Aly James says:</i></b><div class="quotebox"><cite>metropeak wrote:</cite><blockquote><p>This is very cool, so does GENMDM already support this sort of HBlank trick to reproduce this effect?</p></blockquote></div><p>AFAIK, no.<br />but I think it could be implemented directly in the firmware <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />You can still make this kind of PWM with two PSG channel slightly detuned.</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 22:36:13 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184158/#p184158</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184131/#p184131</link>
			<description><![CDATA[<b><i>nitro2k01 says:</i></b><p>I&#039;m working on... something like this... for the Gameboy and I&#039;m wondering if there aren&#039;t more flexible timers than HBlank on the MD Z80? Also, does the HBlank interrupt keep triggering during the VBlank period?</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 19:23:24 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184131/#p184131</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184130/#p184130</link>
			<description><![CDATA[<b><i>LazloPsylus says:</i></b><p>So good to see that there are more people taking some serious interest in the capabilities of the MD in terms of sound. Been a bit lonely in the MD scene to see everyone using the same drivers and never try new stuff with the hardware, and I applaud your efforts.</p><p>I am curious, though: Why did you choose to use the HBlank for timing? Could instead use one of the YM2612&#039;s internal timers to provide a much more flexible berth for timing than the HBlank&#039;s rigid timing.</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 19:17:57 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184130/#p184130</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184126/#p184126</link>
			<description><![CDATA[<b><i>breakphase says:</i></b><p>Amazeful work. Man that UI is smooth <img src="https://chipmusic.org/forums/img/smilies/cool.png" width="15" height="15" alt="cool" />.</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 18:34:07 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184126/#p184126</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEGA PSG: SID sound! on 1 Channel with Z80 Hblank]]></title>
			<link>https://chipmusic.org/forums/post/184125/#p184125</link>
			<description><![CDATA[<b><i>metropeak says:</i></b><p>This is very cool, so does GENMDM already support this sort of HBlank trick to reproduce this effect?</p>]]></description>
			<pubDate>Fri, 13 Sep 2013 18:07:05 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/184125/#p184125</guid>
		</item>
	</channel>
</rss>
