nds7.pp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. (*---------------------------------------------------------------------------------
  2. libnds Copyright (C) 2005
  3. Michael Noland (joat)
  4. Jason Rogers (dovoto)
  5. Dave Murphy (WinterMute)
  6. This software is provided 'as-is', without any express or implied
  7. warranty. In no event will the authors be held liable for any
  8. damages arising from the use of this software.
  9. Permission is granted to anyone to use this software for any
  10. purpose, including commercial applications, and to alter it and
  11. redistribute it freely, subject to the following restrictions:
  12. 1. The origin of this software must not be misrepresented; you
  13. must not claim that you wrote the original software. If you use
  14. this software in a product, an acknowledgment in the product
  15. documentation would be appreciated but is not required.
  16. 2. Altered source versions must be plainly marked as such, and
  17. must not be misrepresented as being the original software.
  18. 3. This notice may not be removed or altered from any source
  19. distribution.
  20. ----------------------------------------------------------------------------
  21. Free Pascal porting by Francesco Lombardi.
  22. ---------------------------------------------------------------------------------*)
  23. unit nds7;
  24. {$mode objfpc}
  25. {$apptype arm7}
  26. {$define arm7}
  27. {$J+}
  28. {$INLINE ON}
  29. {$MACRO ON}
  30. {$PACKRECORDS C}
  31. interface
  32. uses
  33. ctypes;
  34. {$linklib nds7}
  35. {$linklib c}
  36. {$linklib gcc}
  37. {$linklib g}
  38. {$linklib sysbase}
  39. {$define NDS_INTERFACE}
  40. {$include nds/ndsinclude.inc}
  41. {$undef NDS_INTERFACE}
  42. implementation
  43. {$define NDS_IMPLEMENTATION}
  44. {$include nds/ndsinclude.inc}
  45. {$undef NDS_IMPLEMENTATION}
  46. end.