In this PR the affine helper mode is added to the fx branch.
It does the following things:
adds the tile map calculations (which takes into account the mapsize, tilesize etc)
adds tileindex lookup logic (including setting to index 0 when clipping)
adds ADDR1 increment/set logic when in affine helper mode
changed the order of the writes to $9F29-9F2C: they are now bundled by DCSEL (making it more readable/conform to docs and saving LUTs in the process)
Note that this PR only contains the 8bpp version of the affine helper mode. The 4-bit version will follow later on. This is to keep the PRs as small as possible.
--
Sidenote: due to the need for merging back and forth between forks, commits of earlier PRs are in this PR. It is there best to concentrate on the actual file differences.
In this PR the affine helper mode is added to the fx branch.
It does the following things:
Note that this PR only contains the 8bpp version of the affine helper mode. The 4-bit version will follow later on. This is to keep the PRs as small as possible.
-- Sidenote: due to the need for merging back and forth between forks, commits of earlier PRs are in this PR. It is there best to concentrate on the actual file differences.