New community dev tool uploaded: libX16

All aspects of programming on the Commander X16.
Post Reply
ChrisL
Posts: 30
Joined: Tue Apr 28, 2020 12:17 am

New community dev tool uploaded: libX16

Post 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







 

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: libX16

Post by SlithyMatt »


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

ChrisL
Posts: 30
Joined: Tue Apr 28, 2020 12:17 am

New community dev tool uploaded: libX16

Post 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.

Post Reply