|
Post by cagroundhog on Apr 12, 2018 3:05:07 GMT
Hello, I just finished creating a set of library functions that can be used to create blank D64 images, load data, load directories, load header, save data, save directories, save the header, scratch files, print a chain of data blocks associated with a file, report free space remaining in a disk image, read and alter the BAM and copy files between D64 images. It has full documentation of the commands on github. Here is the link: github.com/firebreathinggroundhog/d64clibrary.gitIt is still very new, so any bugs that are found I'd appreciate the info on. I wrote the set of functions using Open Watcom C 1.9 but I am pretty sure they are highly portable to any C compiler. Any feedback is welcome and keep on rockin the C128 my Commodore comrades! Smile
|
|
|
Post by hydrophilic on Apr 12, 2018 5:25:18 GMT
I've used code from D64Editor (in VBasic) and looked at the VICE code (C) for their C1541 utility. Both of those code bases are pretty easy to understand (high-level language). I've also use the Atmega(?) assembly files of Jim Brain's uIEC drive before (a bit complicated because a mix of C and Assembly). So I was interested to take a look at your GitHub Library...
But it looks like you fouled up the URL in your post. I get a pseudo-404 error "Not Found" from GitHub when I click your link. Can you fix the link so we can test your library?
|
|
|
Post by cagroundhog on Apr 12, 2018 12:30:06 GMT
Thanks for finding that error on here. I updated the link.
|
|