Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Megadrive binary outputs should be 16 bit big endian #42

Open
est77 opened this issue Nov 27, 2022 · 2 comments
Open

Megadrive binary outputs should be 16 bit big endian #42

est77 opened this issue Nov 27, 2022 · 2 comments

Comments

@est77
Copy link

est77 commented Nov 27, 2022

The VDP only allows 16 bit writes and the m68k CPU is big endian.
Currently, using SGDK for example, binary palettes and tiles from Superfamiconv are uploaded to the VDP with the bytes swapped.

@Optiroc
Copy link
Owner

Optiroc commented Mar 17, 2024

@est77 Does this only apply to palette data, or maps/tiles as well?

@est77
Copy link
Author

est77 commented Mar 18, 2024

If I remember correctly it happened with both colors and tile data.
It should be easy to do a quick test converting known colors and tile data and see the endianess of the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants