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

Question about bank switching #305

Open
Oliver-makes-code opened this issue Jan 14, 2024 · 3 comments
Open

Question about bank switching #305

Oliver-makes-code opened this issue Jan 14, 2024 · 3 comments

Comments

@Oliver-makes-code
Copy link

Sorry if this isn't the right place to ask, I couldn't find an alternative place.
Does this automatically determine what banks functions should go into, and automatically switch banks depending on which function needs to be run?
If not, is there a way to tell it to put functions into certain banks?
Thanks for your help!

@skarab
Copy link

skarab commented Apr 11, 2024

Curious as well. I think it has been removed in latest version ? A bit hard to stick on 4MB for my game, but ive read 8MB is ok without bank switching, is it correct ?

@skarab
Copy link

skarab commented Apr 11, 2024

(but 8MB with save slots cartdrige would be hard to find i guess)

@Stephane-D
Copy link
Owner

SGDK does include a kind of auto bank switch mechanism but it need to be enabled through the SGDK inc/config.h file and then you need to rebuild the library.
As mentioned there is a way to do 8 MB without bank switch and with very few logic (hardware wise), at the price of not being able to use the MCD using that configuration.

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

3 participants