This page allows to convert a program saved by Torsten Manz 15C Simulator to the Touch RPN format, and vice-versa. The converter automatically detects the input format, and outputs the program in the other format.
Here is how to use it:
The main usage of this page is to export programs from our app to the 15C Simulator. You don't need this converter to open .15c files in the Web calculator, since it accepts the .15c format natively. The Android and iOS versions will accept .15c files as well, in the near future.
The Torsten Manz 15C Simulator can save programs to files, but the register values are not included. (By the way, the site has a nice library of .15c files, with instructions for each in HTML format.) The default file suffix is .15c. It is a text file, but encoded as UTF-16 LE, which is rather unusual.
Our app Touch RPN saves the whole memory (programs + registers) to JSON files, with extension .txt and ASCII encoding. The memory is valid even if omits some fields; so when a .15c memory is converted to .txt, it does not contain register values, only the converted program.
The conversion between formats is "dumb", that is, we don't do a strict validation of the opcodes. If the input file is corrupted or has invalid opcodes, the output may look correct but can yield wrong results or be completely unusable.
The calculator itself does more stringent checks on opcodes, and discards some invalid instructions; but there is still a chance it will choke, freeze or be left in an inconsistent state if it loads a corrupted or maliciously crafted program.
Given these facts, we cannot guarantee the correctness of the programs converted by this page, and we are not responsible by the results generated by them. Always double-check the results, in particular when they are used for critical decisions like financial operations, structural load calculations, etc.