Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Color Tool isn't limiting pages based on specs #113
This has some complicated edge cases. First off, palette memory is part of the color memory so we need to make sure that when we split colors if there are only 1 or 2 pages for system colors, the palettes are not affected by this. Right now the color tool doesn't take this into account so theoretically, the palette colors may not be imported correctly.
In reality, palette mode should split color memory in half, based on the total pages. And half the colors go to system and other to palettes. That means the worst case scenario is that 1 page of color memory would allow for 32 system colors and 2 (16 color palettes).
Right now all of this is hardcoded around the assumption that there are really 256 colors since palettes are not "native" to the color chip.