A bank for every CGIA plane
- smokku
Each CGIA plane can now fetch graphics from its own 64 KiB bank.
Giving each plane its own bank meant rearranging a few CGIA registers. If
your program writes to them directly, set the backdrop at $FF32, write
the four bank numbers to $FF34–$FF37, and put the plane offsets in the
table starting at $FF38. The X65 memory map
has the full layout.
If several planes point at the same bank, one cache fill serves them all.
Also some other bugfixes ride along:
- Sprite windows now properly clip against screen lines.
- Display-list interrupts now fire on the last raster line of a mode row. SIC!