How to save WP34s programs to a file?



#11

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?


#12

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.


#13

Thanks a lot Franz!

Converting the wp34s.dat file seems like the best solution. But when I tried copying from the printer emulator that didn't work. Am I missing something?

Cheers,
Harald


#14

Quote:
But when I tried copying from the printer emulator that didn't work. Am I missing something?

Well, the method with the printer isn't really a good solution. Doing it with the printer's menu option ('File>Save Data') saves it as a kind of binary file, so you can't use it for further editing.

Printing the program with 'prPROG' and then using the printer's option 'File>Copy' works (puts the progam listing into the clipboard), but as I already mentioned this doesn't work with special characters, so in fact it's not of much use.

Franz


#15

Because of the issue with the special characters I am not too bothered anyway, but my version of the printer emulator doesn't appear to have any menus. All I can find is a "clear" and a "quit" button.


#16

Quote:
Because of the issue with the special characters I am not too bothered anyway, but my version of the printer emulator doesn't appear to have any menus. All I can find is a "clear" and a "quit" button.

Maybe the printer included in the WP34s is not the latest version!?

I'm using the printer emulator (version 1.04) from Christoph's site:

http://hp.giesselink.com/hp82240b.htm

Franz


#17

Yes, that is definitely completely different.
Thanks for the link!

#18

... as mentioned on p.188 of the printed manual.

d:-)


#19

I know I should have ordered more of them. I was doing this at work and didn't have the book to hand ;)


#20

This shortcoming can be corrected most easily.

d;-)


Possibly Related Threads…
Thread Author Replies Views Last Post
  WP-34S (Emulator Program Load/Save) Barry Mead 1 1,878 12-09-2013, 05:29 PM
Last Post: Marcus von Cube, Germany
  Cannot delete file Les Koller 4 2,116 11-07-2013, 12:17 AM
Last Post: Les Koller
  File Format: hpprgm Thomas Chrapkiewicz 6 2,739 10-30-2013, 09:32 PM
Last Post: Thomas Chrapkiewicz
  HP Prime: CAS Variables - -How to save? Helge Gabert 2 1,906 10-27-2013, 11:26 PM
Last Post: Helge Gabert
  HP Prime Save Power Turn Off Not Working Timothy Roche 12 4,295 10-27-2013, 01:41 PM
Last Post: Michael de Estrada
  How to save the definition of a CAS program or CAS function ? dg1969 3 1,707 10-19-2013, 01:48 PM
Last Post: dg1969
  HP-Prime File extension Paul D. Fox 6 2,331 10-07-2013, 01:45 AM
Last Post: cyrille de Brébisson
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 1,458 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  How to use XnView to create .gro4 file as in OpenFire? arturfeghali 2 1,405 06-27-2013, 05:57 PM
Last Post: jerome ibanes
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 6,395 06-18-2013, 03:44 PM
Last Post: aurelio

Forum Jump: