[VG5000] struggling on converting binary files to k7
Publié : 28 juil. 2013 00:17
hi,
as a next step on the VG5000 development, i started trying to code a binary to .k7 converter - it would embed a binary file into a .k7 image tape (i did a similar converter for zx-spectrum .tap file once) - for that converter, i used sdlBasic on Linux (later i'll recode it on Python)
http://pastebin.com/EBCM2aCg
the source and the result is in the attachment - and when i try to load the .k7 file with cload, it shows an error message "Ligne non définie" after "Trouvé:exampl"
maybe i needed to add a loader in Basic before, or enter "cload" in a different way? the idea would be about having that .bin file (compiled from Boriel's ZX-Basic Compiler) loaded and executed automatically, just like those good old games for VG5000 available in .k7 files as well
any ideas? thanks in advance!
as a next step on the VG5000 development, i started trying to code a binary to .k7 converter - it would embed a binary file into a .k7 image tape (i did a similar converter for zx-spectrum .tap file once) - for that converter, i used sdlBasic on Linux (later i'll recode it on Python)
http://pastebin.com/EBCM2aCg
the source and the result is in the attachment - and when i try to load the .k7 file with cload, it shows an error message "Ligne non définie" after "Trouvé:exampl"
maybe i needed to add a loader in Basic before, or enter "cload" in a different way? the idea would be about having that .bin file (compiled from Boriel's ZX-Basic Compiler) loaded and executed automatically, just like those good old games for VG5000 available in .k7 files as well
any ideas? thanks in advance!