Re: How to UNPRIVATE a program in ROM on HP-41? Message #4 Posted by Miki Mihajlovic on 9 Nov 2004, 11:21 p.m., in response to message #3 by Mike (Stgt)
You were right Mike, bit 9 of word (n-1) controls the ROM PRIVATE status. I tested it with my ROM listing in the following manner:
E000 01F XROM NO.=31
E001 01E 30 FUNCTIONS
E002 000 FCT:INFOH 1
E003 048 ADR: E048
E004 200 FCT:`TEMP
E005 04B ADR: E04B
E006 200 FCT:`PRES
...
E04A 350 LD@PT- D
E04B 1CA A=A-C PT<-
E04C 000 NOP
...
So I changed 350 at address E04A to 250, left the rest unchanged and assembled the ROM again. Then, I was able to COPY 'TEMP program to RAM. The program was still showing as PRIVATE but this time is in the RAM so I can use the procedure described here to remove the PRIVATE flag and get the listing.
By the way Meindert's disassembler has done all this automatically.
1234
Edited: 9 Nov 2004, 11:22 p.m.
|