tiles: Added docs for tile banking
authorLukas Krickl <lukas@krickl.dev>
Fri, 20 Jun 2025 11:50:07 +0000 (13:50 +0200)
committerLukas Krickl <lukas@krickl.dev>
Fri, 20 Jun 2025 11:50:07 +0000 (13:50 +0200)
src/tiles.inc

index a88bb12ef6bbe92e1a7cdbc118eb26db41aea92d..741df9df4e9ca715da1969ac0a3bf5aca00ac2e8 100644 (file)
@@ -1,3 +1,12 @@
+; banking:
+;   bank 8000 and bank 9000 are fixed banks
+;   they may only be swapped completely by maps as needed
+;   
+;   bank8800 is split into 2 parts:
+;     the lower 64 tiles are fixed and usually used for UI and fonts
+;     the upper 64 tiles may be loaded as needed by maps
+;     in blocks of 32 tiles. This means the bank can be swapped
+;     by individual maps and mixed as needed
 
 bank8000:
 #include "bank8000.inc"