APPENDIX F: AMD9511 HARDWARE MATH CHIP INTERFACE

Below are the steps required to create a hardware floating point package which uses the 9511 AMD chip.

  1. Edit AMDIO.SRC, which is on your distribution disk, so that the constant definitions for the port addresses agree with your hardware configuration.
  2. Compile AMDIO.SRC.
  3. When using real numbers, instead of linking FPREALS, use the construct shown below:
        LINKMT <user modules>, AMD9511/F,PASLIB/S
    

    This uses the files listed in AMD9511.CMD (AMDIO, FPRTNS, REALIO, and TRAN9511) rather than FPREALS. Optionally, AMD9511X may be used instead of AMD9511 because it omits the transcendental and real number I/O libraries.

  4. If an early release of the 9511 chip is being used, declare @I95 as an external procedure and call it from the main program. This routine initializes the chip.
        EXTERNAL PROCEDURE @I95;