Post Reply 
FRAM71B
01-22-2017, 02:02 PM
Post: #60
RE: FRAM71B
(11-01-2016 09:26 AM)Erwin Wrote:  I found the basic program R64KCOPY (chu06) but it is to get the checksum from existing ROMs in a port and needs a LEX-File "TRIM$" from STRINGLX. But in the basic program there is another LEX-file not present (XFN113004) - line 100 till 103 for the checksum - so it ends in an error. Looks like it was saved in the past without the necessary LEX present in the HP71. When the prog could be run I could get the data out of my DATCQ module.

Now I found the solution - with the help of Joe Horn's great the O.L.D project to searcher the XFN number and get the function or command: OLD Project
It is the 'HTA$' command. So the correction of the program looks like:
Code:
10 ! THIS PROGRAM COMPUTES CHECKSUMS FOR ROMCOPY FOR 64K IRAM
20 INPUT "Port?","5";P
21 P$=":PORT("&STR$(P)&")"
30 DIM A$[96]
31 I=1
40 A$=CAT$(I,P$) @ IF A$="" THEN 100
50 F$=TRIM$(A$[1,8]) @ B$=ADDR$(F$&P$) @ PRINT A$[1,8];" ";B$;
51 O1=HTD(B$) @ IF I=1 THEN O=O1-8 @ PRINT ELSE PRINT USING "X,5D.D";(O1-O)/2
52 IF O1-O>32768 AND O2=0 THEN O2=O1-O
53 IF O1-O>32768*2 AND O3=0 THEN O3=O1-O
60 I=I+1 @ GOTO 40
100 PRINT USING '"csum 1: ",6d,x,8a';30;HTA$(PEEK$(DTH$(O+8),18))
101 PRINT USING '"csum 2: ",6d,x,8a';O2+22;HTA$(PEEK$(DTH$(O+O2),18))
102 PRINT USING '"csum 3: ",6d,x,8a';O3+22;HTA$(PEEK$(DTH$(O+O3),18))
103 PRINT USING '"csum 4: ",6d,x,8a';O1-O+22;HTA$(PEEK$(DTH$(O1),18))
200 POKE DTH$(O+30),"00"
201 POKE DTH$(O+O2+22),"00"
202 POKE DTH$(O+O3+22),"00"
203 POKE DTH$(O1+22),"00"

