27
edits
Changes
Jump to navigation
Jump to search
m
→Texture page calculation: Moved comments out of blocks so code examples are easier to read.
=== Texture page calculation ===
Byte TPage = InputBytes[TexturePage_index] & 0F; //Bitwise TPage byte AND 0F, to delete first 4 bits int TPageINT = TPage * 64; //For 16 bit TIM's, the texture page is 64 pixels wide
====Example====