[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            ndp_id - identify the math coprocessor

  Syntax              int ndp_id(void);

  Prototype in        chiphk.h

  Remarks             ndp_id does some opcode magic to identify the
                      numerical data processor (math coprocessor as it's
                      commonly called.) If a math coprocessor is present,
                      ndp_id recognizes the 8087, 80287, and the 80387.

                      ndp_id does not check dip switches but uses the
                      recommended method of identifying a math chip by
                      opcode instructions.

  Return value        returns a value identifying the math coprocessor.
                      See chiphk.h for further details.

  Note                Other (not 8087, 287 or 387) chips will not be
                      identified correctly.

                      For some reason this function keeps crashing on my
                      machine. Consider this function under works, not
                      necessarily finished. If you figure out what the
                      problem is, please let me know. I hope to have it
                      bug free by the next release, but time is at a
                      premium.

  See also            cpu_id(), machine_id()


See Also: cpu_id() machine_id()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson