Page 1 of 1

New community dev tool uploaded: libX16

Posted: Sun Jul 12, 2020 3:54 am
by ChrisL


libX16


View File





libX16 is a utility library for those using C with the CC65 toolchain for the Commander X16.  Library documentation is available from the github page: https://github.com/CJLove/libX16.  Currently it supports loading/saving files to banked RAM and VRAM, playing sound data for the YM2151, and providing a VERA header file with additional constant definitions beyond those provided by CC65.



This is a beta v0.1.0 release of libX16 for the Commander X16 rom version r37 and CC65.



The attached artifact includes the library header files and library file for linking.



Alternatively the library can be referenced as a git submodule in a github repo via the .gitmodules file:



[submodule "libX16"]
path = libX16
url = https://github.com/CJLove/libX16







 


New community dev tool uploaded: libX16

Posted: Sun Jul 12, 2020 4:24 am
by SlithyMatt

Have you considered doing a pull request to get this into the cc65 baseline?


New community dev tool uploaded: libX16

Posted: Sun Jul 12, 2020 12:58 pm
by ChrisL


8 hours ago, SlithyMatt said:




Have you considered doing a pull request to get this into the cc65 baseline?



While the library and the X16 rom/emulator have been under development and changing it's been nice for the library to be decoupled from cc65.  That certainly could be considered once things stabilize.