<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=DebugSwitches</id>
	<title>DebugSwitches - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=DebugSwitches"/>
	<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;action=history"/>
	<updated>2026-04-30T21:11:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=6415&amp;oldid=prev</id>
		<title>Orudge: Reformat and update</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=6415&amp;oldid=prev"/>
		<updated>2011-06-18T18:39:48Z</updated>

		<summary type="html">&lt;p&gt;Reformat and update&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:39, 18 June 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Debug switches=&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Modifying how TTDPatch works&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Debug switches are not useful for most people, but they can sometimes help fixing odd problems in the patch. They are mostly intended to be used by developers when testing the patch.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Debug switches are not useful for most people, but they can sometimes help fixing odd problems in the patch. They are mostly intended to be used by developers when testing the patch.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|r||Do not run TTDLOAD(W).OVL directly (since 2.5 beta 9)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|r||Do not run TTDLOAD(W).OVL directly (since 2.5 beta 9)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Additional Reading]][[Category:TTDPatch]][[Category:TTDPatch Manual]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Orudge</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=5751&amp;oldid=prev</id>
		<title>Pm-bot: Bot: Automated text replacement (--= +==)</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=5751&amp;oldid=prev"/>
		<updated>2011-06-15T11:31:14Z</updated>

		<summary type="html">&lt;p&gt;Bot: Automated text replacement (--= +==)&lt;/p&gt;
&lt;a href=&quot;https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;amp;diff=5751&amp;amp;oldid=769&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Pm-bot</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=769&amp;oldid=prev</id>
		<title>Orudge: 11 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=769&amp;oldid=prev"/>
		<updated>2011-06-12T19:04:19Z</updated>

		<summary type="html">&lt;p&gt;11 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:04, 12 June 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Orudge</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=758&amp;oldid=prev</id>
		<title>dmccoy at 05:01, 18 October 2006</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=758&amp;oldid=prev"/>
		<updated>2006-10-18T05:01:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:01, 18 October 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;L+ |Load language data from the file named -+language.dat+- instead of the TTDPatch executable. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with those data appended to the executable.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;L+ |Load language data from the file named -+language.dat+- instead of the TTDPatch executable. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with those data appended to the executable.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;C+ |Load patch code from -+ttdprotd.bin+- for DOS or -+ttdprotw.bin+- for Windows. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;C+ |Load patch code from&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; -+loaderd.bin+- and&lt;/ins&gt; -+ttdprotd.bin+- for DOS or&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; -+loaderw.bin+- and&lt;/ins&gt; -+ttdprotw.bin+- for Windows. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;R+|Load relocation information &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fro&lt;/del&gt; -+&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;reloc&lt;/del&gt;.bin+-. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;R+|Load relocation information &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;from&lt;/ins&gt; -+&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;relocd&lt;/ins&gt;.bin+-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; for DOS or -+relocw.bin+- for Windows&lt;/ins&gt;. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I- |Prevent the enhanced keyboard handler from updating keyboard LED indicators. &amp;amp;nbsp;The Lock keys will still toggle internal flags, though. (DOS only)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I- |Prevent the enhanced keyboard handler from updating keyboard LED indicators. &amp;amp;nbsp;The Lock keys will still toggle internal flags, though. (DOS only)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>dmccoy</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=759&amp;oldid=prev</id>
		<title>dmccoy at 10:36, 12 October 2006</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=759&amp;oldid=prev"/>
		<updated>2006-10-12T10:36:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:36, 12 October 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;C+ |Load patch code from -+ttdprotd.bin+- for DOS or -+ttdprotw.bin+- for Windows. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;C+ |Load patch code from -+ttdprotd.bin+- for DOS or -+ttdprotw.bin+- for Windows. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;R+|Load relocation information fro -+reloc.bin+-. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I- |Prevent the enhanced keyboard handler from updating keyboard LED indicators. &amp;amp;nbsp;The Lock keys will still toggle internal flags, though. (DOS only)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I- |Prevent the enhanced keyboard handler from updating keyboard LED indicators. &amp;amp;nbsp;The Lock keys will still toggle internal flags, though. (DOS only)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>dmccoy</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=760&amp;oldid=prev</id>
		<title>dmccoy at 07:40, 12 October 2006</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=760&amp;oldid=prev"/>
		<updated>2006-10-12T07:40:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Modifying how TTDPatch works&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=Debug switches=&lt;br /&gt;
&lt;br /&gt;
Modifying how TTDPatch works&lt;br /&gt;
&lt;br /&gt;
Debug switches are not useful for most people, but they can sometimes help fixing odd problems in the patch. &amp;amp;nbsp;They are mostly intended to be used by developers when testing the patch.&lt;br /&gt;
&lt;br /&gt;
To use them, they must be the first switch on TTDPatch&amp;#039;s command line, and start with an exclamation mark, &amp;amp;quot;!&amp;amp;quot;. &amp;amp;nbsp;After the exclamation mark follows the list of debug switches, each of them possibly trailed by a &amp;amp;quot;+&amp;amp;quot; or &amp;amp;quot;-&amp;amp;quot; to choose two different modes of operation. &amp;amp;nbsp;Currently if neither &amp;amp;quot;+&amp;amp;quot; nor &amp;amp;quot;-&amp;amp;quot; is specified, &amp;amp;quot;+&amp;amp;quot; is assumed. An example:&amp;lt;pre&amp;gt;-+ttdpatch.exe -!v+T+w-+-&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would run TTDPatch to collect new version information and terminate before even starting TTD. &amp;amp;nbsp;If any warnings occur, they are ignored.&lt;br /&gt;
&lt;br /&gt;
Alternatively, since revision 798 debug switches may be specified in the configuration file: &amp;lt;pre&amp;gt;-+debugswitches v+T+w-+-&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s the complete list of debug switches:&lt;br /&gt;
&lt;br /&gt;
||Switch |Meaning&lt;br /&gt;
&lt;br /&gt;
v- |Ignore TTD version info stored with TTDPatch (i.e. do not recognize TTD version)&lt;br /&gt;
&lt;br /&gt;
v+ |Collect TTD version info and write to a file&lt;br /&gt;
&lt;br /&gt;
s- |Never swap out the real mode code when starting TTD (DOS only)&lt;br /&gt;
&lt;br /&gt;
s+ |Always swap out the real mode code when starting TTD (DOS only)&lt;br /&gt;
&lt;br /&gt;
c |This switch is very special: if specified, TTDPatch will not process the command line options as usual, instead it will treat the rest of the command line as name and arguments of a program to run. &amp;amp;nbsp;This feature can be used to analyze TTDPatch&amp;#039;s memory usage in the DOS version.&lt;br /&gt;
&lt;br /&gt;
t- |Assume -+TTDLOAD(W).OVL+- exists and is correct, don&amp;#039;t process it or try to locate the original files. &amp;amp;nbsp;Currently this is useful only if combined with the c debug switch, otherwise it&amp;#039;ll prevent TTDPatch from working and may cause a crash.&lt;br /&gt;
&lt;br /&gt;
m- |Run even if there&amp;#039;s not enough memory to start TTD (DOS only)&lt;br /&gt;
&lt;br /&gt;
f- |Don&amp;#039;t read or create the default -+ttdpatch.cfg+-&lt;br /&gt;
&lt;br /&gt;
a- |Don&amp;#039;t check dependencies between switches. &amp;amp;nbsp;If used, TTDPatch will not correct illegal combinations of switches. Warning: some switch combinations are dangerous. &amp;amp;nbsp;For example, if startyear is set to 1927 and generalfixes to off, TTD will probably hang when you try to start a new random game. &amp;amp;nbsp;Normally, i.e. without this debug switch, TTDPatch would prevent that by turning generalfixes on. &amp;amp;nbsp;See [[NewStartingYear|New Starting Year]] for more information.&lt;br /&gt;
&lt;br /&gt;
w- |Do not wait for a key after a warning message, just continue&lt;br /&gt;
&lt;br /&gt;
w+ |Do not wait for a key after a warning message, just abort&lt;br /&gt;
&lt;br /&gt;
o+ |Reorder all switches alphabetically when writing a configuration file, not only the new ones&lt;br /&gt;
&lt;br /&gt;
T- |Terminate TTDPatch after parsing the cfg/cmdline (only TTDPatch 2.0.1 alpha 51 or higher)&lt;br /&gt;
&lt;br /&gt;
T+ |Terminate TTD immediately after collecting version information (see v+)&lt;br /&gt;
&lt;br /&gt;
L+ |Load language data from the file named -+language.dat+- instead of the TTDPatch executable. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with those data appended to the executable.&lt;br /&gt;
&lt;br /&gt;
C+ |Load patch code from -+ttdprotd.bin+- for DOS or -+ttdprotw.bin+- for Windows. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;br /&gt;
&lt;br /&gt;
I- |Prevent the enhanced keyboard handler from updating keyboard LED indicators. &amp;amp;nbsp;The Lock keys will still toggle internal flags, though. (DOS only)&lt;br /&gt;
&lt;br /&gt;
S+ |Dump information about all supported switches (non-debug, non-special ones) to swtchlst.txt and abort&lt;br /&gt;
&lt;br /&gt;
S-|Write current patch version and switch information in XML format to switches.xml and abort (only TTDPatch 2.0.1 alpha 21 or higher)&lt;br /&gt;
&lt;br /&gt;
P+|Don&amp;#039;t check ttdpatch.dll to see if it needs to be updated.&lt;br /&gt;
&lt;br /&gt;
n+ |Use noregistry information from registry.ini&lt;br /&gt;
&lt;br /&gt;
n- |Do not use noregistry information&lt;br /&gt;
&lt;br /&gt;
r|Do not run TTDLOAD(W).OVL directly (since 2.5 beta 9)||&lt;/div&gt;</summary>
		<author><name>dmccoy</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=765&amp;oldid=prev</id>
		<title>dmccoy at 03:25, 12 June 2005</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=DebugSwitches&amp;diff=765&amp;oldid=prev"/>
		<updated>2005-06-12T03:25:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Modifying how TTDPatch works&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=Debug switches=&lt;br /&gt;
&lt;br /&gt;
Modifying how TTDPatch works&lt;br /&gt;
&lt;br /&gt;
Debug switches are not useful for most people, but they can sometimes help fixing odd problems in the patch. &amp;amp;nbsp;They are mostly intended to be used by developers when testing the patch.&lt;br /&gt;
&lt;br /&gt;
To use them, they must be the first switch on TTDPatch&amp;#039;s command line, and start with an exclamation mark, &amp;amp;quot;!&amp;amp;quot;. &amp;amp;nbsp;After the exclamation mark follows the list of debug switches, each of them possibly trailed by a &amp;amp;quot;+&amp;amp;quot; or &amp;amp;quot;-&amp;amp;quot; to choose two different modes of operation. &amp;amp;nbsp;Currently if neither &amp;amp;quot;+&amp;amp;quot; nor &amp;amp;quot;-&amp;amp;quot; is specified, &amp;amp;quot;+&amp;amp;quot; is assumed. An example:&amp;lt;pre&amp;gt;-+ttdpatch.exe -!v+T+w-+-&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would run TTDPatch to collect new version information and terminate before even starting TTD. &amp;amp;nbsp;If any warnings occur, they are ignored.&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s the complete list of debug switches:&lt;br /&gt;
&lt;br /&gt;
||Switch |Meaning&lt;br /&gt;
&lt;br /&gt;
v- |Ignore TTD version info stored with TTDPatch (i.e. do not recognize TTD version)&lt;br /&gt;
&lt;br /&gt;
v+ |Collect TTD version info and write to a file&lt;br /&gt;
&lt;br /&gt;
s- |Never swap out the real mode code when starting TTD (DOS only)&lt;br /&gt;
&lt;br /&gt;
s+ |Always swap out the real mode code when starting TTD (DOS only)&lt;br /&gt;
&lt;br /&gt;
c |This switch is very special: if specified, TTDPatch will not process the command line options as usual, instead it will treat the rest of the command line as name and arguments of a program to run. &amp;amp;nbsp;This feature can be used to analyze TTDPatch&amp;#039;s memory usage in the DOS version.&lt;br /&gt;
&lt;br /&gt;
t- |Assume -+TTDLOAD(W).OVL+- exists and is correct, don&amp;#039;t process it or try to locate the original files. &amp;amp;nbsp;Currently this is useful only if combined with the c debug switch, otherwise it&amp;#039;ll prevent TTDPatch from working and may cause a crash.&lt;br /&gt;
&lt;br /&gt;
m- |Run even if there&amp;#039;s not enough memory to start TTD (DOS only)&lt;br /&gt;
&lt;br /&gt;
f- |Don&amp;#039;t read or create the default -+ttdpatch.cfg+-&lt;br /&gt;
&lt;br /&gt;
a- |Don&amp;#039;t check dependencies between switches. &amp;amp;nbsp;If used, TTDPatch will not correct illegal combinations of switches. Warning: some switch combinations are dangerous. &amp;amp;nbsp;For example, if startyear is set to 1927 and generalfixes to off, TTD will probably hang when you try to start a new random game. &amp;amp;nbsp;Normally, i.e. without this debug switch, TTDPatch would prevent that by turning generalfixes on. &amp;amp;nbsp;See [[NewStartingYear|New Starting Year]] for more information.&lt;br /&gt;
&lt;br /&gt;
w- |Do not wait for a key after a warning message, just continue&lt;br /&gt;
&lt;br /&gt;
w+ |Do not wait for a key after a warning message, just abort&lt;br /&gt;
&lt;br /&gt;
o+ |Reorder all switches alphabetically when writing a configuration file, not only the new ones&lt;br /&gt;
&lt;br /&gt;
T- |Terminate TTDPatch after parsing the cfg/cmdline (only TTDPatch 2.0.1 alpha 51 or higher)&lt;br /&gt;
&lt;br /&gt;
T+ |Terminate TTD immediately after collecting version information (see v+)&lt;br /&gt;
&lt;br /&gt;
L+ |Load language data from the file named -+language.dat+- instead of the TTDPatch executable. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with those data appended to the executable.&lt;br /&gt;
&lt;br /&gt;
C+ |Load patch code from -+ttdprotd.bin+- for DOS or -+ttdprotw.bin+- for Windows. &amp;amp;nbsp;Useful in debugging because many debuggers fail to load symbol information with that code appended to the executable.&lt;br /&gt;
&lt;br /&gt;
I- |Prevent the enhanced keyboard handler from updating keyboard LED indicators. &amp;amp;nbsp;The Lock keys will still toggle internal flags, though. (DOS only)&lt;br /&gt;
&lt;br /&gt;
S+ |Dump information about all supported switches (non-debug, non-special ones) to swtchlst.txt and abort&lt;br /&gt;
&lt;br /&gt;
S-|Write current patch version and switch information in XML format to switches.xml and abort (only TTDPatch 2.0.1 alpha 21 or higher)||&lt;/div&gt;</summary>
		<author><name>dmccoy</name></author>
	</entry>
</feed>