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

How to put data in VRAM #279

Open
alekmaul opened this issue Apr 13, 2024 · 0 comments
Open

How to put data in VRAM #279

alekmaul opened this issue Apr 13, 2024 · 0 comments

Comments

@alekmaul
Copy link
Owner

Could you make a wiki page that explains where it's better to place the data of sprites and bgs in the VRAM,
I saw some pointers must be 4k aligned, other 8k - X.
If I am in mode 1, where do I put the sprites in the VRAM, at 0 or at 4096 or at 8096-2048?
BG1 : at 2048? or 1024?
BG2 : at 2048 + 2048? or 2048 + 1024? or 1024 + 1024?
I just don't know, some combinations work, some don't. There is no documentation.

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

1 participant