home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / crypl200.zip / BNLIB / BN68000.C < prev    next >
C/C++ Source or Header  |  1996-05-16  |  340b  |  23 lines

  1. /*
  2.  * bn68000.c - bnInit() for Motorola 680x0 family, 16 or 32-bit.
  3.  *
  4.  * Written in 1995 by Colin Plumb.
  5.  */
  6.  
  7. #include "lbn.h"
  8. #include "bn16.h"
  9. #include "bn32.h"
  10.  
  11. #ifndef BNINCLUDE
  12. #error You must define BNINCLUDE to lbn68000.h to use assembly primitives.
  13. #endif
  14.  
  15. void
  16. bnInit(void)
  17. {
  18.     if (is68020())
  19.         bnInit_32();
  20.     else
  21.         bnInit_16();
  22. }
  23.