I have been looking over many issues of the PPC Journal and the Datafile as well as reading MCODE for Beginners. I have found some general utility functions that I have added that can assist while using MCODE. HEX-OCT, OCT-HEX (from MCODE for Beginners), ASRCH (from Datafile V8N2 used with the labels ROM), ROMSUM (fromDatafile V3N1 and I tried to get the "CALC" MCODE program to work but there must be some typo's in the code from Datafile V8N6.
Are there any other utility type programs that you may have used that assist with MCODE generation?
I am Currently using the DAVID-2C with Mainframe Labels.
Has anyone ever tried to get this "CALC" program to work?
This program calculates the Jump distances much like the User Code program in the HEPAX manual.
Please let me know your thoughts.
Thanks much,
Jeff
MCODE utility Programs
|
|
« Next Oldest | Next Newest »
|
▼
Post: #2
10-06-2007, 04:11 PM
▼
Post: #3
10-09-2007, 06:58 PM
Is there anyone out there that stills likes to program the HP-41 with MCODE? ▼
Post: #4
10-09-2007, 10:26 PM
Hi Jeff, Exactly what type of data and when? I ask when because there are some auto-prompts at entry. Mcode for Beginners covers these and devotes a large section to a hex data input function. Best ▼
Post: #5
10-14-2007, 11:58 AM
Thanks for all who responded. I am trying to write a MCODE program to calculate the inductance of a coil. There are three inputs, Coil Length, Coil Diameter and Number of turns on the coil. I have tried using some of the technics in the MCODE for Beginners that are used on the OCT-HEX and HEX-OCT programs. The best I can get is the Prompt to Flash in the display but it does not R/S. Below is the listing for this. I have found the PROMPT function in the VASM and it uses the XPROMP routine which prompts and R/S. I will be trying this this evening to see if this works. My goal would be to load directly to C and not have to use READ 3(x) to get the data to C. I would like the program to R/S with , for example, Coil Lg.? in the display. Then accept the number entered like 1.500" or 1.750" similar to the User Code PROMPT. Thanks Meindert for this great Disassembler in the Mldl2k software!
Post: #6
10-10-2007, 01:28 AM
Hi, Jeff; the only info (I think) I can add is to have a look at the AECROM listings and technics. I remember reading in the MCODE for beginners that a user-coded program may be 'disguised' as MCODE (function), so the calculator executes it as a function, although it behaves as a running program. If there is no restriction to what functions to use, data might be input thru PROMPT, I guess. Have no idea of what would happen if [PRGM] is pressed while the 'disguised' program is stopped. I mentioned the AECROM because some of its functions seem to be coded this way. My 2¢ (maybe 1¢...) Luiz (Brazil) |