Re: How to save WP34s programs to a file? Message #2 Posted by fhub on 25 Apr 2013, 1:56 p.m., in response to message #1 by Harald
Quote:
I finally go round to playing with the emulator. I successfully transmitted programs from the real device to the emulator. But how can I save them to a file from the emulator?
Hi Harald,
if your program is in the RAM then it's automatically stored in the file 'wp34s.dat' when you close the emulator.
Then you can convert this binary file to a textfile with Neill's assembler with the following command:
wp34s_asm wp34s.dat -dis >textfile
I've just tried an other method by printing the program to Christoph's printer emulation HP82240B.exe and then copy&paste the program listing to any textfile.
In principle this method is also working, but unfortunately the text-output of the printer doesn't display all WP34s commands correctly (e.g. superscripts) - these commands are only displayed correctly on the printer's graphic output, but this can't be copied to a textfile.
Edit: I just remembered an other method that I've use long time ago.
You can also get a listing of all programs in the RAM with Pauli's commandline version 'wp34s.exe' - just enter the following command:
wp34s ram >textfile
The only problem of this method is that the resulting listing also contains the opcodes in the 2nd column.
Franz
Edited: 25 Apr 2013, 2:14 p.m.
|