Post Reply 
FRAM71B
11-22-2016, 10:53 PM (This post was last modified: 11-22-2016 11:07 PM by physill.)
Post: #44
RE: FRAM71B
I hope this is the right place to post this question. If not let me know. Thanks.

I am unable to get around an Invalid Arg error in line 120 of SERTOSYS as shown on page 23 of the FRAM71B manual. I am using a PilBox (with the PIL-Box Bridge, ILPer and Video Interface) to attempt to load the file HP-71B_OS2CDCC_ROM.BIN to the FRAM71B to allow use of the 2cdcc operating system. Communication between the HP-71B hardware and the virtual components is working.

10 ! SERTOSYS SERIAL TO SYS
20 DIM A$[64]
30 INPUT "SYSWRT ENABLED? Y/N";V$ @ IF V$="N" THEN GOTO 20
40 DISP "START *.DMP UPLOAD"
50 S$="00000"
60 E$="1FFFF"
70 S=HTD(S$)
80 E=HTD(E$)
90 FOR I=S TO E STEP 64
100 ENTER :2 ;A$ @ IF I=S+64 THEN DISP "WRITING..." !:2 = 82164A Note that I am using ENTER :4 for the HDRIVE1.DAT file on ILPER
110 I$=DTH$(I)
120 POKE I$,A$
130 ! PRINT I$;": ";A$
140 NEXT I
150 DISP "DONE" @ BEEP
160 END

HP-71B_OS2CDCC_ROM.BIN is a file from one of the many pages I have obtained HP71 info from, perhaps a post on MoHPC. It was part of a link or ZIP file that contains the .BIN files for most if not all of the ROMs for the HP71b.

SERTOSYS uses variables I$ and A$ to contain a counter and the data read from the 2CDCC hex dump file, respectively.

The values that are put into the variables I$ and A$ on the first pass through the loop appear to be valid. Using the program HexEdit to view the contents of HP-71B_OS2CDCC_ROM.BIN and comparing to the value placed into variable A$ appears to show that the correct data is in the variable.

Line 120 POKE I$, A$: The HP-71b reference manual (error 11) implies that the correct data type is being used but lies outside the domain of definition of that function (POKE) The HP-IL manual (error 255056) implies that the error message is due to either the argument being out of the allowable range or the argument has a Directory Entry or Length that is improper. I am not really sure what is going on.

I do not have much experience with file operations on the HP71b and have never actually used any HP-IL peripheral hardware which may have educated me on how files are actually manipulated on the hardware.

I would appreciate any help that can be offered. I have not had any issues with the SERTORAM program on page 17 of the FRAM71b manual. Using that program educated me on how the ENTER statement works and I have been able with trial and error get various ROM images loaded onto the FRAM71b.

Thank you for the info on bank switching and other involved topics that I have yet to get to. I find this forum to be most helpful.

Mark W Smith
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: 1 Guest(s)