HP Forums
HP--92 Problem - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP--92 Problem (/thread-22092.html)



HP--92 Problem - teenix - 07-27-2024 07:20 AM

Hi all,

A while ago I read the ROM from a HP-92 but in the process, I broke the ROM 0 chip. Luckily, I was still able to read the data from it, but the chip is not usable because of the wiring that broke away from the die when the case fractured.

I've been using my emulator which runs the HP code I extracted, and I was trying to execute the problem on page 62 of the User Guide.

If I enter the date 8.101977 and press [f][IS,ST] I get an error, but then the emulator fails to work properly. If I enter the MT date first then the IS,ST date, it seems to work.

Tech Talk:

The 97 has the same ROM size as the 92 which is $0000 to $BFFF. The address bits are 12 bits wide so the ACT can only access $0000 to $0FFF. To get around this, a Bank Switch statement is used in the code to switch from Bank 0 to Bank 1 to give the ACT access to $1000 to $1BFF.

Both the 92 and 97 use the same mechanism to return to Bank 0 which is to do a [go to] to any ROM address in the range ($1000 to $13FF), which has no code. So, a go to $1300 instruction causes the next instruction to be fetched from $0301.

The 97 does not use a Bank Switch to get back to Bank 0. However, there is a single Bank Switch instruction in the 92 code in Bank 1 at address $1451. This causes the ROMs to switch back to Bank 0 and the next instruction is fetched at address $0452 which is a subroutine return. I thought this may be the problem, but the 92 has many subroutines that use this particular code, and all other functions appear to work ok when this executes.

I can probably guess that the manual is correct, but if anyone has a 92 and feels like dusting it off for a few minutes and connecting a battery, could you try out the problem by entering 8.101977 [f] [IS,ST] as mentioned in the text. You should see 8.10 on the display

If not, no worries, I'll have to stew on it for a while :-)

cheers

Tony


RE: HP--92 Problem - zixingcheche - 07-27-2024 07:28 AM

Hi Tony

I did the problem, it returned "8.10" on the display.

BR,


RE: HP--92 Problem - tangdfx - 07-27-2024 11:49 AM

Hello,Tony

My HP92 also return 8.10


RE: HP--92 Problem - teenix - 07-27-2024 11:54 AM

(07-27-2024 07:28 AM)zixingcheche Wrote:  Hi Tony
I did the problem, it returned "8.10" on the display.
BR,

Hello Bai and Tangdfx,

I thought that would be the case.

I might have a logic problem somewhere with the emulation. After trying for a while, it worked, then it doesn't again. This might be good, as maybe the ROM code is ok.

Many thanks for your help :-)

cheers

Tony


RE: HP--92 Problem - teenix - 07-29-2024 12:21 AM

(07-27-2024 07:28 AM)zixingcheche Wrote:  Hi Tony
I did the problem, it returned "8.10" on the display.
BR,

(07-27-2024 11:49 AM)tangdfx Wrote:  Hello,Tony
My HP92 also return 8.10

Hi guys,

I'm hoping I can impose on you again Smile

When you press the [ISST] button, does it take some time to process before displaying 8.10 or does it display immediately. This might help me narrow down the problem.

cheers

Tony


RE: HP--92 Problem - tangdfx - 07-29-2024 05:03 AM

Hello,Tony


It take some times not immediately.


RE: HP--92 Problem - zixingcheche - 07-29-2024 06:22 AM

Hi Tony,

It takes 1.5 seconds to get the result.(approx.)

BR.


RE: HP--92 Problem - teenix - 07-29-2024 06:58 AM

Thanks for helping, I appreciate the effort

cheers

Tony


RE: HP--92 Problem - teenix - 07-29-2024 09:40 AM

A sigh of relief. It looks like the data that was read from the ROMs turned out ok.

After much fiddling, it turned out to be some logic errors in the emulator.

It all seems to work now so I uploaded an updated 92 emulator to teenix.org

Thanks again for the help :-)

cheers

Tony