[wp34s] A Short Wish List



#6

Occurred to me I would love to see some capacity to APPEND a program to flash memory, I guess like HSAVEP in the HEPAX module. (HEPAX is a better analogy than HP41 extended memory, because in that case you can't run programs from extended memory, only archive them.)

Also, it would be neat to write up a program listing following some standard syntax in a simple text file that could be compiled to a format readable by the wp34s emulator so that the program could be manipulated back and forth by the serial commands like RECV, SENDA, etc

Just saying :D

Les


#7

Quote:
Occurred to me I would love to see some capacity to APPEND a program to flash memory, I guess like HSAVEP in the HEPAX module. (HEPAX is a better analogy than HP41 extended memory, because in that case you can't run programs from extended memory, only archive them.)

Something like this is planned and a major driving force for the implementation of the END command.


Quote:
Also, it would be neat to write up a program listing following some standard syntax in a simple text file that could be compiled to a format readable by the wp34s emulator so that the program could be manipulated back and forth by the serial commands like RECV, SENDA, etc

Isn't this possible already?

The emulator takes the same binary image files as the calculator and things can be transferred between the emulator and the real device via the serial commands or the programming cable.

The assembler works both as an assembler and a disassembler, thus it can be used to produce a canonical text representation of programs.


- Pauli


#8

I have never worked with the assembler!

I feel silly--should've researched that more.

I will explore that and see how I get along. It would be so neat for users to swap programs in text and binary form to get into the calc via the emulator.

Les


#9

Typically text form would be prefered since the binary image will not always be compatible between calculator revisions. The opcodes can change between various revisions of the calculator. Actually this was the original impetus for the assembler/disassembler.

Additionally, the text form allows commenting, etc.

While some mnemonics have changed a occasionally, they have been pretty stable lately.

You will already find a reasonable collection of user programs in the library directory of the SVN load. More are probably welcome.


#10

Okay--I am apprehending this at a pretty novice level right now.

From what I see the assembler takes a text file in the appropriate syntax and spits out a *.dat file which, if given the appropriate name and dropped into the emulator home directory (or, alternately, concatenated with calc.bin via "join" and flashed to the calculator) for running, copying to and from flash on the emulator, moving over to the calc via SEND* and the cable, etc.

This is only slightly more complicated than using hp41uc to create *.raw files from text to get into HP41C and HP42S emulators and or, in my case a lot, may barcode files for laser printing, wanding into the calc, the writing to cards.

I will play with the assembler in the days to come. I broke a pin on the plug of my cable so I am awaiting the replacement from Gene, so I will have to wait to see i things move over to the real calc okay.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime - Short "learning" modules CR Haeger 1 202 11-27-2013, 02:13 PM
Last Post: Jonathan Cameron
  I have written a short introduction to the HP Prime Michael Carey 7 457 11-18-2013, 08:04 PM
Last Post: Michael Carey
  HP-Prime : Extracting elements from a list in RPN Miguel Toro 0 240 11-15-2013, 06:44 PM
Last Post: Miguel Toro
  [HP-Prime] Picking elements from a List in a program Jean-Michel 3 284 11-15-2013, 04:16 AM
Last Post: dg1969
  Hp PRIME - how to send a list to the connectivity Kit giancarlo 1 223 11-10-2013, 11:50 AM
Last Post: Tim Wessman
  How do I decompose a list with the HP Prime. Hal Bitton in Boise 4 293 11-08-2013, 02:07 PM
Last Post: Patrice
  HP-Prime/Xcas: vector/list indexing fhub 6 400 10-27-2013, 04:52 PM
Last Post: fhub
  HP-65 short circuit Ignacio Sánchez 2 241 10-22-2013, 08:27 AM
Last Post: Ignacio Sánchez Reig
  Hp prime list function - indexing into a list Andy B (Australia) 3 258 10-07-2013, 01:41 AM
Last Post: cyrille de Brébisson
  [HP-Prime CAS] list[x,y,z], vector[x, y, z ] ... data type operation? CompSystems 1 204 08-22-2013, 03:30 PM
Last Post: Joe Horn

Forum Jump: