ALIFHDR documentation


ALIFHDR is a small utility to add the right 32-byte LIF header to a binary file created by the assembler/loader. This header is needed to load the file to the HP-71B with a COPY command.

Usage:
  ALIFHDR input_file LIF_file

e.g. for the JPC LEX:
Assume that The SLOAD utility creates the file JPCLEX.
The command:
  ALIFHDR jpclex jpclex.l71
will create the file jpclex.l71 ready for download to a HP-71B
(You can add this command in the bldjpc.bat batch file)

I recommend to use the extension ".l71", but this is not mandatory.

Note: ALIFHDR is a Win32 utility, it runs well in a Command box on all Windows systems. I'm providing the C++ source file.


--------------------------------------------------
Now, how to load the JPC LEX file to the HP-71B?
--------------------------------------------------

Method 1: use a HP82164 (HPIL/RS232 interface):
-----------------------------------------------
  After correct HP82164 setup, do "COPY :RS232 TO :PORT(x)" on the HP-71B,
  and send the jpc.l71 file from PC with your prefered communication tool.
  Sorry, I can't give more details, I just mention it because it *should* work,
  but I don't use this method.

Methods 2 to 4 using Emu71:
--------------------------
  * First, load the jpc.l71 file into Emu71. This can be easily done following these two steps:
    - copy jpc.l71 to emu_in.dat into the Emu71 working directory,
    - from Emu71, do "COPY :DOSLINK TO :PORT(x)",

  * Method 2 using the HP9114 drive:
    - Warning: this works only on PC with DOS or Windows9x, not with Win2000, XP, etc...
      Copy the jpc.l71 file from Emu71 to a formatted LIF disk using the PC floppy drive. Do:
      "COPY JPCLEX TO :FDRIVE1" on Emu71

  * Method 3 using the HP82164 HPIL/RS232 interface:
    - After correct setup of the RS232 link (see details on Emu71 page), do:
      "COPY :RS232 TO :PORT(x)" on HP-71B
      "COPY JPCLEX TO :SERIAL1" (for instance) on Emu71.

  * Method 4 using the HP82973 HPIL/PC board (you need a registered Emu71 version ...)
    After correct HPIL/PC board setup, and connection of an external HP-71B:
    - on HP-71B, do :
      "CONTROL OFF"
      "COPY :LOOP TO :PORT(x)"
    - on Emu71, do:
      "RESTORE IO"
      "COPY JPCLEX TO :HP71"

As you can see, there is no magic solution. You need either a HP9114 drive, or a HP82164 interface, or a HP82973 board.
