<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=Fast_Degas_PC1_decompressor_code</id>
	<title>Fast Degas PC1 decompressor code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=Fast_Degas_PC1_decompressor_code"/>
	<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=Fast_Degas_PC1_decompressor_code&amp;action=history"/>
	<updated>2026-05-02T09:12:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://www.temlib.org/AtariForumWiki/index.php?title=Fast_Degas_PC1_decompressor_code&amp;diff=13218&amp;oldid=prev</id>
		<title>&gt;Wongck at 15:44, 12 October 2011</title>
		<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=Fast_Degas_PC1_decompressor_code&amp;diff=13218&amp;oldid=prev"/>
		<updated>2011-10-12T15:44: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&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 11:44, 12 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot;&gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&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;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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Programming]]&lt;/del&gt;[[Category:Assembly Language]]&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;[[Category:Assembly Language]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>&gt;Wongck</name></author>
	</entry>
	<entry>
		<id>https://www.temlib.org/AtariForumWiki/index.php?title=Fast_Degas_PC1_decompressor_code&amp;diff=13217&amp;oldid=prev</id>
		<title>&gt;Wongck: Created page with &quot;GT Turbo posted this source a while ago on the forum. As it works beautifully and is rather fast, here is his '''Degas PC1 file decompressor routine''' in 68000 assembler:  ---- ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=Fast_Degas_PC1_decompressor_code&amp;diff=13217&amp;oldid=prev"/>
		<updated>2011-08-30T15:20:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;GT Turbo posted this source a while ago on the forum. As it works beautifully and is rather fast, here is his &amp;#039;&amp;#039;&amp;#039;Degas PC1 file decompressor routine&amp;#039;&amp;#039;&amp;#039; in 68000 assembler:  ---- ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;GT Turbo posted this source a while ago on the forum. As it works beautifully and is rather fast, here is his '''Degas PC1 file decompressor routine''' in 68000 assembler:&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
a0 points to the PC1 file, a1 to the intended destination screen.&lt;br /&gt;
The palette is not extracted with this code but follows the Deags standard, e.q. simply move from 2(a0) 32 bytes into the Shifter color registers.&lt;br /&gt;
&lt;br /&gt;
 		; code by GT Turbo / Cerebral Vortex&lt;br /&gt;
 Depack_PC1:	movem.l d0-d7/a0-a6,-(a7)		&lt;br /&gt;
 &lt;br /&gt;
 		lea 34(a0),a0 ; Debut du pic&lt;br /&gt;
 &lt;br /&gt;
 		move.w #199,d4 ; 199&lt;br /&gt;
 &lt;br /&gt;
 All_lines:&lt;br /&gt;
 		move.l a1,a2 ; Destination&lt;br /&gt;
 		moveq #3,d1  ; 4 Bit planes&lt;br /&gt;
 &lt;br /&gt;
 Debut_line:&lt;br /&gt;
 		move.l a2,a3&lt;br /&gt;
 		moveq #0,d3&lt;br /&gt;
 		moveq #1,d5&lt;br /&gt;
 &lt;br /&gt;
 Recup_code:&lt;br /&gt;
 		moveq #0,d0&lt;br /&gt;
 		move.b (a0)+,d0&lt;br /&gt;
 		bmi.s Repete_code&lt;br /&gt;
 &lt;br /&gt;
 		add.b d0,d3&lt;br /&gt;
 		addq.b #1,d3&lt;br /&gt;
 &lt;br /&gt;
 Copy:&lt;br /&gt;
 		move.b (a0)+,(a2)&lt;br /&gt;
 		add.w d5,a2&lt;br /&gt;
 		eor.w #6,d5&lt;br /&gt;
 &lt;br /&gt;
 		dbra d0,Copy&lt;br /&gt;
 &lt;br /&gt;
 		bra.s End_line&lt;br /&gt;
 &lt;br /&gt;
 Repete_code:&lt;br /&gt;
 		neg.b d0&lt;br /&gt;
 &lt;br /&gt;
 		; nop&lt;br /&gt;
 		addq.b #1,d3&lt;br /&gt;
 		add.b d0,d3&lt;br /&gt;
 &lt;br /&gt;
 		move.b (a0)+,d2&lt;br /&gt;
 &lt;br /&gt;
 Recopy_code:&lt;br /&gt;
 		move.b d2,(a2)&lt;br /&gt;
 &lt;br /&gt;
 		add.w d5,a2&lt;br /&gt;
 		eor.w #6,d5&lt;br /&gt;
 &lt;br /&gt;
 		dbra d0,Recopy_code&lt;br /&gt;
 &lt;br /&gt;
 End_line:&lt;br /&gt;
 		cmp.b #40,d3&lt;br /&gt;
 &lt;br /&gt;
 		bne.s Recup_code&lt;br /&gt;
 		move.l a3,a2&lt;br /&gt;
 &lt;br /&gt;
 		addq.w #2,a2 ; Plan suivant&lt;br /&gt;
 &lt;br /&gt;
 		dbra d1,Debut_line&lt;br /&gt;
 &lt;br /&gt;
 		lea 160(a1),a1 ; Ligne suivante&lt;br /&gt;
 		dbra d4,All_lines&lt;br /&gt;
 &lt;br /&gt;
 		movem.l (a7)+,d0-d7/a0-a6&lt;br /&gt;
 		rts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]][[Category:Assembly Language]]&lt;/div&gt;</summary>
		<author><name>&gt;Wongck</name></author>
	</entry>
</feed>