Easiest / fastest way to convert program in Geos

  • Hi,

    I'm doing some minor cross compiling attempts and need to transfer the compiled GEOS program from my Linux PC to a C64 running GEOS.

    I'm not sure if my current method makes any sense at all - if there is an obviously faster way to do this I'd be very happy for any hints.

    So, currently I've got a 1581 disk drive where the mechanics has been replaced with a Gotek.

    Gotek is taking the D81 disk images from a Raspberry PI Zero W. This Raspberry has been configured to imitate a USB drive and it is also accessible in

    my wifi network.

    So, the compile script in the PC copies the generated prg into a GEOS.D81 image using c1541 app (c1541 -attach geos.d81 -write myprogram.prg)

    and then the script copies it over SSH to Raspberry Zero and it is therefore accessible immediately in the C64 which is running GEOS.

    However, I still need to launch the Convert 2.5 application in GEOS, search for the "myprogram.prg", convert it and then quit the convert.

    Not terrible but I'd rather have the convert -part shorter if possible.

    I wonder if any of these would be feasible, for example :

    1) c1541 does have "-geoswrite" -option which is supposed to convert the file directly into GEOS format but I have never managed to get that working...

    Does anyone know if it should work?

    2) Is it somehow possible to modify current convert 2.5 GEOS app so, that it would, for example, read the file to be converted from a cfg file or something

    and would then convert it and quit? So, you would only need to execute it and no need to go through menus to find the file.

    3) Is there a way to make the myprogram.prg as "self converting" already in the PC side? So, once you execute it in GEOS it would convert it self automatically into GEOS format?

    -Timo