Closed slinga-homebrew closed 2 years ago
Maybe use JO_VDP2_CRAOFB instead of VDP2_CRAOFB ?
That's good advice. I switched it to JO_VDP2_CRAOFB but it causes issues. The image is no longer displaying correctly. Not sure why.
Had a test, major palette issues going on here. The screenshot shows me trying to force a different palette, which is output in the printf but the 2nd palette doesn't take effect.
It doesn't seem like we would be able to load more than one palette with this and only indexed TGA's seem to work. I also tried with the hardcoded image demo and the spaceship doesn't display properly and there is some pixel warping going on.
Such a shame
I will check this Pull Request tomorrow :)
I added the code inside core.c in WIP and added PAL support, but I have to continue the implementation, because many demos doesn't work properly. Thx everyone ! :)
Modified 8bit TGA demo to run as 480i. It's probably better to move:
from main.c into core.c instead. Please let me know what you think. Credit to fafling and Ponut64 for showing me how to do this.