home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / windr440.zip / windrive.zip / WinDriver / altera / pci_dev_kit / files.txt
File List  |  2000-03-30  |  3KB  |  65 lines

  1. ALTERA PCI Dev Kit directory contents:
  2.  
  3. LIB\ALTERA_LIB.C - Implementation of ALTERA_LIB.H.
  4.  
  5. LIB\ALTERA_LIB.H - Library for 'WinDriver for Altera' API. 
  6.     The basic idea is to get a handle for the board
  7.     with ALTERA_Open() and use it in the rest of the program
  8.     when calling ALTERA_xxxx() functions.  Call ALTERA_Close() when done.
  9.  
  10. DIAG\ALTERA_DIAG.C - A simple diagnostics program that lets you access the
  11.     Altera registers and local memory. 
  12.     o This program is meant to be used as an example for using the ALTERA_LIB.H API,
  13.       you may use it as a skeleton for your driver, or 'cut & paste' parts
  14.       of it into your device driver code.
  15.  
  16.  
  17.       The source code for this project was generated by WinDriver Wizard.
  18. To compile this application, you will need a Win32 compiler.
  19.  
  20. Files:
  21.   lib directory:
  22.   lib\ALTERA_lib.c
  23.       Library for 'WinDriver for ALTERA' API. 
  24.       The basic idea is to get a handle for the board
  25.       with ALTERA_Open() and use it in the rest of the program
  26.       when calling ALTERA_xxxx() functions.  Call ALTERA_Close() when done.
  27.   lib\ALTERA_lib.h
  28.       Header file of ALTERA_lib.c library.
  29.  
  30.   diag directory:
  31.   diag\ALTERA_diag.c
  32.       A simple diagnostics program that lets you access the
  33.       Altera registers and local memory. 
  34.       o This program is meant to be used as an example for using the 
  35.         ALTERA_lib.h API.
  36.         You may use it as a skeleton for your driver, or 'cut & paste' 
  37.         parts of it into your device driver code.
  38.  
  39.   diag\ALTERA_diag.mak
  40.       MS-Visual C++ 4.0 (and above) compatible make file.
  41.   diag\ALTERA_diag.mdp
  42.       MS-Visual C++ 4.0 (and above) compatible project file.
  43.   files.txt
  44.       Describes the files generated.
  45.  
  46. Compiling this project:
  47.   If you are using MS-Visual C++, then open the ALTERA_diag.mdp project file, and
  48.   compile.
  49.  
  50.   If using a different compiler:
  51.   - Create a new project. Choose console mode project.
  52.   - Include the following files in the project:
  53.       lib\ALTERA_lib.c
  54.       diag\ALTERA_diag.c
  55.       \windrvr\samples\shared\pci_diag_lib.c
  56.       \windrvr\samples\shared\print_struct.c
  57.  
  58. Converting to a GUI application:
  59.   This sample was written as a console mode application (rather than
  60.   a GUI application) that uses standard input and standard output.
  61.   This was done in order to simplify the source code. You may change it
  62.   into a GUI application by removing all calls to printf() and scanf()
  63.   functions, and calling MessageBox() instead.
  64.  
  65.