Post Reply 
(42S) Programmable Speed-Up in User Code
05-04-2017, 03:05 AM (This post was last modified: 06-15-2017 01:48 PM by Gene.)
Post: #1
(42S) Programmable Speed-Up in User Code
[The following was posted by Chris Bunsen (d. 31 January 2013) on the comp.sys.handhelds newsgroup on 13 September 1991. It appears here as a kind of tribute to his memory. -jkh-]

My my my.... So nice to hear about happy HP-42 owners. The HP-42 was a true labor of love,
(arent they all?) ..
In that light, here's a little jewel that demonstrates a programmable speed-up in
USER code. I will not/can not/please dont ask me/ explain how come it works, but
it was a lot of fun. By the way, the little bugger has more matrix functions and
abilities than ANY OTHER HP handheld.

1  LBL TT        test
2  BEEP
3  XEQ TURBO
4  BEEP
5  TONE 9
6  RTN

7  LBL TURBO
8  "////"        Four Divide keys
9  111           Rate + 16 * Cont[0:3]  Rate = 15; Cont = 16h
10 XTOA
11 160           Dtst + 16 * Dcont      Dtst = 0; Dcont = 0Ah
12 XTOA
12.5 _"////"     (Untested)--finish filling out ALPHA number with 0s
13 20360         Magic constant to recall Alpha reg as a real
14 8124          Magic constant to store a Complex number over Ctl regs
15 RCL REGS      save REGS
16 CLV REGS      Create bug which allows peek/poke
17 SF 25
18 CLsigma       Now REGS doesn't and does exist!
19 RCL IND ST Z  Recall Alpha data as number
20 1,000,077     Will store complex--must keep timers going
21 RECT
22 COMPLEX
23 STO IND ST Z  Store magic numbers into HDWR registers
24 X<>Y          get REGS back
25 STO REGS
26 END


After running, CPU will run faster. ON key for any reason will restore
slower rate. Batteries don't last long under this regime, and die sooner--
in fact operation is not guaranteed at all.

I had to fix the bug that made this possible; I think the REV Bs and REV C are
"FIXED", but all REV As Ive tried will respond well.... Smile Smile

Keep on enjoying our products,
Thank you thank you thank you,
Chris "RPN LIVES" Bunsen
HP -Calc Lab
Corvallis, OR

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2017, 06:20 AM
Post: #2
RE: (42S) Programmable Speed-Up in User Code
It doesn't work in Free42!! ;-)

Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
05-04-2017, 12:45 PM
Post: #3
RE: (42S) Programmable Speed-Up in User Code
(05-04-2017 06:20 AM)Werner Wrote:  It doesn't work in Free42!! ;-)

LOL! Free42 must have been based on Rev C. Wink

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
05-04-2017, 04:39 PM (This post was last modified: 05-04-2017 09:23 PM by anetzer.)
Post: #4
RE: (42S) Programmable Speed-Up in User Code
Can anyone please educate me about step 12.5? How is it entered?

Plus one question out of sheer laziness: How does one check which Rev. a calc belongs to?

Thanks!

a
Find all posts by this user
Quote this message in a reply
05-04-2017, 05:01 PM
Post: #5
RE: (42S) Programmable Speed-Up in User Code
(05-04-2017 04:39 PM)anetzer Wrote:  Plus one question out of sheer laziness: How does one check which Rev. a calc belongs to?

For the HP-42S: http://www.hpmuseum.org/cgi-sys/cgiwrap/...read=73353
Find all posts by this user
Quote this message in a reply
05-05-2017, 06:23 PM
Post: #6
RE: (42S) Programmable Speed-Up in User Code
Probably the same effect as described here: HP-42S Fast Mode under program control

I once made a short video about this trick, see HP-42S Fast Mode

Anybody out there if that works also for the 17B(II) und 27S?
Find all posts by this user
Quote this message in a reply
05-05-2017, 06:55 PM
Post: #7
RE: (42S) Programmable Speed-Up in User Code
Woohoo. someone referenced that web page of mine from a LONG time ago now. :-)
Find all posts by this user
Quote this message in a reply
05-05-2017, 07:33 PM
Post: #8
RE: (42S) Programmable Speed-Up in User Code
OT: Gene you should have it in the signature. I'm going to read it and putting it in the wiki4hp

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
05-10-2017, 07:28 AM
Post: #9
RE: (42S) Programmable Speed-Up in User Code
(05-04-2017 04:39 PM)anetzer Wrote:  Can anyone please educate me about step 12.5? How is it entered?

Plus one question out of sheer laziness: How does one check which Rev. a calc belongs to?

Thanks!

a

It's append to the existing alpha contents:

├”////”
Find all posts by this user
Quote this message in a reply
05-10-2017, 04:13 PM
Post: #10
RE: (42S) Programmable Speed-Up in User Code
Thank you all!
a.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)