Post Reply 
A ROM emulator for the 71B
11-06-2020, 08:52 PM (This post was last modified: 11-07-2020 06:34 PM by mfleming.)
Post: #1
A ROM emulator for the 71B
I thought some may be interested in a lockdown project I've been working the past four months or so. It is a PIC18 microcontroller-based ROM emulator for the 71B that can store multiple ROM images and serve up one image at a given time. In its present form the emulator resembles Diego's Clonix line of modules for the HP-41, except for the current single ROM at a time limitation. Here are a few images of the development setup and current board.

[Image: uc?export=view&id=1vikGt_9ipS_Ys...8amW9QeQuB]

I started this project because I wanted to try some of the available 71B ROMs, including J-F's new Math ROM. The problem of course is that most of the original ROM modules (when you can find them) often cost more than the 71B itself. A quick check of the specs for the PIC convinced me that it might work as a software emulator of a ROM module. It was quite a challenge to meet the timing requirements while at the same time figuring out just how the 71B bus works.

The reason you see rechargeable batteries is because the recommended maximum operating voltage of the PIC controller is 5.5 Volts, with an absolute maximum rating of 6.5 Volts. When used with the higher voltage alkaline batteries, the processor lifetime would likely be shortened. Four Eneloops keep things well within recommended operating conditions.

Power consumption is fairly reasonable, drawing about 3.8 mA when operating. The controller does switch to Sleep mode 2-1/2 minutes after the 71B is turned off, drawing less than a micro Amp of current.

I currently have the ROM images of the Circuit Analysis Pac, J-F's Math2B, Finance Pac, Text Editor, and Ampi Statistics Pac loaded in flash. Plugging and unplugging ROMs is done via a POKE command as shown below. I've run through the many examples in the Math and Finance manuals to make sure all is working correctly.

I believe there is sufficient timing slack to also support a hard configured ROM in addition to a soft ROM. Then the Forth and HP-41 Translator ROMs would also be available. Right now, flash is updated by a PICkit 3 programmer in much the same way as one of Diego's modules.

[Image: uc?export=view&id=1zr94SVkPXb-Vk...esD9VH9jq_]

I'm still something of an HP-71B newbie, but I know there is a large repository of LEX files maintained by Joe Horn. If someone could point me to documentation on making your own ROM image (and some favorite LEX files of your own!), I'd love to add a custom ROM to what I have now.

I must thank Diego Diaz for his Clonix module line for inspiration, J-F Garnier for answering questions on the 71B behavior, and especially Tony "teenix" Nixon for answering questions on PIC assembly programming. This has been quite a fun project and it now gives me plenty of motivation to learn the 71B in greater depth and detail!

~Mark

Edit: Add J-F for well deserved credit.

Remember kids, "In a democracy, you get the government you deserve."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A ROM emulator for the 71B - mfleming - 11-06-2020 08:52 PM
RE: A ROM emulator for the 71B - rprosperi - 11-06-2020, 09:58 PM
RE: A ROM emulator for the 71B - KimH - 11-07-2020, 03:49 PM
RE: A ROM emulator for the 71B - KimH - 11-07-2020, 05:18 PM
RE: A ROM emulator for the 71B - rprosperi - 11-07-2020, 07:19 PM
RE: A ROM emulator for the 71B - mfleming - 11-06-2020, 10:57 PM
RE: A ROM emulator for the 71B - twoweims - 11-07-2020, 01:52 AM
RE: A ROM emulator for the 71B - KimH - 11-07-2020, 03:52 PM
RE: A ROM emulator for the 71B - cdmackay - 11-07-2020, 12:45 AM
RE: A ROM emulator for the 71B - mfleming - 11-07-2020, 03:35 AM
RE: A ROM emulator for the 71B - rprosperi - 11-07-2020, 04:06 AM
RE: A ROM emulator for the 71B - mfleming - 11-07-2020, 07:07 PM
RE: A ROM emulator for the 71B - Sukiari - 11-08-2020, 12:07 AM
RE: A ROM emulator for the 71B - Harald - 11-08-2020, 12:06 PM
RE: A ROM emulator for the 71B - mfleming - 11-08-2020, 08:38 PM
RE: A ROM emulator for the 71B - EmmanuelC - 11-08-2020, 09:24 PM
RE: A ROM emulator for the 71B - Harald - 11-08-2020, 11:02 PM
RE: A ROM emulator for the 71B - mfleming - 11-27-2020, 12:00 AM
RE: A ROM emulator for the 71B - KimH - 11-30-2020, 05:08 PM
RE: A ROM emulator for the 71B - mfleming - 11-09-2020, 01:08 AM
RE: A ROM emulator for the 71B - Moggul - 11-10-2020, 08:12 AM
RE: A ROM emulator for the 71B - Sukiari - 11-27-2020, 12:18 AM
RE: A ROM emulator for the 71B - mfleming - 11-27-2020, 01:45 AM
RE: A ROM emulator for the 71B - Harald - 11-27-2020, 06:07 PM
RE: A ROM emulator for the 71B - mfleming - 11-27-2020, 10:58 PM
RE: A ROM emulator for the 71B - Kevin71B - 01-10-2021, 02:20 PM
RE: A ROM emulator for the 71B - mfleming - 01-17-2021, 01:31 AM
RE: A ROM emulator for the 71B - mfleming - 01-17-2021, 03:51 AM
RE: A ROM emulator for the 71B - mfleming - 01-17-2021, 04:35 AM



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