<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=Z80_Routines%3AOther%3AIonCompress</id>
		<title>Z80 Routines:Other:IonCompress - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=Z80_Routines%3AOther%3AIonCompress"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;action=history"/>
		<updated>2026-04-06T00:07:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;diff=4642&amp;oldid=prev</id>
		<title>Dan Englender: Added untested code template.  I probably messed something up.  Feel free to fix</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;diff=4642&amp;oldid=prev"/>
				<updated>2006-04-07T15:01:42Z</updated>
		
		<summary type="html">&lt;p&gt;Added untested code template.  I probably messed something up.  Feel free to fix&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 style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:01, 7 April 2006&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Z80 Routines:Other|IonCompress]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Z80 Routines:Other|IonCompress]]&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Z80 Routines|IonCompress]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Z80 Routines|IonCompress]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Untested-Code}}&lt;/ins&gt;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;;Ion Compression Routines&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;;Ion Compression Routines&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;These routines are &amp;lt;supposed to&amp;gt; compress data in the format used by&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;These routines are &amp;lt;supposed to&amp;gt; compress data in the format used by&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dan Englender</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;diff=4640&amp;oldid=prev</id>
		<title>Saibot84: trying to add the category...crude special thanks...</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;diff=4640&amp;oldid=prev"/>
				<updated>2006-04-07T04:08:40Z</updated>
		
		<summary type="html">&lt;p&gt;trying to add the category...crude special thanks...&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 style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:08, 7 April 2006&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 colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Z80 Routines:Other|IonCompress]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Z80 Routines|IonCompress]]&lt;/ins&gt;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;;Ion Compression Routines&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;;Ion Compression Routines&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;These routines are &amp;lt;supposed to&amp;gt; compress data in the format used by&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;These routines are &amp;lt;supposed to&amp;gt; compress data in the format used by&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 148:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 150:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  pop hl&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  pop hl&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ret&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ret&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Special Thanks==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- Sorry, it's 12AM, and I didn't get enough sleep last night... this is the last thing I'm doing b4 going to bed, so please don't kill me for not remembering the correct facts...--&amp;gt;'''Joe Wingbermuhele''' for creating Ion for the 83/83+&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''XDG Kat-Productions''''s '''Justin Haygood''' and '''Benny Baumann''' for encouraging my coding abilities in both z80 Asm and TI-BASIC.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Saibot84</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;diff=4639&amp;oldid=prev</id>
		<title>Saibot84: untested ioncompress routine</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Z80_Routines:Other:IonCompress&amp;diff=4639&amp;oldid=prev"/>
				<updated>2006-04-07T04:01:47Z</updated>
		
		<summary type="html">&lt;p&gt;untested ioncompress routine&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; &amp;lt;nowiki&amp;gt;;Ion Compression Routines&lt;br /&gt;
;These routines are &amp;lt;supposed to&amp;gt; compress data in the format used by&lt;br /&gt;
;the IonDecompress routine.  I, Saibot84, have only reverse-engineered&lt;br /&gt;
;the compression algorithm based on the IonDecompress routine. &lt;br /&gt;
;&lt;br /&gt;
;Just a note: The way I consider this, there is a routine that does &lt;br /&gt;
;the work, and then there may be a routine that modifies slightly the &lt;br /&gt;
;inputs and outputs of the first routine.  This modifying routine, I &lt;br /&gt;
;call the MetaLibrary routine as an analogy to how physics is under &lt;br /&gt;
;metaphysics. ;-)&lt;br /&gt;
;&lt;br /&gt;
;I know it's not good to post untested bits of code, but I just&lt;br /&gt;
;stumbled upon this on my computer and remembered I wanted to&lt;br /&gt;
;release it.&lt;br /&gt;
;&lt;br /&gt;
;IonCompress&lt;br /&gt;
;Inputs:&lt;br /&gt;
;  hl-&amp;gt;where to read the data from&lt;br /&gt;
;  de-&amp;gt;where to store the compressed output&lt;br /&gt;
;  b = number of bytes to copmpress&lt;br /&gt;
;  c = compression factor (see IonDecompress)&lt;br /&gt;
;Outputs:&lt;br /&gt;
;  hl-&amp;gt;end of where to read&lt;br /&gt;
;  de-&amp;gt;end of where to store&lt;br /&gt;
;  carry flag: set-&amp;gt;error  res-&amp;gt;all is well&lt;br /&gt;
;&lt;br /&gt;
;MetaLib_IonCompress&lt;br /&gt;
;Inputs:&lt;br /&gt;
;  hl-&amp;gt;where to read the data from&lt;br /&gt;
;  de-&amp;gt;where to store the compressed output&lt;br /&gt;
;  bc = number of bytes to copmpress&lt;br /&gt;
;  a = compression factor (see IonDecompress)&lt;br /&gt;
;Outputs:&lt;br /&gt;
;  hl-&amp;gt;end of where to read&lt;br /&gt;
;  de-&amp;gt;end of where to store&lt;br /&gt;
;  bc = new length&lt;br /&gt;
;  carry flag: set-&amp;gt;error  res-&amp;gt;all is well&lt;br /&gt;
&lt;br /&gt;
IonCompress:&lt;br /&gt;
   ;016-7-2005&lt;br /&gt;
   ;=&amp;gt;hl-&amp;gt;read&lt;br /&gt;
   ;=&amp;gt;de-&amp;gt;sto&lt;br /&gt;
   ;=&amp;gt;b=len&lt;br /&gt;
   ;=&amp;gt;c=comp factor&lt;br /&gt;
   ;&amp;lt;=hl-&amp;gt;read+len&lt;br /&gt;
   ;&amp;lt;=de-&amp;gt;sto+len(new)&lt;br /&gt;
   ;&amp;lt;=cf=error&lt;br /&gt;
   ld a,c&lt;br /&gt;
   cp 2&lt;br /&gt;
   jr nc, IC_Next1&lt;br /&gt;
   srl b&lt;br /&gt;
IC_Next1:&lt;br /&gt;
   cp 4&lt;br /&gt;
   jr nc,IC_Next2&lt;br /&gt;
   srl b&lt;br /&gt;
IC_Next2:&lt;br /&gt;
   srl b&lt;br /&gt;
   push ix&lt;br /&gt;
IC_Loop:&lt;br /&gt;
   push bc&lt;br /&gt;
   ld ixh,0&lt;br /&gt;
   ld ixl,8&lt;br /&gt;
   ld a,c&lt;br /&gt;
   ld b,8&lt;br /&gt;
   cp 1&lt;br /&gt;
   jr z,IC_cmp1&lt;br /&gt;
   ld b,4&lt;br /&gt;
   cp 3&lt;br /&gt;
   jr z,IC_cmp1&lt;br /&gt;
   ld b,2&lt;br /&gt;
IC_cmp1:&lt;br /&gt;
   push bc&lt;br /&gt;
   ld a,c&lt;br /&gt;
   ld b,1&lt;br /&gt;
   cp 1&lt;br /&gt;
   jr z,IC_cmp2&lt;br /&gt;
   inc b&lt;br /&gt;
   cp 3&lt;br /&gt;
   jr z,IC_cmp2&lt;br /&gt;
   ld b,4&lt;br /&gt;
IC_cmp2:&lt;br /&gt;
   ld a,ixl&lt;br /&gt;
   sub b&lt;br /&gt;
   ld b,a&lt;br /&gt;
   ld ixl,a&lt;br /&gt;
   ld a,c&lt;br /&gt;
   cp (hl)&lt;br /&gt;
   jr c,IC_Error&lt;br /&gt;
   ld a,(hl)&lt;br /&gt;
IC_cmp3:&lt;br /&gt;
   sla a&lt;br /&gt;
   djnz IC_cmp3&lt;br /&gt;
   or ixh&lt;br /&gt;
   inc hl&lt;br /&gt;
   pop bc&lt;br /&gt;
   djnz IC_cmp1&lt;br /&gt;
   inc de&lt;br /&gt;
   pop bc&lt;br /&gt;
   djnz IC_Loop&lt;br /&gt;
IC_Exit:&lt;br /&gt;
   pop ix&lt;br /&gt;
   ret&lt;br /&gt;
IC_Error:&lt;br /&gt;
   pop bc&lt;br /&gt;
   pop bc&lt;br /&gt;
   jr IC_Exit&lt;br /&gt;
&lt;br /&gt;
MetaLib_IonCompress:&lt;br /&gt;
   ;016-7-2005&lt;br /&gt;
   ;=&amp;gt;hl-&amp;gt;read&lt;br /&gt;
   ;=&amp;gt;de-&amp;gt;sto&lt;br /&gt;
   ;=&amp;gt;bc=len&lt;br /&gt;
   ;=&amp;gt;a=comp factor&lt;br /&gt;
   ;&amp;lt;=hl-&amp;gt;read+len&lt;br /&gt;
   ;&amp;lt;=de-&amp;gt;sto+len(new)&lt;br /&gt;
   ;&amp;lt;=bc=new length&lt;br /&gt;
   ;&amp;lt;=cf=error&lt;br /&gt;
   push de&lt;br /&gt;
   push af&lt;br /&gt;
   push bc&lt;br /&gt;
   ld b,a&lt;br /&gt;
   ld a,c&lt;br /&gt;
   or a&lt;br /&gt;
   ld a,b&lt;br /&gt;
   pop bc&lt;br /&gt;
   jr z,ML_IC_Loop&lt;br /&gt;
   inc b&lt;br /&gt;
ML_IC_Loop:&lt;br /&gt;
   push bc&lt;br /&gt;
   push af&lt;br /&gt;
   ld b,c&lt;br /&gt;
   ld c,a&lt;br /&gt;
   call IonCompress&lt;br /&gt;
   ret c&lt;br /&gt;
   pop af&lt;br /&gt;
   pop bc&lt;br /&gt;
   ld c,0&lt;br /&gt;
   djnz ML_IC_Loop&lt;br /&gt;
   pop af&lt;br /&gt;
   ex (sp),hl&lt;br /&gt;
   ex de,hl&lt;br /&gt;
   push hl&lt;br /&gt;
   or a&lt;br /&gt;
   sbc hl,de&lt;br /&gt;
   pop de&lt;br /&gt;
   push hl&lt;br /&gt;
   pop bc&lt;br /&gt;
   pop hl&lt;br /&gt;
   ret&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Saibot84</name></author>	</entry>

	</feed>