<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[The 1-Bit Forum — new engine: povver]]></title>
	<link rel="self" href="https://randomflux.info/1bit/extern.php?action=feed&amp;tid=111&amp;type=atom" />
	<updated>2021-09-19T22:21:27Z</updated>
	<generator>PunBB</generator>
	<id>http://randomflux.info/1bit/viewtopic.php?id=111</id>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2442#p2442" />
			<content type="html"><![CDATA[<p>A note on this issue regarding to 1tracker. Most engines will survive a quick and dirty fix. You can open a *.1te file with a text editor, find there &#039;out (#fe),a&#039; line, and add a &#039;and 16&#039; line just before it. It will work in most cases, although a couple of engines may break. The downside of this fix will be a bit reduced pitch and play speed.</p><p>Some engines can have pitch issue corrected, although not all of them - find a definition of &#039;cpuTime&#039;, and subtract 7 from the value. If there was a few &#039;out (#fe),a&#039; lines, add &#039;and 16&#039; to each of them, and subtract 7 for each one as well.</p><p>This is a temporary solution, as it is uncertain if/when we will be fixing the issue. At least I&#039;ll add a note for each engine that is currently not compatible with +3, I guess.</p>]]></content>
			<author>
				<name><![CDATA[Shiru]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=11</uri>
			</author>
			<updated>2021-09-19T22:21:27Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2442#p2442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2439#p2439" />
			<content type="html"><![CDATA[<p>Wow, that&#039;s unexpected. Some of my engines guilty with the same thing, though. Squat, for one. Easy to fix, though, but it&#039;ll reduce the internal sample rate a bit.</p>]]></content>
			<author>
				<name><![CDATA[Shiru]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=11</uri>
			</author>
			<updated>2021-09-19T13:06:22Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2439#p2439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2436#p2436" />
			<content type="html"><![CDATA[<p>Meh, that&#039;s pretty bad news. But great you figured it out, thanks a lot for your efforts!</p><p>So basically any engine that doesn&#039;t mask bit 3 will be incompatible with the +3. Which is like, most of my engines <img src="http://randomflux.info/1bit/img/smilies/yikes.png" width="15" height="15" alt="yikes" /> So I guess you better stick to Shiru&#039;s engines for now.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-09-18T21:17:07Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2436#p2436</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2435#p2435" />
			<content type="html"><![CDATA[<p>So yeah, I added<br /></p><div class="codebox"><pre><code>    and #f7 ;11110111b MIC output makes weird noise on +3 </code></pre></div><p>before every time it writes to the port and it now sounds pretty normal (but slow, as I obvs messed up with timings).</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-18T20:02:35Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2435#p2435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2434#p2434" />
			<content type="html"><![CDATA[<p>It feels like I have an idea what is happening with 1bit trackers on +3<br /></p><div class="quotebox"><blockquote><p>The ULA chip uses the same pin (28) for all of the MIC socket, EAR socket and the internal speaker, so bits 3 and 4 of an OUT to Port 0xfe will affect bit 6 as read by an IN from Port 0xfe.</p></blockquote></div><p><a href="https://worldofspectrum.org/faq/reference/48kreference.htm#PortFE">tl;dr</a> on a classic speccy different values on bits 3 and 4 produces 4 different distinct levels. However, 1) <a href="https://worldofspectrum.org/faq/reference/128kreference.htm#Plus3">MIC and EAR are separate lines on the +3</a> Amstrad Gate Array.</p><div class="quotebox"><blockquote><p>Bit 6 of Port 0xfe of the +2A/+3 does not show the same dependence on what was written to Port 0xfe as it does on the other machines, and always returns 0 if there is no signal.</p></blockquote></div><p>2) there is <a href="https://github.com/FuseEmulator/fuse-emulator-svn/blob/6d82fee65377fb68432120c58802b76240198121/fuse/sound.c#L677-L678">no logic for +3 in fuse</a>, that&#039;s why it works there.</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-18T18:50:04Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2434#p2434</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2433#p2433" />
			<content type="html"><![CDATA[<p>It&#039;s totally unclear to me what&#039;s going on here. Let&#039;s wait for Noel.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-09-17T10:19:11Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2433#p2433</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2432#p2432" />
			<content type="html"><![CDATA[<p>Could it be the other way around (twice faster), because 48K plays the tone ~480Hz tone, while +3 plays ~970Hz?</p><p>(updated the attach so the pulses are aligned, wonder why there is the step on the 48K one on the bottom in the middle of the pulse)</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-16T22:35:58Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2432#p2432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2431#p2431" />
			<content type="html"><![CDATA[<p>Very odd. This should toggle the border color every scanline, but seems it&#039;s actually running much slower?<br />Admittedly I&#039;m pretty much out of ideas, so let&#039;s wait and see if Noel will be kind enought to run some tests.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-09-16T22:08:04Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2431#p2431</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2430#p2430" />
			<content type="html"><![CDATA[<p>Here the results: a <a href="https://drive.google.com/file/d/1jyjdPjUCg28OTl5-YGg_BZEenI2dWIKw/view">screen capture</a> and a <a href="https://drive.google.com/file/d/17RZsOWbuYbj9TORIrTJKSVOt7V31S46s/view">scope</a>.</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-16T21:32:17Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2430#p2430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2429#p2429" />
			<content type="html"><![CDATA[<p>Ah, crap. Here you go.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-09-16T20:36:40Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2429#p2429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2428#p2428" />
			<content type="html"><![CDATA[<p>@utz you&#039;ve missed the attach.</p><p>I&#039;ll try to involve <a href="https://twitter.com/noelsretrolab">@noelsretrolab</a> as he probably has plenty of it.</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-16T20:15:13Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2428#p2428</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2427#p2427" />
			<content type="html"><![CDATA[<p>Damn. Could you try the attached .tap and post an image of the screen? Probably won&#039;t tell us much either, though.<br />You don&#039;t happen to know any other +3 user who could test this on their machine?</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-09-16T20:12:58Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2427#p2427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2426#p2426" />
			<content type="html"><![CDATA[<p>Sounds exactly the same :&lt; Here&#039;s .asm. It still produces extra pulses every 20us like on the <a href="https://drive.google.com/drive/folders/1TVTJqan58tR9j2UUePKmgQplk0QiNKbR">pulse.png from the drive</a>.</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-16T19:11:23Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2426#p2426</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2424#p2424" />
			<content type="html"><![CDATA[<p>I see. Very strange indeed. Yes, sounds like it&#039;s running in contended RAM, but then it seems to run at pretty much the same speed as the 48K version!?! Well, let&#039;s first rule out contention issues. Could you export an .asm file from 1tracker, and post it here? (Or, if you want, assemble it yourself at 0xc000 and try it out. 1tracker&#039;s asm output works with <a href="https://github.com/z00m128/sjasmplus">sjasmplus</a>.)</p><p>Also, have you tried with any other engines?</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-09-16T16:18:10Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2424#p2424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: new engine: povver]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2423#p2423" />
			<content type="html"><![CDATA[<p>Here is how it sounds on +3 and on <a href="https://twitter.com/yottatsa/status/1438418173594906629?s=21">48k Issue 2</a></p><p>There are <a href="https://drive.google.com/drive/folders/1TVTJqan58tR9j2UUePKmgQplk0QiNKbR?usp=sharing">a tap file, a recording, and screenshots from scope</a>.</p><p>if you see the attached image (+3 on top and in yellow), it seems like +3 sends extra pulse every time.</p><br /><p>P.S.<br /></p><div class="quotebox"><cite>Shiru wrote:</cite><blockquote><p>A guy</p></blockquote></div><p>A girl ;_;</p>]]></content>
			<author>
				<name><![CDATA[yottatsa]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=228</uri>
			</author>
			<updated>2021-09-16T12:26:56Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2423#p2423</id>
		</entry>
</feed>
