Post Reply 
HP--92 Problem
07-27-2024, 07:20 AM
Post: #1
HP--92 Problem
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
Find all posts by this user
Quote this message in a reply
07-27-2024, 07:28 AM
Post: #2
RE: HP--92 Problem
Hi Tony

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

BR,


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
07-27-2024, 11:49 AM
Post: #3
RE: HP--92 Problem
Hello,Tony

My HP92 also return 8.10

HP35 HP45 HP55 HP65 HP67 HP21 HP25 HP29C HP19C HP97 HP10C HP11C HP12C HP15C HP16C HP31E HP32E HP33E HP33C HP34C HP37E HP38E HP38C HP41
Find all posts by this user
Quote this message in a reply
07-27-2024, 11:54 AM (This post was last modified: 07-27-2024 11:55 AM by teenix.)
Post: #4
RE: HP--92 Problem
(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
Find all posts by this user
Quote this message in a reply
07-29-2024, 12:21 AM
Post: #5
RE: HP--92 Problem
(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
Find all posts by this user
Quote this message in a reply
07-29-2024, 05:03 AM
Post: #6
RE: HP--92 Problem
Hello,Tony


It take some times not immediately.

HP35 HP45 HP55 HP65 HP67 HP21 HP25 HP29C HP19C HP97 HP10C HP11C HP12C HP15C HP16C HP31E HP32E HP33E HP33C HP34C HP37E HP38E HP38C HP41
Find all posts by this user
Quote this message in a reply
07-29-2024, 06:22 AM
Post: #7
RE: HP--92 Problem
Hi Tony,

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

BR.
Find all posts by this user
Quote this message in a reply
07-29-2024, 06:58 AM
Post: #8
RE: HP--92 Problem
Thanks for helping, I appreciate the effort

cheers

Tony
Find all posts by this user
Quote this message in a reply
07-29-2024, 09:40 AM
Post: #9
RE: HP--92 Problem
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
Find all posts by this user
Quote this message in a reply
Post Reply 




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