3Fermer5
VasiliyFamiliyaLe 23/12/2020 à 03:51
NeoGeoFreak2004 (./3):
Thanks man but can you please make a tutorial on how to build and use the sdk?

Sebastian Mihai's SDK is archived in finished form already, so it doesn't requre a preliminary building (at most, you can use build-libs and build-samples .bat files after unpacking). After that you need to add an integration with DATlib.
Here is an instruction how to install DATlib from official manual:
To install required files, merge the content of the archive’s “NeoDev” folder with your current NeoDev installation.
DATlib is designed to supersede libvideo and libinput, make sure your remove those from your linker options in your project makefile and add DATlib library (remove‐lvideoand‐linput, add‐lDATlib).

IE:
LIBS= ‐lvideo ‐linput ‐lprocess ‐lc–lgcc
becomes
LIBS= ‐lDATlib ‐lprocess ‐lc ‐lgcc

Add <input.h> and <DATlib.h> in your program includes.
If you use BuildChar to convert your data into tilemaps (most likely you will), also add the .h files made by it to your project.

Use the provided common_crt0_cart.s and crt0_cart.s file for your project, replacing older ones. (common_crt0_cd.s and crt0_cd.s for CD projects).