by hansjorg · 10y ago · 0 comments
You can have different offsets into each bitplane, which is why the grid could stay in the same place while the ball bounced.
The Amiga only supported bitplanes and not "chunky" modes like VGA where you have one byte per pixel. This made graphics with 256 colors (supported by the later AGA chipset) really slow as you had to do eight writes per pixel.
For a while there was a lot of competition between coders to write the best chunky to planar routine. This enabled you to write graphics effects with a chunky graphics buffer and then convert every frame on the fly to planar. One of the fastest was written by Kalms:
Curiously, on some later A500 OCS models, you could also see that into "slow RAM" expansion module range! Just needed to point bitplane pointers above 0x80000.
It appeared at 0xc00000 for the CPU and 0x80000 for chipset.
This was complicated a bit since you only had two scroll registers, one for even and one for odd bitplanes.
No idea how this was implemented in hardware.