maybe some could use it too - regards Erwin
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
FRAM71B - Hans Brueggemann - 05-22-2016, 08:26 AM
RE: FRAM71B - Sylvain Cote - 05-22-2016, 02:46 PM
RE: FRAM71B - Dave Frederickson - 05-25-2016, 07:16 PM
RE: FRAM71B - Dave Frederickson - 05-22-2016, 04:13 PM
RE: FRAM71B - Hans Brueggemann - 05-22-2016, 04:54 PM
RE: FRAM71B - Dave Frederickson - 05-22-2016, 05:14 PM
RE: FRAM71B - Hans Brueggemann - 05-22-2016, 07:09 PM
RE: FRAM71B - Dave Frederickson - 05-27-2016, 04:59 PM
FRAM71B HC ROM Feature - Dave Frederickson - 10-02-2016, 03:09 PM
RE: FRAM71B - Erwin - 10-05-2016, 10:45 AM
RE: FRAM71B - Dave Frederickson - 10-05-2016, 03:42 PM
RE: FRAM71B - Erwin - 10-05-2016, 07:36 PM
RE: FRAM71B - Dave Frederickson - 10-05-2016, 08:10 PM
RE: FRAM71B - Erwin - 10-05-2016, 08:25 PM
RE: FRAM71B - Sylvain Cote - 10-06-2016, 04:53 AM
RE: FRAM71B - Erwin - 10-06-2016, 06:24 AM
RE: FRAM71B - Dave Frederickson - 10-06-2016, 03:55 PM
RE: FRAM71B - Erwin - 10-06-2016, 05:41 PM
RE: FRAM71B - Dave Frederickson - 10-06-2016, 06:19 PM
RE: FRAM71B - Erwin - 10-06-2016, 07:43 PM
RE: FRAM71B - Dave Frederickson - 10-06-2016, 08:14 PM
RE: FRAM71B - Sylvain Cote - 10-06-2016, 07:03 PM
RE: FRAM71B - Erwin - 10-06-2016, 07:50 PM
RE: FRAM71B - Dave Frederickson - 10-07-2016, 11:21 PM
RE: FRAM71B - Sylvain Cote - 10-08-2016, 01:20 AM
RE: FRAM71B - Erwin - 10-08-2016, 06:59 AM
RE: FRAM71B - Sylvain Cote - 10-07-2016, 04:45 AM
RE: FRAM71B - Erwin - 10-07-2016, 07:10 AM
RE: FRAM71B - Sylvain Cote - 10-07-2016, 03:10 PM
RE: FRAM71B - rprosperi - 10-07-2016, 01:22 PM
RE: FRAM71B - Erwin - 10-07-2016, 03:04 PM
RE: FRAM71B - Dave Frederickson - 10-07-2016, 05:54 PM
RE: FRAM71B - Dave Frederickson - 10-08-2016, 03:35 PM
RE: FRAM71B - Sylvain Cote - 10-08-2016, 06:21 PM
RE: FRAM71B - Erwin - 10-08-2016, 08:21 PM
RE: FRAM71B - Erwin - 10-23-2016, 09:07 AM
RE: FRAM71B - rprosperi - 10-23-2016, 01:25 PM
RE: FRAM71B - Erwin - 11-01-2016, 09:26 AM
RE: FRAM71B - J-F Garnier - 11-01-2016, 10:13 AM
RE: FRAM71B - Erwin - 11-01-2016, 10:48 AM
RE: FRAM71B - rprosperi - 11-01-2016, 01:42 PM
RE: FRAM71B - Erwin - 11-01-2016, 02:14 PM
RE: FRAM71B - Dave Frederickson - 11-01-2016, 03:39 PM
RE: FRAM71B - Erwin - 01-22-2017, 10:18 AM
RE: FRAM71B - Erwin - 12-30-2016, 12:26 PM
RE: FRAM71B - rprosperi - 12-30-2016, 02:49 PM
RE: FRAM71B - Dave Frederickson - 12-30-2016, 06:57 PM
RE: FRAM71B - Erwin - 01-05-2017, 07:57 PM
RE: FRAM71B - Erwin - 01-22-2017 02:02 PM
RE: FRAM71B - Dave Frederickson - 01-22-2017, 05:30 PM
RE: FRAM71B - Erwin - 01-22-2017, 06:55 PM
RE: FRAM71B - Hans Brueggemann - 01-23-2017, 08:29 PM
RE: FRAM71B - Dave Frederickson - 01-23-2017, 09:11 PM
RE: FRAM71B - Erwin - 01-24-2017, 06:15 PM
RE: FRAM71B - Hans Brueggemann - 01-24-2017, 07:51 PM
RE: FRAM71B - physill - 11-22-2016, 10:53 PM
RE: FRAM71B - Dave Frederickson - 11-23-2016, 12:34 AM
RE: FRAM71B - physill - 11-24-2016, 05:55 PM
RE: FRAM71B - Dave Frederickson - 11-24-2016, 06:17 PM
RE: FRAM71B - Sylvain Cote - 12-30-2016, 07:55 PM
RE: FRAM71B - dayd - 01-17-2017, 09:07 AM
RE: FRAM71B - rprosperi - 01-17-2017, 03:01 PM
RE: FRAM71B - Hans Brueggemann - 01-17-2017, 09:11 PM
RE: FRAM71B - dayd - 01-22-2017, 04:22 AM
RE: FRAM71B - J-F Garnier - 01-17-2017, 05:07 PM
RE: FRAM71B - Erwin - 01-22-2017, 09:34 AM
RE: FRAM71B - Dave Frederickson - 01-22-2017, 07:06 PM
RE: FRAM71B - Erwin - 01-22-2017, 07:21 PM
RE: FRAM71B - Hans Brueggemann - 01-24-2017, 09:03 AM
RE: FRAM71B - Dave Frederickson - 01-24-2017, 04:34 PM
RE: FRAM71B - Hans Brueggemann - 01-24-2017, 07:33 PM
RE: FRAM71B - Dave Frederickson - 01-24-2017, 08:18 PM
RE: FRAM71B - Erwin - 01-25-2017, 06:54 PM
RE: FRAM71B - Hans Brueggemann - 01-25-2017, 07:47 PM
RE: FRAM71B - dayd - 02-01-2017, 10:20 PM



User(s) browsing this thread: