<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bankswitching on Programming the Atari VCS in Assembly</title><link>https://cdeever.github.io/atari-vcs/docs/cartridge-hardware/bankswitching/</link><description>Recent content in Bankswitching on Programming the Atari VCS in Assembly</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://cdeever.github.io/atari-vcs/docs/cartridge-hardware/bankswitching/index.xml" rel="self" type="application/rss+xml"/><item><title>Programming Across Banks</title><link>https://cdeever.github.io/atari-vcs/docs/cartridge-hardware/bankswitching/programming-across-banks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cdeever.github.io/atari-vcs/docs/cartridge-hardware/bankswitching/programming-across-banks/</guid><description>&lt;h1 id="programming-across-banks"&gt;Programming Across Banks&lt;a class="anchor" href="#programming-across-banks"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://cdeever.github.io/atari-vcs/docs/cartridge-hardware/bankswitching/"&gt;Bankswitching&lt;/a&gt; hands you the hardware: several 4 KB banks and a few hotspot addresses that swap which one the &lt;a href="https://cdeever.github.io/atari-vcs/docs/architecture/rom/"&gt;window&lt;/a&gt; shows. That much is simple. The hard part is &lt;em&gt;living&lt;/em&gt; there — writing code that keeps working while the bytes underneath it change. Because the swap is a silent side effect of touching an address, the program counter doesn&amp;rsquo;t move when a bank flips; only the contents under it do. Two facts follow, and both shape how you lay out a banked game.&lt;/p&gt;</description></item></channel></rss>