2
0

bn68000.c 465 B

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