<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.specnext.dev/index.php?action=history&amp;feed=atom&amp;title=Layer_2_Control_Register</id>
	<title>Layer 2 Control Register - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.specnext.dev/index.php?action=history&amp;feed=atom&amp;title=Layer_2_Control_Register"/>
	<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;action=history"/>
	<updated>2026-05-25T08:02:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=12218&amp;oldid=prev</id>
		<title>Johnnyo: Linking Layer 2 clip window register</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=12218&amp;oldid=prev"/>
		<updated>2024-08-14T18:54:36Z</updated>

		<summary type="html">&lt;p&gt;Linking Layer 2 clip window register&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 19:54, 14 August 2024&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-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&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;The 640x256x4bpp mode is more like 320x256x8bpp mode, but every byte is displayed as two half-width paired pixels, the left pixel colour extracted from top four bits %1111&amp;#039;0000, right pixel extracted from low four bits %0000&amp;#039;1111. This means that next two paired pixels below are at +1 address, and next two paired pixels at right are at +256 address.&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;The 640x256x4bpp mode is more like 320x256x8bpp mode, but every byte is displayed as two half-width paired pixels, the left pixel colour extracted from top four bits %1111&amp;#039;0000, right pixel extracted from low four bits %0000&amp;#039;1111. This means that next two paired pixels below are at +1 address, and next two paired pixels at right are at +256 address.&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;Don&#039;t forget to set up the clip window for 320x256 or 640x256 modes, to make whole area visible, use 0,159,0,255 settings (the 640x256 does quadruple the value so X1=10,X2=80 makes pixels 40..323 visible (inclusive)). The Layer 2 clip window is by default set to 0,255,0,191 which shows full 256x192x8bpp mode, but it will make the larger modes appear cut at bottom.&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;Don&#039;t forget to set up the clip window for 320x256 or 640x256 modes, to make whole area visible, use 0,159,0,255 settings (the 640x256 does quadruple the value so X1=10,X2=80 makes pixels 40..323 visible (inclusive)). The Layer 2 clip window &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;({{NextRegNo|$18}}) &lt;/ins&gt;is by default set to 0,255,0,191 which shows full 256x192x8bpp mode, but it will make the larger modes appear cut at bottom.&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;Palette offset is added to top four bits of pixel value (in case of 4bpp mode it just forms top four bits of pixel value, nothing to add with, pixel data are bottom four bits) and does apply to all Layer 2 modes.&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;Palette offset is added to top four bits of pixel value (in case of 4bpp mode it just forms top four bits of pixel value, nothing to add with, pixel data are bottom four bits) and does apply to all Layer 2 modes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key specnext_wiki:diff:1.41:old-11051:rev-12218:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Johnnyo</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=11051&amp;oldid=prev</id>
		<title>Ped7g: core 3.0.7 changes/refresh</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=11051&amp;oldid=prev"/>
		<updated>2020-01-04T00:45:54Z</updated>

		<summary type="html">&lt;p&gt;core 3.0.7 changes/refresh&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 01:45, 4 January 2020&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-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;Don&amp;#039;t forget to set up the clip window for 320x256 or 640x256 modes, to make whole area visible, use 0,159,0,255 settings (the 640x256 does quadruple the value so X1=10,X2=80 makes pixels 40..323 visible (inclusive)). The Layer 2 clip window is by default set to 0,255,0,191 which shows full 256x192x8bpp mode, but it will make the larger modes appear cut at bottom.&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;Don&amp;#039;t forget to set up the clip window for 320x256 or 640x256 modes, to make whole area visible, use 0,159,0,255 settings (the 640x256 does quadruple the value so X1=10,X2=80 makes pixels 40..323 visible (inclusive)). The Layer 2 clip window is by default set to 0,255,0,191 which shows full 256x192x8bpp mode, but it will make the larger modes appear cut at bottom.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;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;&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; class=&quot;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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Palette offset is added to top four bits of pixel value (in case of 4bpp mode it just forms top four bits of pixel value, nothing to add with, pixel data are bottom four bits) and does apply to all Layer 2 modes.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key specnext_wiki:diff:1.41:old-11047:rev-11051:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ped7g</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=11047&amp;oldid=prev</id>
		<title>Ped7g at 17:28, 2 January 2020</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=11047&amp;oldid=prev"/>
		<updated>2020-01-02T17:28:37Z</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 18:28, 2 January 2020&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-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&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;| 3-0 || Palette offset (soft reset = 0)&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;| 3-0 || Palette offset (soft reset = 0)&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-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;&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; class=&quot;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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(this is new Next register, and new Layer 2 modes, available only since core 3.0.6)&lt;/ins&gt;&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;The 256x192x8bpp mode is simple 256 colour mode, one pixel is one byte (index into Layer 2 palette), pixels are stored from left to right, from top to bottom (next pixel to right is at +1 address, next pixel below is at +256 address), total memory is 48kiB = three 16kiB banks, starting at bank set in {{NextRegNo|$12}}.&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;The 256x192x8bpp mode is simple 256 colour mode, one pixel is one byte (index into Layer 2 palette), pixels are stored from left to right, from top to bottom (next pixel to right is at +1 address, next pixel below is at +256 address), total memory is 48kiB = three 16kiB banks, starting at bank set in {{NextRegNo|$12}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key specnext_wiki:diff:1.41:old-11046:rev-11047:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ped7g</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=11046&amp;oldid=prev</id>
		<title>Ped7g: core 3.0.7 changes/refresh</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Layer_2_Control_Register&amp;diff=11046&amp;oldid=prev"/>
		<updated>2020-01-02T17:26:32Z</updated>

		<summary type="html">&lt;p&gt;core 3.0.7 changes/refresh&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{NextRegister&lt;br /&gt;
|Number=$70&lt;br /&gt;
|Readable=Yes&lt;br /&gt;
|Writable=Yes&lt;br /&gt;
|ShortDesc=Layer 2 resolution, palette offset&lt;br /&gt;
}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Bit !! Function&lt;br /&gt;
|-&lt;br /&gt;
| 7-6 || Reserved, must be 0&lt;br /&gt;
|-&lt;br /&gt;
| 5-4 || [[Layer 2]] resolution (soft reset = 0)&lt;br /&gt;
    %00 = 256x192x8bpp&lt;br /&gt;
    %01 = 320x256x8bpp&lt;br /&gt;
    %10 = 640x256x4bpp&lt;br /&gt;
|-&lt;br /&gt;
| 3-0 || Palette offset (soft reset = 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The 256x192x8bpp mode is simple 256 colour mode, one pixel is one byte (index into Layer 2 palette), pixels are stored from left to right, from top to bottom (next pixel to right is at +1 address, next pixel below is at +256 address), total memory is 48kiB = three 16kiB banks, starting at bank set in {{NextRegNo|$12}}.&lt;br /&gt;
&lt;br /&gt;
The 320x256x8bpp mode is similar, but pixels are stored from top to bottom, then from left to right! Next pixel to right is at +256 address, next pixel below is at +1 address (the image data are kind of &amp;quot;transposed&amp;quot; in memory). The clip window X coordinates are doubled like for tile mode and sprites. Total memory is 80kiB = five 16kiB banks, selected also by NextReg $12. The first bank then contains whole columns 0..63 (64 pixels width), the last fifth bank contains whole columns 256..319.&lt;br /&gt;
&lt;br /&gt;
The 640x256x4bpp mode is more like 320x256x8bpp mode, but every byte is displayed as two half-width paired pixels, the left pixel colour extracted from top four bits %1111&amp;#039;0000, right pixel extracted from low four bits %0000&amp;#039;1111. This means that next two paired pixels below are at +1 address, and next two paired pixels at right are at +256 address.&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t forget to set up the clip window for 320x256 or 640x256 modes, to make whole area visible, use 0,159,0,255 settings (the 640x256 does quadruple the value so X1=10,X2=80 makes pixels 40..323 visible (inclusive)). The Layer 2 clip window is by default set to 0,255,0,191 which shows full 256x192x8bpp mode, but it will make the larger modes appear cut at bottom.&lt;/div&gt;</summary>
		<author><name>Ped7g</name></author>
	</entry>
</feed>