Gene, I think the best, albeit somewhat time-consuming, way to generate a listing is this:
1. Get the Math Pac MOD file from TOS--it comes with V41.
2. Convert the MOD file to ROM format using the modfile.exe utility, also from TOS.
3. Convert the ROM file to *.raw format using the rom2raw utility from Thomas Okken's Free42 site.
4. Using a clean instance of Free42 (i.e. back up and move any existing state files, since the menu will fill up with labels and we don't want to get confused), import the resultant *.raw file into Free42.
5. In Free42, PRP the "MATRIX" program from the menu, making sure that in Free42's preferences the "print to text file" or, on Palm, "print to Memo" options, whatever you desire, are selected.
Do all of this correctly, you get, voila, a text listing.
I already created the RAW file some time ago, so it took me just a moment to print and cut and paste the following for you. Please keep in mind that some of the commands are in their 42S versions (e.g. ISG ST X instead of ISG X and Rv instead of RDN), but this is easy enough to clean up if you ever want to. Also, since the program listing has just one END in it, I think that Leo Duran's hp41uc utility can be used to generate a text listing from the RAW listing in original HP41 format and nothing should be missed. I find that if a RAW file includes several routines with internal "END"s, the hp41uc decompiler will only convert up to the first END it hits. I also believe the issue occurs in the reverse situation of compiling a text to RAW file using hp41uc. Hence, I prefer to use PRP in Free42.
00 { 1032-Byte Prgm }
01>LBL "MATRIX"
02 2.01
03>LBL 15
04 CF IND ST X
05 ISG ST X
06 GTO 15
07 SF 04
08 SF 21
09 CF 29
10 "ORDER=?"
11 PROMPT
<snip>
551>LBL 32
552 SF 06
553 XEQ 18
554 STOP
555 FC?C 22
556 GTO 31
557 STO IND ST Y
558 GTO 32
559>LBL 02
560 FS?C 08
561 SF 05
562 GTO 19
563>LBL 14
564 1E3
565 รท
566 END
Is this sort of thing what you are looking for?
Les
P.S. If you have the "paid" version of P41CX, you can load the Math Pac ROM with the P41CXRM utility, the go into P41CX, set the program pointer to MATRIX with GTO ALPHA MATRIX ALPHA, then print the program listing to the Memo application with XEQ PRP ALPHA ALPHA, just as you would on the real calculator with printer or IR module attached--make sure that MAN is selected in the printer options menu. This will print out the 566 steps to two memos, which are easy enough to find on the Palm. Hotsync with your PC and you can cut and paste the listing right out of Palm Deskstop.
Edited: 30 May 2007, 9:52 p.m. after one or more responses were posted