Txt to Raw and Raw to Txt
Re: Txt to Raw and Raw to Txt
You can also use the PC version of free42. It will export/import a program as .raw, and copy/paste from the display as .txt. The .txt will have line numbers that you can strip using an editor like geany.
HP50G HP35s Free42 DM42.
Testing WP43S, C43.
Testing WP43S, C43.
Re: Txt to Raw and Raw to Txt
So it's not perfect, but I finally got around to writing an encoder in Python to convert programs to raw files. Maybe I will add decoding to it at some point, though I hope Swiss Micros just enables text import/export of programs directly on the DM42. It is already built into Free42 after all.
I make no guarantees to the quality of the code. I did test it some on programs I've written as well as the 'stress.txt' program on the Free42 website.
https://github.com/tgray/dm42coder
I make no guarantees to the quality of the code. I did test it some on programs I've written as well as the 'stress.txt' program on the Free42 website.
https://github.com/tgray/dm42coder