- Replace
raw c64 character set
with the file name of your raw binary Commodore 64 character set. - Paste the results into the dialog for the "import raw byte stream" prompt on the PETSCII Editor site by Krisztián Tóth.
cat "raw c64 character set" | \
od -v -j 2 -t xC | \
sed \
-e 's/^.......//g' \
-e 's/ */ /g' \
-e 's/\([a-f0-9][a-f0-9]\)/\$\1, /g' \
-e 's/^ //' \
-e 's/ */ /g' | \
tr -d '\n' | \
sed 's/, $//' | \
pbcopy