QPI for the HP-42S



#2

This is just a short note to tell that I have just uploaded the latest version of QPI for the HP-42S at the following URL:

http://w1.322.telia.com/~u32220482/qpi42s.html

Best regards,
Erik Ehrling (Sweden)


#3

Where did you get the font you used for the program listing?

Regards, Juergen


#4

Hi Juergen!

The listing is just made up of a series of screen-shots from Emu42 (so in a sense the underlying font is the real HP-42S font, although it is not made using a font per se), however if anyone could recommend a good program to construct a font from bitmaps it would not be much work to convert it into a real font.

Best regards!
/Erik

#5

Look in here for some nice fonts produced by Luiz:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=286

#6

Lines 381 and 383 should not be there; they cannot be correct. 

RCL "T_QPI"
RCL "Z_QPI"
RCL "Y_QPI"
RCL "X_QPI"

fills the stack

Cheers, Werner


#7

Hi Werner!

Certainly the lines should be there! The lines 2-12 at the start of the program stores the contents of the stack (and all registers). The corresponding lines 376-391 at the end of the program restores the stack (and all registers). This way program encapsulation is achieved on the HP-42S! Further, this allows you to run QPI in the middle of a calculation and then continue the calculation after QPI has run!

Best regards,
Erik Ehrling (Sweden)


#8

No, Werner is right, I've noticed this too. The lines 381 and 383 are too much. Consider: If you do

RCL "T_QPI"
STO ST_T

you will restore the saved T register contents directly to T. But if you now execute

RCL "Z_QPI"

the stack is lifted and the contents of T are lost. Instead you should just do

RCL "T_QPI"
RCL "Z_QPI"
RCL "Y_QPI"
RCL "X_QPI"

as Werner suggests, and the entire stack will be restored.

Cheers, Victor


#9

Oh yes! The lines are redundant (even though the program works perfectly with the lines in place as well...). Thanks!

Regards,
Erik


Possibly Related Threads...
Thread Author Replies Views Last Post
  QPI for HP Prime Han 16 2,180 11-09-2013, 10:39 PM
Last Post: Timothy Roche
  [HP-PRIME] QPI project CompSystems 0 394 10-09-2013, 02:51 PM
Last Post: CompSystems
  42s questions and 42s vs 35s snaggs 13 2,243 09-19-2011, 02:44 AM
Last Post: snaggs
  hp50g Getting \->Qpi to work in a custom menu Rich Messeder (US) 1 410 02-07-2007, 08:54 PM
Last Post: Rich Messeder (US)
  QPI for HP42S Erik Ehrling (Sweden) 0 311 11-03-2002, 06:29 PM
Last Post: Erik Ehrling (Sweden)
  Erik Ehrling (Sweden) and QPI for HP-42S erwin 1 435 10-30-2002, 06:11 AM
Last Post: Erik Ehrling (Sweden)

Forum Jump: