Post Reply 
HP41 Card Reader bug in conjunction with X-Memory
07-30-2019, 10:37 PM (This post was last modified: 07-30-2019 10:39 PM by Sylvain Cote.)
Post: #2
RE: HP41 Card Reader bug in conjunction with X-Memory
(07-29-2019 04:40 PM)Thott Wrote:  Is this a known bug?
I am sure Keith Jarret has validated the bug before publishing it in his 1983 book and I pretty sure that most of the old timer (and younger) has read his book, so I would say yes!

This is the book original English text:
Code:
             HP-41 EXTENDED FUNCTIONS MADE EASY
              By Keith Jarett,  1983 SYNTHETIX

                         APPENDIX A
                  The VER and 7CLREG bugs

     If your card reader is a revision 1G or higher, you may 
skip to the discussion of the 7CLREG bug on the next page. 
To find out which revision you have, run Catalog 2. If you 
see one of these headers:
        CARD READER 
        CARD RDR 1D 
        CARD RDR 1E 
        CARD RDR 1F
then your card reader has the VER bug. If you see 
        CARD RDR 1G
then your card reader does not have the VER bug.

    Here is the full story on the VER bug (for card readers
up to 1F). When the card reader's VER (verify) function is 
executed with an extended memory module plugged into port 2 
(port numbers are shown on the bottom of your HP-41 next to
the serial number), the first register of that module will be 
altered. The same warning applies to having an extended 
memory module plugged into port 4 of a port extender or built 
into a dual Extended Memory module (see Appendix C).

    When you use VER under these conditions, one register 
(decimal location 1007) of your data or program information in 
extended memory will be incorrect, unless there was no data in 
the port 2 module. It is even possible that the altered
register will be a file header register, disrupting the ex- 
tended memory directory.

    If this discussion is not completely clear to you, come 
back to it after you read Chapters 2 and Section 10C. For the 
present, just refrain from executing the card reader function 
VER if you have an extended memory module in port 2. If you 
must have an XMemory module in port 2, at least make sure that 
the module in port 1 or 3 will be filled before the one in
port 2 is used. This is easy to do:
    1) If you have only one XMemory module, put it in port 1
       or 3.
    2) If you have two XMemory modules, install them at the same
       time (while the calculator is turned off, of course).

If you follow this procedure, the register affected by VER 
will be the 366th register of extended memory. If you add up 
the file sizes shown in the extended memory directory and add 
2 more registers for each file header, you can figure out 
which file contains the 366th register. That file should be 
checked or purged after a VER operation. If the 366th regis- 
ter is the second of the two header registers for a file, that 
file and all the following files will probably be lost. This 
paragraph will become clear after you read Section 10C.

    Now for the good news. It is possible to completely 
eliminate the destruction of the 366th extended memory regis- 
ter. The synthetic program "VER" introduced in Section 10D 
does the job, in less time than it takes to press XEQ "VER".
If you have a port extender (Appendix C), another technique is 
almost as handy. Just switch off all XFunction and XMemory 
modules before executing VER.

    All card readers have the 7CLREG bug. The card reader's 
7CLREG function is intended to simulate the HP-67/97 CLREG 
function. This 7CLREG function can ruin an entire module of 
extended memory. I f you execute 7CLREG when the SIZE is less 
than 25, some of the data near register 360 of extended memory 
will be lost. This assumes that the recommended module plug- 
in procedure was used, so that the module in port 1 or 3 
contains register 365 as its last register. In addition, 
7CLREG is likely to cause all extended memory data starting at 
register 366 to become inaccessible. The solution is to avoid 
using 7CLREG, or to precede it with the sequence SIZE?, 25, 
X>Y?, PSIZE (see pages 74-75) to ensure a SIZE of at least 25.

APPENDIX C: AME Port-X-Tender: picture 1 & picture 2 (referenced in the above text)
Code:
    The AME Port-X-Tender, a flat, thin box that fits under the 
HP-41 and adds six more plug-in positions, for a total of ten. 
The 6 extra slots can be used for any modules or peripherals, 
including the HP-IL module. These extra slots are switchable,
allowing you to switch between two sets of extended memory if 
you have an HP-41C or CV (this will not work with the CX 
because some of the extended memory is internal and cannot be 
switched). A lithium battery maintains the contents of all 
modules, whether switched on or not. The Port-X-Tender plugs 
into port 3 with a short cable. The box is held in place with 
fabric fasteners. No modifications to your HP-41 are required.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP41 Card Reader bug in conjunction with X-Memory - Sylvain Cote - 07-30-2019 10:37 PM



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