Re: HP-71B KEYBOARD IS Directive Message #3 Posted by Vassilis Prevelakis on 5 Oct 2001, 11:26 p.m., in response to message #2 by Ellis Easley
I finally solved the problem. The data I was loading on
the hp71b had nothing to do with the keyboard.lex file.
Let me explain:
The files in the swap disk contain both the directory entry and the actual file. The first 32 bytes of the swap-file is the directory entry, while the rest is the actual file.
I manually separated the directory entry from the file and using the LIF utilities (from the same ftp site), I
transfered the actual file onto a floppy disk. (BTW I found that if you use a new PC floppy disk you have to cover the quad density hole - its the hole opposite to the write-protect hole). It is also more reliable to use the hp71b to format the floppy rather than the PC.
I then used the sector editor (again in the LIF utilities disk) to update the directory entry.
This is where I really screwed up, confusing the date field with the field that tells you where the data blocks are stored on the diskette. So when I asked the hp71b to copy file KEYBOARD from the diskette, the directory entry was correct but it loaded some other block from the diskette, thus crushing the hp71b.
Once I figured out the contents of each directory entry, the hp71b was successful in loading the file.
The information at the end of the HP-IL manual for the hp71b was invaluable (just remember the fields are NIBBLES, not bytes :-/ )
So the question is how do you do this tranfer automatically, without the risk of human error. Well these darn disks have 256 byte blocks! Although I did come across a version of the LIF utilites for Linux, they do not work under my Operating System (OpenBSD 2.9).
I'll be experimenting with the RS-232 to HP-IL converter, or with the diskette LIF utils to see if I can get this sorted out.
Vassilis
|