Commodore ASCII File Converter


Write documents on your Commodore 8 bit machine
- transfer them to your modern PC.




By Anders Persson 2024

This is a text viewer or converter program to load Commodore 8-bit text files on your modern computer, to read them, to copy text to the clipboard or to save them as ASCII text files (.txt or .html).


Features

* CAFC can read Petscii files, SpeedScript files, Pocket Writer / Paperback Writer files and 3-plus-1 text files. (It can also read normal ASCII text files). See examples of programs using Petscii under "The supported text formats" below.

* In addition to stand alone .prg and .seq files, it can also read .p00 and .s00 files (encapsulated emulator or SD2IEC files).

* You can load files in three different ways: 1. By clicking on "Load" and selecting a file. 2. By dropping a file on the program window. 3. Through the command line interface. Number three makes it possible to use CAFC as the standard viewer app for the file types of your choice, for example .seq and .s00 files.

* Auto detection of file format.

* There are a number of options that are automatically set but that also can be changed manually, for example how many bytes to remove at the beginning of the file, if you want to remove margins, if you want to convert Swedish letters, if you want to add lines together and more.

* Your changes to the options are shown directly so that you will see how the text is affected in real time.

* The program is a Windows application but it has also been tested in WINE on Linux. (Only V1.0 was tested).

* There are two different versions included: A Swedish version and an English one. Other than the language of the user interface they also differ in the default settings regarding if Swedish characters are to be converted or not. It is however possible to do this with both.

* You can generate html or text. Pocket Writer text styles are maintained and converted into html. You can switch between viewing the html source code and how it would look in a web browser.

* Batch conversion: If you want to convert many files (or folders) in one go, then just mark a bunch of files and drop them in the program window. You will get a couple of questions of what you want to do.

* You can also convert and save a file through the command line interface. Read the info text in the CAFC window if you want to know how.

* An additional possible usage of CAFC is to convert normal (english) .txt files into .html.


Html mode tip
If you want to copy the text as formatted text / rich text instead of as html, then just mark the text in the CAFC window and then press Ctrl-C. Then you can paste the text with all text styles intact into Word or into your Facebook post etc.

Print / Convert to Pdf
You can print the document by pressing the "Print" button. Print setup dialogs will then be shown. You can set margins etc. By selecting "Microsoft Print to PDF" as the printer you can also convert your document to Pdf.
If you want a specific font, then use the "Font" button before klicking on "Print".
Tip: If you put CAFC on your SD2IEC SD card, then you can write documents on your retro computer and then put the SD card in a windows computer and print out the document directly by running CAFC from the same SD card.


The supported text formats

Petcsii
This is the standard mixed case character set for the 8-bit Commodores. Example of programs using Petscii text are: Notepad in The Final Cartridge, Easy Script / Text 64 (Handic), InterWord, DirPlus Notes, print files intended for Commodore printers, text written with the PRINT# command from Basic, and many more.

SpeedScript
This is a program available for all Commodore 8 bit home computers. It's a pretty reasonable text editor once you have learned the special keys.

Pocket Writer / Paperback Writer
This is a program for the C128 and C64. The text you are reading right now is actually written in Pocket Writer 3 in 80 column mode on a C128 and then converted with CAFC. Pocket Writer even has mouse support which makes it intuitive to use. CAFC can convert Pocket Writer's text styles into html and show it directly.

3-plus-1 Word processor
This is the text editor that is built into the Commodore Plus/4.



Download

cafc420.zip (V4.20) --- There is now a Font button to change the font of the text. This is useful if you want another font when converting to html or when printing / saving a PDF.

cafc410.zip (V4.10) --- Added the possibility to print.

cafc400.zip (V4.00) --- The plus and minus buttons for text zooming now also affects the html display/code right away. The checkbox "Show as web browser" was changed into "html mode" which now also switches the "Cenerate html" checkbox, but not the other way around. All controls are now enabled from start to help if you want to change settings before doing a batch conversion. If the batch conversion gets folders to convert, it now asks if you want to include all folders and subfolders or if you want to decide for every folder. Changed batch progress display. Various fixes and changes.

cafc311.zip (V3.11) --- Some minor changes in wording.

cafc310.zip (V3.10) --- In addition to files, you can now also drop folders in the window to batch convert all files in them. You will get a question for every sub folder if you want to include it or not.

cafc300.zip (V3.00) --- You can convert many files in one go. Just mark a bunch of files and drop them in the program window. You will get a couple of questions of what you want to do. You can now also convert a file through the command line interface. Read the info text in the CAFC window if you want to know how. Improved pop-up behaviour. New detection between Petscii and Ascii/None.

cafc200.zip (V2.00) --- You can now generate html or text. Pocket Writer text styles are maintained and converted into html. You can switch between viewing the html source code and how it would look in a web browser.

cafc120.zip (V1.20) --- Pocket Writer text formatting codes are now filtered away.

cafc110.zip (V1.10) --- Added colon conversion for Swedish PocketWriter. Esthetic changes to the GUI.

cafc101.zip (V1.01) --- This second release includes some fixes, mostly in the GUI on some displays.

cafc100.zip (V1.00) --- First release.




Also try:

PRG Starter

My Commodore 8 bit software







Copyright(C) 2024
by Anders Persson
Boray Software