![]() |
HP 41 Mcode related Questions - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: HP 41 Mcode related Questions (/thread-243330.html) |
HP 41 Mcode related Questions - Michael Fehlhammer - 05-10-2013 Some 30 years ago I wrote an mcode routine that changed the behaviour of the SST function (continuous SST); the routine wasn't implemented as a normal function, but directly integrated (hooked) into the operating system, replacing the normal SST function.
What would be the easiest way to realize such a function? Where can I find a book or an article that describes entry points to the OS in detail, and that provides a "how to do" description as well? Re: HP 41 Mcode related Questions - Ángel Martin - 05-10-2013 Michael, here are two pointers for your search:- First the VASM listings is a fundamental must, and the good news is that they're now available in a much better format than ever, thanks to Jackie Woldering's contribution in TOS (worth downloading). Second, there's a pair of functions that may be doing exactly the same you describe, although not integrated in the OS. I included them in the TOOLBOX rom, took them from the NFC ROM so I assumed were written by Nelson F. Crowle. The functions are SST^ and BST^ Hope this helps, let me know if you can't get the references, I can email them to you.
Cheers,
Edited: 10 May 2013, 10:28 a.m.
Re: HP 41 Mcode related Questions - Thomas Klemm - 05-10-2013 Pst, it's save to link directly to the
Cheers Re: HP 41 Mcode related Questions - Håkan Thörngren - 05-10-2013 I believe there was a CSST function published in some PPC calculator journal. That may be of some use. As mentioned before, the VASM listing is the way to figure it out. I am also impressed that you implemented such routine as a keyboard extension, I did not think it was possible without resorting to page 4 programming. The SST key works in different ways depending on whether the calculator is in program mode, in stopped run mode or stopped showing a catalog.
I improved catalog 1-6 about 30 years ago and I think that I added continuous SST at least to catalog 1 and possibly some others, but not all of them.
Re: HP 41 Mcode related Questions - Michael Fehlhammer - 05-10-2013 Thank you Angel, Thomas and Hakan for your hints!
I know that there are a few continuous SSTs around in several modules, but I am interested only in mechanisms of hooking the operating system. I hoped there were some more articles or example programs, but obviously that's not the case. |