<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=SWAT_%28Strategic_Weapon_Against_Typos%29</id>
		<title>SWAT (Strategic Weapon Against Typos) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=SWAT_%28Strategic_Weapon_Against_Typos%29"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=SWAT_(Strategic_Weapon_Against_Typos)&amp;action=history"/>
		<updated>2026-05-17T08:07:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=SWAT_(Strategic_Weapon_Against_Typos)&amp;diff=49392&amp;oldid=prev</id>
		<title>MihaiPopa7 at 12:48, 8 September 2024</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=SWAT_(Strategic_Weapon_Against_Typos)&amp;diff=49392&amp;oldid=prev"/>
				<updated>2024-09-08T12:48:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:48, 8 September 2024&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It generates a table with three columns: a range of line numbers, a two-letter 'SWAT Code', and the length (in bytes) of the specified program lines.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It generates a table with three columns: a range of line numbers, a two-letter 'SWAT Code', and the length (in bytes) of the specified program lines.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This narrows the area of a bug to no more than twelve lines or no &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mroe &lt;/del&gt;than about 500-700 bytes of code.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This narrows the area of a bug to no more than twelve lines or no &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;more &lt;/ins&gt;than about 500-700 bytes of code.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The 'resolution' of SWAT can be increased for particularly error-prone code. For instance, change &amp;quot;NU=12: B=500&amp;quot; to &amp;quot;NU=5: B=200&amp;quot; to provide a checksum for every 5 lines or 200 bytes of code.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The 'resolution' of SWAT can be increased for particularly error-prone code. For instance, change &amp;quot;NU=12: B=500&amp;quot; to &amp;quot;NU=5: B=200&amp;quot; to provide a checksum for every 5 lines or 200 bytes of code.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MihaiPopa7</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=SWAT_(Strategic_Weapon_Against_Typos)&amp;diff=49329&amp;oldid=prev</id>
		<title>Parchivist: Created page with &quot;{{FormatInfo |subcat=Error detection and correction |released=1982 }} '''SWAT (Strategic Weapon Against Typos)''' by Jon Voskuil and Alan J Zett is a type-in program checker f...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=SWAT_(Strategic_Weapon_Against_Typos)&amp;diff=49329&amp;oldid=prev"/>
				<updated>2024-09-08T05:33:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |subcat=Error detection and correction |released=1982 }} &amp;#039;&amp;#039;&amp;#039;SWAT (Strategic Weapon Against Typos)&amp;#039;&amp;#039;&amp;#039; by Jon Voskuil and Alan J Zett is a type-in program checker f...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|subcat=Error detection and correction&lt;br /&gt;
|released=1982&lt;br /&gt;
}}&lt;br /&gt;
'''SWAT (Strategic Weapon Against Typos)''' by Jon Voskuil and Alan J Zett is a type-in program checker for Apple II, Atari and TRS-80 used by SoftSide magazine.&lt;br /&gt;
&lt;br /&gt;
It generates a table with three columns: a range of line numbers, a two-letter 'SWAT Code', and the length (in bytes) of the specified program lines.&lt;br /&gt;
&lt;br /&gt;
This narrows the area of a bug to no more than twelve lines or no mroe than about 500-700 bytes of code.&lt;br /&gt;
&lt;br /&gt;
The 'resolution' of SWAT can be increased for particularly error-prone code. For instance, change &amp;quot;NU=12: B=500&amp;quot; to &amp;quot;NU=5: B=200&amp;quot; to provide a checksum for every 5 lines or 200 bytes of code.&lt;br /&gt;
&lt;br /&gt;
The SWAT Code is generated by adding up the value of every byte in a chunk and then converting to a base-26 number. Just the two rightmost 'digits' (letters) are used. This approach leaves it vulnerable to transposition errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sample Output ==&lt;br /&gt;
[[File:swat.gif]] SWAT&lt;br /&gt;
&lt;br /&gt;
[[File:swat-modified parameters.jpg]] SWAT with modified parameters&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://archive.org/details/softside-magazine-45/page/n47/mode/2up SWAT code listing and article] (from SoftSide Issue 30 pg 46)&lt;br /&gt;
* [https://www.atarimania.com/documents/Best-of-SoftSide-Atari-Edition.pdf Updated Atari version] (Best of SoftSide Atari Edition pg 139)&lt;br /&gt;
* [https://bumbershootsoft.wordpress.com/2019/01/14/dissecting-three-classic-automatic-proofreaders/ Dissecting Three Classic Automatic Proofreaders]&lt;/div&gt;</summary>
		<author><name>Parchivist</name></author>	</entry>

	</feed>