HP50 How to turn on or off some indicators ?
|
03-23-2017, 04:40 PM
Post: #1
|
|||
|
|||
HP50 How to turn on or off some indicators ?
At the address #0010Ch there is a nibble, and the value of its bits can
be used to turn on or off some indicators: bit number function 0 busy indicator (1=on, 0=off) 1 transmit indicator (1=on, 0=off) 2 ? 3 show indicators? (1=on, 0=off) So if I want to turn off the busy indicator, I have to read the nibble at #0010C, turn its bits 0 to 0, and then leave. Well it does nothing on HP 50g, does anybody know how to turn off indicators on this calc ? Thanks, sunhp |
|||
03-24-2017, 02:22 AM
Post: #2
|
|||
|
|||
RE: HP50 How to turn on or off some indicators ?
(03-23-2017 04:40 PM)sunhp Wrote: Well it does nothing on HP 50g, does anybody know how to turn off indicators on this calc ? The 50g O/S requires at least two different memory locations to be altered for changing the annunciators. In the case of the alert indicator, it's actually three (usually). The source code below will compile with Debug4x -- you may need to alter it somewhat depending on your particular environment. It should give you the gist of what you need, though. It's basically a SysRPL program with embedded Saturn code objects that simply turns on all the annunciators, waits 5 seconds, then turns them back off before exiting. Certain built-in operations inherently change the annunciators' status, so be aware that your code may have to deal with changes if you need them to remain set or cleared. Hope this helps! - David Code: ASSEMBLEM |
|||
03-24-2017, 09:11 PM
Post: #3
|
|||
|
|||
RE: HP50 How to turn on or off some indicators ?
Excellent, thank you very much DavidM !
How did you discovered that ? |
|||
03-24-2017, 11:51 PM
Post: #4
|
|||
|
|||
RE: HP50 How to turn on or off some indicators ?
I no longer have a source reference for this, but I'm fairly sure that it was pieced together from a combination of snooping around in Suprom49.a (included with Debug4x) along with some judicious searching of the comp.sys.hp48 newsgroup. The tidbit about setting the PASTDUE flag was definitely a clue from a post to that newsgroup, probably this one from Jonathan Busby.
I'll confess that I usually search that newsgroup first when looking for programming hints related to the 48-50 systems. There's a wealth of knowledge there, provided you've got the time to weed through it. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)