Post Reply 
How do I copy a a RAM-module from one 71B to another?
04-06-2016, 04:24 PM
Post: #5
RE: How do I copy a a RAM-module from one 71B to another?
(04-06-2016 11:06 AM)J-F Garnier Wrote:  Yes, you can use COPY from one HP71 to the other one...

Here is a program, from 1984, that uses this technique. Assuming you want to copy a file from 71-1 to 71-2, this will copy the file to main RAM.

1. Enter this program on machine 71-2
2. Connect the 2 HP-71s via HPIL.
3. Turn-on both machines
4. On 71-1 do "RESTORE IO"
5. On 71-2 do "RESTORE IO"
6. On 71-2 do "RUN FILECOPY" or whatever you call it
7. Follow the prompts

Code:

10 ! PROG TO TAKE A FILE FROM ANOTHER HP-71
20 ! ROBERT PROSPERI  5 MAY 1984
30 ON ERROR GOTO 140
40 INPUT "Source file name? ";S$
50 INPUT "Target file name? ",S$;D$
55 IF D$="" THEN D$=S$
60 CONTROL ON 
70 REMOTE :HP71
80 OUTPUT :HP71 ;"CONTROL OFF"
90 OUTPUT :HP71 ;"COPY "&S$&" TO :LOOP"
100 COPY :HP71 TO D$
110 LOCAL 
120 DISP "File transfer OK!"
130 GOTO 170 
140 E=ERRN @ E$=ERRM$ @ L=ERRL
150 DISP "Error ";E;" occurred at line ";L
160 DISP E$
170 STOP 
180 END

The program can obviously be shortened by combining lines, etc. but I left it as is to make it easy to follow.

Also, note that the source filename on 71-1 can include port information such as "PROGRAM:PORT(1)", but it will be copied to the same port if you don't change the target filename (where you could specify a different port, etc.) but be sure you have enough RAM wherever you copy to.

While this will let you copy any UNPROTECTED file, including the MATHLEX file, ROMCOPY may be a better option for ROM images.

HTH

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How do I copy a a RAM-module from one 71B to another? - rprosperi - 04-06-2016 04:24 PM



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