gt3398b@prism.gatech.EDU (DELANO,ANDREW DOUGLAS) (10/11/90)
I need to find a way to hex dup the entire memory contents (ROM) on the 48 out the serial port into a pc. I'm sure I need some sort of peek n poke. I'm not so sure what I'm doing yet so I could really use the help of the Mcode experts out there. Please email me everything that could help me in my quest. Remember, I want a hex dump of the ROM not the RAM. PLEASE HURRY!!!!!! Thanks, Andy -- DELANO,ANDREW DOUGLAS Georgia Institute of Technology, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt3398b Internet: gt3398b@prism.gatech.edu
madler@piglet.caltech.edu (Mark Adler) (10/11/90)
>> I need to find a way to hex dup the entire memory contents (ROM) >> on the 48 out the serial port into a pc. I'm sure I need some This operation is (oddly enough) already built into the HP. You can get into the memory scanner by hiiting ON-D (holding down the ON key and pressing the fourth key in the top row), and then backspace (the key just below 1/x, not the back cursor). Then pressing ENTER and divide (to the right of 9) will get you to address 00000. Then the SPC (space) key will dump 32K bytes (64K nybbles) to the serial port in hex, advancing the address to 10000 (note the address is in nybbles). Doing this seven more times will dump the entire 256K ROM to the serial port. I have reason to believe, but am not sure, that there is no flow control on the dump, so your PC had better be ready to take in the dump at the full 9600 baud (the rate cannot be changed). A few nybbles starting at address 00100 are hardware control registers and will change (I think around 16 nybbles), so don't be suprised when you dump again to check it if those bytes are different. Oh yeah---you need to do an ON-C to get the calculator out of the memory scanner and back to normal. Mark Adler madler@piglet.caltech.edu