-
Notifications
You must be signed in to change notification settings - Fork 26
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
Manage memory card with bios call to CARD ($C00468) #42
Comments
Oh I never tried that, let me keep that open as a future feature.
I'm not sure of the calling convention so here the example request gcc to save all registers. |
No problem, I am going to try today. |
Excellent ! It works. Quickly, I retrieved with success the user name of the memcard. ` char data[8]; *BIOS_CARD_START = (u32)data; display(1, 2, data); // display user name data string on fx layer |
Great! For what it's worth, latest ngdevkit master provides additional headers/helpers that allow you to access the data in the BIOS's memory as if they were regular C variables:
Maybe that can be of interest for you. |
Also I am able to load/save data. After experimenting, I want to raise 2 issues:
*BIOS_CARD_FCB = 0x83;
|
Hi.
Actually not really an issue. I am just interested in reading/saving datas on the memory card and I have no idea how to perform it.
I understand well the principles of the variables involved by the CARD system, as decribed in the wiki:
https://wiki.neogeodev.org/index.php?title=CARD
But how to make a bios call to CARD ($C00468) ?
The text was updated successfully, but these errors were encountered: