I decided to publish my PC version of the PRG to TAP conversion tool as it might come handy to somebody else too.
You can grab the executable for Windows (32/64 bits) at this link.
The one feature worth underlying is the ability to provide a hex string for the CBM ROM file name so that interesting effects can be achieved by using PETSCII control codes such as $93 to clear the screen, $05 to change the text color to white, etc.
An example.prg file is provided within the archive at the above download link. For an interesting use of PETSCII control codes you might want to try the following:
prg2tap.exe -h "930548454c4c4f20574f524c4421" example.prg helloworld.tap
See what happens when you load the resulting TAP file 🙂
Here’s the output on usage from the tool itself, for reference:
PRG to TAP version 1 generator V1.1 - (C) 2016 Luigi Di Fraia Converts a PRG file into a TAP file using the CBM ROM loader Usage: prg2tap.exe [options] "<PRG filename>" "<TAP filename>" Options: -n "<ASCII name>": sets the CBM ROM filename to <name> -h "<hex string>": sets the CBM ROM filename to <hex string> Examples: prg2tap.exe -n "HELLO WORLD!" example.prg helloworld.tap prg2tap.exe -h "930548454c4c4f20574f524c4421" example.prg helloworld.tap Notes: PETSCII codes can be part of the <hex string> for advanced uses The resulting CBM ROM file will be non-relocatable (type 3) PETSCII codes of interest (full listing at http://sta.c64.org/cbm64pet.html): 05: white 08: disable shift+C= 0e: switch charset to lo/up 12: reverse on 13: home 1c: red 1e: green 1f: blue 81: orange 8e: switch charset to up/gfx 90: black 92: reverse off 93: clear 95: brown 96: pink 97: dark grey 98: grey 99: light green 9a: light blue 9b: light grey 9c: purple 9e: yellow 9f: cyan