<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - CYNTHCART SID hex editor for advanced users?]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/11821/"/>
	<updated>2013-08-05T18:56:23Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/11821/cynthcart-sid-hex-editor-for-advanced-users/</id>
		<entry>
			<title type="html"><![CDATA[Re: CYNTHCART SID hex editor for advanced users?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/179607/#p179607"/>
			<content type="html"><![CDATA[<p>thanks!</p><div class="quotebox"><cite>jefftheworld wrote:</cite><blockquote><p>F3 Save Custom Patch</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[maniacfreakquency]]></name>
				<uri>https://chipmusic.org/maniacfreakquency</uri>
			</author>
			<updated>2013-08-05T18:56:23Z</updated>
			<id>https://chipmusic.org/forums/post/179607/#p179607</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CYNTHCART SID hex editor for advanced users?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/179595/#p179595"/>
			<content type="html"><![CDATA[<p>F3 Save Custom Patch</p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2013-08-05T17:35:16Z</updated>
			<id>https://chipmusic.org/forums/post/179595/#p179595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CYNTHCART SID hex editor for advanced users?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/179547/#p179547"/>
			<content type="html"><![CDATA[<p>Thanks! it is possible to save the new settings?</p><div class="quotebox"><cite>jefftheworld wrote:</cite><blockquote><p>Yes, it&#039;s pretty familiar for those who have done SID instrument editing. Do you have any experience with SID and it&#039;s registers?</p><p>If not:</p><p>The SID chip has 29 registers. This may seem confusing, but here is a breakdown of the registers:<br /><a href="http://www.oxyron.de/html/registers_sid.html" target="_blank">http://www.oxyron.de/html/registers_sid.html</a></p><p>In Cynthcart you first hit RUNSTOP+F1 to enter the editmode (there&#039;s a different key combo if you&#039;re using the overlay). In hex edit mode you first enter two hex digits for the register address you want to go to (00-1C) and then enter the two hex digits to place into that register.</p><p>Looking at that reference you simply set a 1 for an item you want &#039;on&#039; or &#039;active&#039; and 0 for one you want off. Let&#039;s look at register $D404, the one that sets the timbre of the first channel, and let&#039;s assume we want to create a noise/pule combination and we want to set the gate to 1, with no other options. that means that bits 7 and 6 are high, and bit 0 is high and nothing else. In binary that comes to:</p><div class="codebox"><pre><code>11000001</code></pre></div><p>We need this value in hex, though. Luckily, hex and binary are extremely easy to convert between (even in your head). If you&#039;ve never worked with hex, here&#039;s an easy way of converting them:</p><p>-Break the binary number into chunks of 4 digits (add leading zeros if required). Four binary digits happen to represent 16 possible values (0-15) and therefor correspond directly to the following chart:</p><div class="codebox"><pre><code>0 = 0000
1 = 0001
2 = 0010
3 = 0011
4 = 0100
5 = 0101
6 = 0110
7 = 0111
8 = 1000
9 = 1001
A = 1010
B = 1011
C = 1100
D = 1101
E = 1110
F = 1111</code></pre></div><p>These 15 pairings are easy to figure out and you&#039;ll quickly find you can do them automatically.</p><p>Back to our example we have:<br /></p><div class="codebox"><pre><code>1100 0001</code></pre></div><p>1100 is C, 0001 is 1. So put em together! It&#039;s that easy!</p><p>Which is C1 in hexadecimal.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[maniacfreakquency]]></name>
				<uri>https://chipmusic.org/maniacfreakquency</uri>
			</author>
			<updated>2013-08-05T02:50:22Z</updated>
			<id>https://chipmusic.org/forums/post/179547/#p179547</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CYNTHCART SID hex editor for advanced users?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/179318/#p179318"/>
			<content type="html"><![CDATA[<p>Yes, it&#039;s pretty familiar for those who have done SID instrument editing. Do you have any experience with SID and it&#039;s registers?</p><p>If not:</p><p>The SID chip has 29 registers. This may seem confusing, but here is a breakdown of the registers:<br /><a href="http://www.oxyron.de/html/registers_sid.html" target="_blank">http://www.oxyron.de/html/registers_sid.html</a></p><p>In Cynthcart you first hit RUNSTOP+F1 to enter the editmode (there&#039;s a different key combo if you&#039;re using the overlay). In hex edit mode you first enter two hex digits for the register address you want to go to (00-1C) and then enter the two hex digits to place into that register.</p><p>Looking at that reference you simply set a 1 for an item you want &#039;on&#039; or &#039;active&#039; and 0 for one you want off. Let&#039;s look at register $D404, the one that sets the timbre of the first channel, and let&#039;s assume we want to create a noise/pule combination and we want to set the gate to 1, with no other options. that means that bits 7 and 6 are high, and bit 0 is high and nothing else. In binary that comes to:</p><div class="codebox"><pre><code>11000001</code></pre></div><p>We need this value in hex, though. Luckily, hex and binary are extremely easy to convert between (even in your head). If you&#039;ve never worked with hex, here&#039;s an easy way of converting them:</p><p>-Break the binary number into chunks of 4 digits (add leading zeros if required). Four binary digits happen to represent 16 possible values (0-15) and therefor correspond directly to the following chart:</p><div class="codebox"><pre><code>0 = 0000
1 = 0001
2 = 0010
3 = 0011
4 = 0100
5 = 0101
6 = 0110
7 = 0111
8 = 1000
9 = 1001
A = 1010
B = 1011
C = 1100
D = 1101
E = 1110
F = 1111</code></pre></div><p>These 15 pairings are easy to figure out and you&#039;ll quickly find you can do them automatically.</p><p>Back to our example we have:<br /></p><div class="codebox"><pre><code>1100 0001</code></pre></div><p>1100 is C, 0001 is 1. So put em together! It&#039;s that easy!</p><p>Which is C1 in hexadecimal.</p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2013-08-03T01:03:58Z</updated>
			<id>https://chipmusic.org/forums/post/179318/#p179318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CYNTHCART SID hex editor for advanced users?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/179283/#p179283"/>
			<content type="html"><![CDATA[<p>SID hex editor for advanced users, </p><p>Does anyone knows how to use this function?</p>]]></content>
			<author>
				<name><![CDATA[maniacfreakquency]]></name>
				<uri>https://chipmusic.org/maniacfreakquency</uri>
			</author>
			<updated>2013-08-02T21:06:11Z</updated>
			<id>https://chipmusic.org/forums/post/179283/#p179283</id>
		</entry>
</feed>
