Skip to content

Instantly share code, notes, and snippets.

@gnacu
Created May 7, 2024 23:29
Show Gist options
  • Save gnacu/1e9e4709b0c0a711ade3107f9d777ad7 to your computer and use it in GitHub Desktop.
Save gnacu/1e9e4709b0c0a711ade3107f9d777ad7 to your computer and use it in GitHub Desktop.
10 print"ascii to petscii converter"
20 print"copyright to whoever wrote it"
30 print
40 input"source file";sf$
50 input"destination file";df$
60 dv=peek(186)
70 open2,dv,2,sf$+",s,r"
80 open3,dv,3,df$+",s,w"
85 rem --------------------------------
90 sys2000
95 rem -------------------------------
100 close2:close3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment