probing HP-IB devices on the HP-IPC

From: Vassilis Prevelakis <vp_at_mcs.drexel.edu>
Date: Tue Apr 9 02:58:52 2002

Hi,

For those of you following the saga of my attempts to resurrect my HP-IPC
here is the latest update.

I have managed to create diskettes that the IPC can read by using an
original 720kb PC compatible diskette drive and original double density
diskettes. I used OpenBSD (any Unix-like system should also work) and
the command dd if=IPC-IMAGE of=/dev/rfd0c to copy the images I downloaded
from the network to the floppy. Although some of the images did not work
first time (and OpenBSD refuses to write to IPC formatted diskettes) I
eventually managed to get most of the usefull files to IPC formatted
diskettes (by going through the IPC).

My next step is to see how to address HP-IB peripherals from the ROM BASIC.
I tried to use the following Series 80 program from the SERIES 80 HP-IB
Interface Owner's Manual

Original program:

   10 S=7 _at_ ! Variabe S is select code
   20 SET TIMEOUT S;500
   30 ON TIMEOUT S GOTO 100

   40 FOR I=0 TO 31
   50 DISP "SPOLL DEVICE # ";I
   60 S1=SPOLL(S*100+I)
   70 PRINT "DEVICE ";I;" PRESENT"
* 80 NEXT I
   90 STOP

* 100 ABORTIO 7
  110 PRINT "DEVICE ";I;" NOT PRESENT"
  120 GOTO 80
  130 END


To get it to run on the IPC I added the following 2 lines

   12 MASS STORAGE IS "/dev"
   14 ASSIGN 7 TO "hpib"

Now the program runs but reports all 32 devices as present(!)
I only have an HP-9122D dual diskette drive at address 1 and
an external printer at address 5.

Any clues?

Thanks

**vp
Received on Tue Apr 09 2002 - 02:58:52 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:34:29 BST